diff --git a/lib/benchee/configuration.ex b/lib/benchee/configuration.ex index 7ecbb9e8..f63c3dc9 100644 --- a/lib/benchee/configuration.ex +++ b/lib/benchee/configuration.ex @@ -47,7 +47,7 @@ defmodule Benchee.Configuration do print: map, inputs: %{Suite.key => any} | nil, formatter_options: map, - unit_scaling: Scale.best_unit_strategy, + unit_scaling: Scale.scaling_strategy, assigns: map, before_each: fun | nil, after_each: fun | nil, diff --git a/lib/benchee/conversion/scale.ex b/lib/benchee/conversion/scale.ex index a5c56340..ae911c5f 100644 --- a/lib/benchee/conversion/scale.ex +++ b/lib/benchee/conversion/scale.ex @@ -12,7 +12,7 @@ defmodule Benchee.Conversion.Scale do @type unit_atom :: atom @type any_unit :: unit | unit_atom @type scaled_number :: {number, unit} - @type best_unit_strategy :: :best | :largest | :smallest | :none + @type scaling_strategy :: :best | :largest | :smallest | :none @doc """ Scales a number in a domain's base unit to an equivalent value in the best