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 a built-in benchmark tool #50451

Open
dhh opened this issue Dec 27, 2023 · 1 comment
Open

Add a built-in benchmark tool #50451

dhh opened this issue Dec 27, 2023 · 1 comment
Milestone

Comments

@dhh
Copy link
Member

dhh commented Dec 27, 2023

We should have a simple, built-in benchmark mechanism for people to evaluate different computing platforms. Whether they be cloud VMs, Raspberry Pis, or 96-core state-of-the-art owned server hardware. Think Geekbench or Speedometer. Run a big test suite, on a single machine, produce one comparable number. "Oh, that new box we got? It does 3,456 on the Rails Speedrun!!".

Easily comparable numbers make for better comparisons make for better buying decisions.

@dhh dhh added this to the 8.0.0 milestone Dec 27, 2023
@nickjj
Copy link
Contributor

nickjj commented Jan 28, 2024

I really like this, what do you envision the scope of this being?

For example:

  • A clone'able demo app that Rails maintains which has all of these tests set up and ready to go where someone interested in comparing these numbers could clone the repo on a box and run a command to run the benchmarks?
  • A new library within Rails that makes it easy to write custom performance tests and benchmarks for your custom app
  • Something else?

The first option is interesting because it could be used to help create "real world'ish" performance regression tests for Rails itself.

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

No branches or pull requests

2 participants