Skip to content

Commit

Permalink
Change percentiles type in Measurements to :map
Browse files Browse the repository at this point in the history
- Currently there is a bug on ecto when parsing fields of type {:map, :float}
with exponential notation. This is a temporary solution to have the benchmarks
results being displayed correctly.

Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
  • Loading branch information
tallysmartins committed Aug 6, 2018
1 parent 424f013 commit fbcfa0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir_bench/benchmarks/measurement.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule ElixirBench.Benchmarks.Measurement do
field :ips, :float
field :std_dev_ips, :float

field :percentiles, {:map, :float}
field :percentiles, :map

timestamps(type: :utc_datetime)
end
Expand Down

0 comments on commit fbcfa0b

Please sign in to comment.