You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bb0927b
Browse filesBrowse the repository at this point in the historyBrowse files
CI does the same after every run: the site is attached to the run as the
123
123
`site-preview` artifact, and published to GitHub Pages from `main`.
124
124
125
+
Those results only compare idioms inside one Ruby: in CI each Ruby runs on its own machine.
126
+
The site's "Across Rubies" view compares Rubies, so every build has to run on one machine.
127
+
`script/run_cross_ruby.rb` (Ruby 3 on your machine, it calls Docker) does that, and runs the newest released MRI again after every 3 builds, so the site can show how steady the machine was.
`ruby script/run_cross_ruby.rb --help` lists the options.
136
+
The builds are the ones in the CI matrix (`.github/workflows/benchmarks.yml`), so a new Ruby added there and in `compose.yaml` is measured too, and once released it becomes both the reference and the Ruby the site opens on.
137
+
CI runs every build on every file once a week, split over 6 machines (`.github/workflows/benchmarks-cross-ruby.yml`).
138
+
On an Apple silicon Mac, leave out `ruby_2.1` and `jruby_9.1` (they run under emulation, so their numbers are not comparable) and `ruby_3.1+yjit` (Ruby 3.1's YJIT only exists on x86-64).
139
+
125
140
## Benchmarks that need a newer Ruby
126
141
127
142
CI runs every benchmark on every Ruby in `compose.yaml`, back to Ruby 2.1, and
0 commit comments