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

perf: improve memory performance of match ticker #5320

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

Rathoz
Copy link
Collaborator

@Rathoz Rathoz commented Jan 14, 2025

Summary

Improves memory performance of the match ticker, and also ensures that it will always find results (well, limiting it to 20 queries)

How did you test this change?

Functionally works.
Is more efficient when it comes to post filters (can actually retrieve all matches up to limit). And does that without breaking the memory bank.
As example, just as efficient on all wikis. With a region filter with which exists 45 matches in the future of on LoL, new version could find them all, while existing version only fetched 35.

Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, waiting for test results :)

@Rathoz Rathoz added the c: match_ticker match2 based match ticker label Jan 15, 2025
@Rathoz Rathoz requested a review from hjpalpha January 15, 2025 11:40
@Rathoz Rathoz force-pushed the perf-match-ticker-mem branch from fb011b1 to 3a95222 Compare January 15, 2025 11:49
@Rathoz Rathoz merged commit 3ac6b63 into main Jan 15, 2025
5 checks passed
@Rathoz Rathoz deleted the perf-match-ticker-mem branch January 15, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: match_ticker match2 based match ticker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants