Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp our event system for performance #18167

Open
tsteur opened this issue Oct 17, 2021 · 0 comments
Open

Revamp our event system for performance #18167

tsteur opened this issue Oct 17, 2021 · 0 comments
Labels
c: Performance For when we could improve the performance / speed of Matomo.

Comments

@tsteur
Copy link
Member

tsteur commented Oct 17, 2021

In various profile runs we noticed our event system is very slow. In particular the EventDispatcher::postEvent() method. Eg in a typical cron:archive process we spent around 8% CPU in there, in an actual archiving request > 5%. There's a lot of repetitive work where it feels we should be doing this work only once and maybe some things could be made more explicit.

@tsteur tsteur added the c: Performance For when we could improve the performance / speed of Matomo. label Oct 17, 2021
@tsteur tsteur added this to the Priority Backlog (Help wanted) milestone Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Performance For when we could improve the performance / speed of Matomo.
Projects
None yet
Development

No branches or pull requests

1 participant