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

Implement Better, Faster, Non-Broken Caching #1

Merged
merged 15 commits into from
Feb 25, 2023

Conversation

Dreamie-TMC
Copy link
Collaborator

With Myth's most recent change to the logic dependencies we now have a 0% failure rate over 200 generated seeds, one with max random and one with default. As such, I am deeming this ready for merge and ready for release.

Timing statistics and graphs to compare caching seed generation times to non-caching generation times: https://docs.google.com/spreadsheets/d/e/2PACX-1vSB_SEeE4E-EuLKdTtmWwHusvP5526LNViuxj8_89M3X6AtNh2kNzSnwKzS0PJbAxRR0rsEmfLS_plZ/pubhtml

Overall average performance improvement for max random settings - 90%
Overall average performance improvement for default settings - 97.5%

Hendrus shuffler speedup - 50k permutations down from 12 minutes to 6 seconds, total improvement of 99.2% or a 120x speedup!

Additionally, this patch added CLI support for command files. Before this gets merged I want to update the readme with the commands for this file for people to use. There are a few settings that are currently only available with the command files that need to be documented.

…der, this is everything that is changed by that
… a 2-way dependency tree after parse, and update the shuffler to work with this parse. Spoilers currently broken
…oss seeds even if the setting is changed so long as the randomizer isn't restarted.
…en-caching

# Conflicts:
#	MinishCapRandomizerCLI/Program.cs
#	RandomizerCore/Randomizer/Shuffler.cs
…ut and removed old testing breakpoint statement from shuffler
@Dreamie-TMC
Copy link
Collaborator Author

This can now be merged 👍

@Catobat Catobat merged commit c12142c into 0.7-dev Feb 25, 2023
@Dreamie-TMC Dreamie-TMC deleted the implement-non-broken-caching branch February 25, 2023 19:27
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