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

Add rbx_binary Miner's Haven benchmark and readme #473

Merged

Conversation

kennethloeffler
Copy link
Member

@kennethloeffler kennethloeffler commented Nov 2, 2024

This PR adds a benchmark for Miner's Haven, a real-world Roblox game that is open sourced at https://github.com/berezaa/minershaven. It's representative of workloads rbx_binary will see most often.

It also adds a readme that documents how the benchmark suite works and how to use it.

Criterion.rs documentation states that "SmallInput indicates that the
input to the benchmark routine [...] is small enough that millions of
values can be safely held in memory." 1KB seems like a good cutoff
to use to start using LargeInput, if we take "millions of values" to
mean ~3,000,000.
@kennethloeffler kennethloeffler force-pushed the miners-haven-benchmark-readme branch from f67f4ca to 038fe75 Compare November 2, 2024 12:49
@kennethloeffler kennethloeffler merged commit 1ba0051 into rojo-rbx:master Nov 3, 2024
3 checks passed
@kennethloeffler kennethloeffler deleted the miners-haven-benchmark-readme branch November 3, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants