element-hq / element-hq/element-web
`StopGapWidget#feedEvent` runs processing on events from every room
Open
A-Documentation
A-Performance
A-Widgets
T-Task
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
`StopGapWidget#feedEvent` appears to track timeline positions, clone events, etc. for all rooms, even though nearly all widgets only care about the current room.
We should likely test at the beginning of the method to see whether this widget can actually receive events from a given room, and if not (the common case) abort early.
Contributor guide
Assessment
This issue has not been assessed yet.