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: Optimize ItemHandler lore soft matching #2440

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

kristofbolyai
Copy link
Collaborator

@kristofbolyai kristofbolyai commented Apr 29, 2024

With this PR, I am starting a new branch, to collect some performance patches, I'll be working on in the upcoming days.

Test

Join the same 5 classes, in order, then open the trade market, and scroll 10 pages.

Results

Type Old New
Memory 525 MB 0 B (-100%)
CPU 146 1 (-99.3%)

Verification

Ran the old and new algorithm side-by-side, performed the same tests as the benchmark, no assertions triggered (the two methods produced identical results).

@kristofbolyai kristofbolyai merged commit cbd8e1e into performance-update Apr 30, 2024
1 check passed
@kristofbolyai kristofbolyai deleted the item-handler-optimize branch April 30, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants