Bottleneck in Message Buffers
walmat opened this issue · 0 comments
walmat commented
Describe the bug
One trace I've found when looking for bottlenecks was that the message buffer from the task manager is constantly looking for updates and overflows the event handler because of this.
To Reproduce
Steps to reproduce the behavior:
- Throw a
console.error('transferring messages!')
statement here - Launch development mode:
yarn dev-server
&&yarn dev
- Run 1 task
- View how many times the log prints out (will be inside of the launcher.html console)
- Repeat 1-5 with 50 tasks
Expected behavior
This bottleneck area should not cause any performance issues 😄
Screenshots
N/A - Can't be captured in a sreenshot
Desktop (please complete the following information):
- OS: All
- Service: Frontend + Task Runner
- Version: 1.2.38+
Additional context
This is just one problem area that I've traced, it probably extends further back to the event emission done by the task manager itself even..