File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ Add missing files
187
187
* 1 minor fix:
188
188
* Don't send label through printf so that % work directly
189
189
190
- * 1 documenation changes:
190
+ * 1 documentation changes:
191
191
* Use HEREDOC and wrap at 80 chars for example result description
192
192
193
193
* 1 usage fix:
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def compare(*entries, order: :fastest)
64
64
sorted = entries . sort_by { |e | e . stats . central_tendency } . reverse
65
65
baseline = sorted . shift
66
66
else
67
- raise ArgumentError , "Unknwon order: #{ order . inspect } "
67
+ raise ArgumentError , "Unknown order: #{ order . inspect } "
68
68
end
69
69
70
70
$stdout. puts "\n Comparison:"
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ def time_us before, after
203
203
( after . to_f - before . to_f ) * MICROSECONDS_PER_SECOND
204
204
end
205
205
206
- # Calculate the interations per second given the number
206
+ # Calculate the iterations per second given the number
207
207
# of cycles run and the time in microseconds that elapsed.
208
208
# @param [Integer] cycles Cycles.
209
209
# @param [Integer] time_us Time in microsecond.
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def samples
62
62
63
63
# Control if the total time the job took is reported.
64
64
# Typically this value is not significant because it's very
65
- # close to the expected time, so it's supressed by default.
65
+ # close to the expected time, so it's suppressed by default.
66
66
def show_total_time!
67
67
@show_total_time = true
68
68
end
@@ -115,7 +115,7 @@ def header
115
115
@label . to_s . rjust ( 20 )
116
116
end
117
117
118
- # Return string repesentation of Entry object.
118
+ # Return string representation of Entry object.
119
119
# @return [String] Header and body.
120
120
def to_s
121
121
"#{ header } #{ body } "
You can’t perform that action at this time.
0 commit comments