benchmark.fyi GitHub

Share benchmark results as a link

Run your benchmark-ips benchmark with one extra environment variable and get a URL you can paste into an issue, a pull request, or a blog post.

How to use it
$ gem install benchmark-ips
$ SHARE=1 ruby my_benchmark.rb
Shared at: https://ips.fastruby.io/2Bq

Requires benchmark-ips 2.6.0 or greater. Add x.compare! to your benchmark for the times-slower column.

I shared a benchmark, how do I find it?

The URL is printed in your terminal after the run. Share it with friends, enemies, whoever.

Can I run my own instance?

Yes. Point benchmark-ips at it with SHARE_URL instead of SHARE, and it posts there rather than here.

The site is ugly, how can I make it nicer?

Send a pull request to github.com/fastruby/benchmark.fyi with your changes.

I have a great idea to improve benchmark.fyi!

Excellent. Open an issue or send a pull request to github.com/fastruby/benchmark.fyi.