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

Create Level Generation Benchmark #48

Open
sunjay opened this issue Oct 30, 2018 · 0 comments
Open

Create Level Generation Benchmark #48

sunjay opened this issue Oct 30, 2018 · 0 comments
Projects

Comments

@sunjay
Copy link
Owner

sunjay commented Oct 30, 2018

We should have a benchmark for the amount of time it takes to generate the 10 levels of the game. Use criterion.rs.

There are quite a few big opportunities for optimization that weren't taken for the sake of just getting things working at first. For example we currently regenerate the entire rooms graph every time when we should really only do it once and then keep it up to date. There are lots of such examples throughout the code and someone just needs to put in the effort to think about it.

@sunjay sunjay added this to To do in Caves Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Caves
  
To do
Development

No branches or pull requests

1 participant