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

A lot of optimization (234% faster!) #69

Merged
merged 18 commits into from
Aug 29, 2023
Merged

Conversation

henriquegemignani
Copy link
Member

BEFORE:
starter preset: 10.6s
april fools: 13.2s

AFTER:
starter preset: 3.169s
april fools: 5.46s

Door Lock rando has a very slow O(n^3) path filtering which can be fixed in so many ways :P

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch coverage: 92.15% and project coverage change: +1.02% 🎉

Comparison is base (1d4d53d) 71.24% compared to head (9da482f) 72.27%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   71.24%   72.27%   +1.02%     
==========================================
  Files          54       55       +1     
  Lines        2817     2950     +133     
==========================================
+ Hits         2007     2132     +125     
- Misses        810      818       +8     
Files Changed Coverage Δ
...rc/mercury_engine_data_structures/formats/bmsas.py 93.02% <ø> (ø)
src/mercury_engine_data_structures/formats/brem.py 85.71% <0.00%> (-1.79%) ⬇️
src/mercury_engine_data_structures/formats/bres.py 85.71% <0.00%> (-1.79%) ⬇️
src/mercury_engine_data_structures/formats/brev.py 85.71% <0.00%> (-1.79%) ⬇️
src/mercury_engine_data_structures/formats/brsa.py 76.47% <0.00%> (-1.31%) ⬇️
...mercury_engine_data_structures/file_tree_editor.py 46.40% <28.57%> (-1.97%) ⬇️
src/mercury_engine_data_structures/game_check.py 67.04% <90.00%> (+6.75%) ⬆️
src/mercury_engine_data_structures/common_types.py 79.39% <100.00%> (+5.39%) ⬆️
...ngine_data_structures/construct_extensions/enum.py 96.00% <100.00%> (+1.00%) ⬆️
...tructures/construct_extensions/function_complex.py 100.00% <100.00%> (ø)
... and 9 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@henriquegemignani henriquegemignani added this pull request to the merge queue Aug 29, 2023
Merged via the queue into main with commit 21b11c8 Aug 29, 2023
7 checks passed
@henriquegemignani henriquegemignani deleted the feature/optimization branch August 29, 2023 10:00
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.

2 participants