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: config/locales/en.yml
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,11 @@ en:
30
30
"%{category}" does not have any results. Please select another
31
31
Benchmark Type.
32
32
view_github: View on Github
33
-
run_locally_tip: You can run this benchmark locally using the <code>rubybench_runner</code> gem. More details <a href="%{path}">here</a>.
33
+
run_locally_tip: |
34
+
<p>You can run this benchmark locally using the <code>rubybench_runner</code> gem:</p>
35
+
<pre>gem install rubybench_runner
36
+
rubybench_runner run rails/%{script}</pre>
37
+
More details <a href="%{path}">here</a>.
34
38
35
39
index:
36
40
commits_benchmark: Commits Benchmarks
@@ -92,7 +96,10 @@ en:
92
96
</li>
93
97
<li>Pick one of the <a href="https://rubybench.org/rails/rails/commits">available rails benchmarks</a> and copy the GitHub link of the script (it's the "View on Github" button).</li>
94
98
<li>Run:
95
-
<pre>rubybench_runner run rails <script_url> <path_to_rails_clone></pre>
99
+
<pre>rubybench_runner run rails/<script_name> --rails=/path/to/rails</pre>
100
+
You can get <code>script_name</code> from the page of the benchmark that you want to run at rubybench.org.
101
+
<br>
102
+
If you have Rails cloned in your home directory, you can omit the <code>--rails</code> flag.
96
103
</li>
97
104
<li>If the benchmark requires a database server, then you need to specify the <code>--db</code> option. Run <code>rubybench_runner --help</code> for details.</li>
0 commit comments