core
core copied to clipboard
feat: add `EventAnalyzer` dev tool
Explanation
We found out during perf improvements that a lot of controller's event we're sending the same values multiple times, causing reactivity among other controllers subscribers, and thus causing some perf issues.
Here, I'm adding a small dev tool that can help analyzing events to track duplicated event values and give some stats about it.
This could be then integrated into dev builds of both clients to help us identify those unnecessary events and help each teams to fix them.
References
N/A
Changelog
N/A
Checklist
- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
- [ ] I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
- [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes