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

Improve performance of archive state detection #22815

Merged
merged 4 commits into from
Dec 9, 2024
Merged

Improve performance of archive state detection #22815

merged 4 commits into from
Dec 9, 2024

Conversation

mneudert
Copy link
Member

@mneudert mneudert commented Dec 2, 2024

Description:

Checking for complete/incomplete archives is more computationally expensive than it needs to be. This PR aims to lower the overhead by e.g. not using full Site objects (that are itself dispatching an event in the constructor).

Refs DEV-18679

Review

@mneudert mneudert added c: Performance For when we could improve the performance / speed of Matomo. Needs Review PRs that need a code review labels Dec 2, 2024
@mneudert mneudert added this to the 5.2.0 milestone Dec 2, 2024
@mneudert mneudert requested a review from a team December 2, 2024 12:58
@sgiehl sgiehl modified the milestones: 5.2.0, 5.3.0 Dec 9, 2024
@mneudert mneudert merged commit 825e285 into 5.x-dev Dec 9, 2024
25 of 26 checks passed
@mneudert mneudert deleted the dev-18679 branch December 9, 2024 19:21
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. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants