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
Copy file name to clipboardExpand all lines: test/benchmarks/README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,13 @@ The reference traces are stored via Git LFS so the repository stays lightweight.
6
6
7
7
At the moment there is a single benchmark (`heavy_work`) that exercises a mixture of array and hash operations while computing prime numbers. More benchmarks will be added as we expand the suite.
8
8
9
-
Use `run_benchmarks.rb --write-report=console BENCHMARKS_DIR` to execute a single benchmark and print the runtime. Passing a path ending with `.json` or `.svg` will run all benchmarks and write a report in the chosen format.
9
+
Use `run_benchmarks.rb` to execute the benchmarks. The first argument is a glob
10
+
pattern that selects which benchmark(s) to run. For example, to run the
11
+
`heavy_work` benchmark and print the timings to the console:
0 commit comments