Skip to content

Commit c6ade0e

Browse files
committed
Format adjustments
1 parent 2d9ef4a commit c6ade0e

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

lib/benchee/conversion.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ defmodule Benchee.Conversion do
1818
## Examples
1919
2020
iex> statistics = %Benchee.Statistics{average: 1_000_000.0, ips: 1000.0}
21-
...>
21+
...>
2222
...> scenario = %Benchee.Scenario{
2323
...> run_time_data: %Benchee.CollectionData{statistics: statistics},
2424
...> memory_usage_data: %Benchee.CollectionData{statistics: statistics},
2525
...> reductions_data: %Benchee.CollectionData{statistics: statistics}
2626
...> }
27-
...>
27+
...>
2828
...> Benchee.Conversion.units([scenario], :best)
2929
%{
3030
ips: %Benchee.Conversion.Unit{

lib/benchee/formatters/console.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ defmodule Benchee.Formatters.Console do
7878
...> memory_usage_data: %Benchee.CollectionData{statistics: %Benchee.Statistics{}}
7979
...> }
8080
...> ]
81-
...>
81+
...>
8282
...> suite = %Benchee.Suite{
8383
...> scenarios: scenarios,
8484
...> configuration: %Benchee.Configuration{
8585
...> unit_scaling: :best
8686
...> }
8787
...> }
88-
...>
88+
...>
8989
...> format(suite, %{comparison: false, extended_statistics: false})
9090
[
9191
[

lib/benchee/formatters/console/run_time.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ defmodule Benchee.Formatters.Console.RunTime do
3535
3636
```
3737
iex> memory_statistics = %Benchee.Statistics{average: 100.0}
38-
...>
38+
...>
3939
...> scenarios = [
4040
...> %Benchee.Scenario{
4141
...> name: "My Job",
@@ -72,7 +72,7 @@ defmodule Benchee.Formatters.Console.RunTime do
7272
...> memory_usage_data: %Benchee.CollectionData{statistics: memory_statistics}
7373
...> }
7474
...> ]
75-
...>
75+
...>
7676
...> configuration = %{comparison: false, unit_scaling: :best, extended_statistics: true}
7777
...> format_scenarios(scenarios, configuration)
7878
[

lib/benchee/scenario.ex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ defmodule Benchee.Scenario do
116116
iex> scenario = %Benchee.Scenario{
117117
...> run_time_data: %Benchee.CollectionData{statistics: %Benchee.Statistics{sample_size: 1}}
118118
...> }
119-
...>
119+
...>
120120
...> measurement_data(scenario, :run_time)
121121
%Benchee.CollectionData{statistics: %Benchee.Statistics{sample_size: 1}}
122122
@@ -125,7 +125,7 @@ defmodule Benchee.Scenario do
125125
...> statistics: %Benchee.Statistics{sample_size: 2}
126126
...> }
127127
...> }
128-
...>
128+
...>
129129
...> measurement_data(scenario, :memory)
130130
%Benchee.CollectionData{statistics: %Benchee.Statistics{sample_size: 2}}
131131
@@ -134,7 +134,7 @@ defmodule Benchee.Scenario do
134134
...> statistics: %Benchee.Statistics{sample_size: 3}
135135
...> }
136136
...> }
137-
...>
137+
...>
138138
...> measurement_data(scenario, :reductions)
139139
%Benchee.CollectionData{statistics: %Benchee.Statistics{sample_size: 3}}
140140
@@ -167,7 +167,7 @@ defmodule Benchee.Scenario do
167167
...> statistics: %Benchee.Statistics{sample_size: 100}
168168
...> }
169169
...> }
170-
...>
170+
...>
171171
...> data_processed?(scenario, :run_time)
172172
true
173173
@@ -176,7 +176,7 @@ defmodule Benchee.Scenario do
176176
...> statistics: %Benchee.Statistics{sample_size: 1}
177177
...> }
178178
...> }
179-
...>
179+
...>
180180
...> data_processed?(scenario, :memory)
181181
true
182182
@@ -185,7 +185,7 @@ defmodule Benchee.Scenario do
185185
...> statistics: %Benchee.Statistics{sample_size: 1}
186186
...> }
187187
...> }
188-
...>
188+
...>
189189
...> data_processed?(scenario, :reductions)
190190
true
191191
@@ -194,7 +194,7 @@ defmodule Benchee.Scenario do
194194
...> statistics: %Benchee.Statistics{sample_size: 0}
195195
...> }
196196
...> }
197-
...>
197+
...>
198198
...> data_processed?(scenario, :memory)
199199
false
200200
"""

0 commit comments

Comments
 (0)