File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bench/benchmark-interface Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ Supported backends are:
160
160
#### Simple looping
161
161
162
162
Simple looping does the simplest thing possible and runs your benchmark in a
163
- loop printing the iterations per second as it goes. By default it runs for
163
+ loop printing the iterations per second as it goes. By default, it runs for
164
164
10s, printing the time every second, but you can use options like ` --time 60 `
165
165
to run for 60 seconds, and ` --freq 0.1 ` to print ten times a second.
166
166
@@ -170,7 +170,7 @@ and the elapsed time since the benchmark started with the `--elapsed` flag.
170
170
#### ` bm ` and ` bmbm `
171
171
172
172
` bm ` and ` bmbm ` only run your benchmark once when timing, which isn't what
173
- benchmarks written for ` benchmark-ips ` expect. Therefore if a benchmark takes
173
+ benchmarks written for ` benchmark-ips ` expect. Therefore, if a benchmark takes
174
174
less than a tenth of a second it is run several times so that it takes about a
175
175
second. The number of iterations is the same for all benchmarks in the same set
176
176
and is printed as the set starts.
You can’t perform that action at this time.
0 commit comments