Skip to content

Instantly share code, notes, and snippets.

@PragTob
Created September 19, 2019 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PragTob/2f80886fcde208e2dc0de348c6da4410 to your computer and use it in GitHub Desktop.
Save PragTob/2f80886fcde208e2dc0de348c6da4410 to your computer and use it in GitHub Desktop.
Operating System: Linux
CPU Information: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Number of Available Cores: 8
Available memory: 15.61 GB
Elixir 1.9.1
Erlang 22.0
Benchmark suite executing with the following configuration:
warmup: 2 s
time: 5 s
memory time: 0 ns
parallel: 1
inputs: none specified
Estimated total run time: 14 s
Benchmarking iodata...
Benchmarking string...
Name ips average deviation median 99th %
iodata 9.78 M 102.20 ns ±34015.52% 43 ns 123 ns
string 9.44 M 105.95 ns ±26506.04% 61 ns 193 ns
Comparison:
iodata 9.78 M
string 9.44 M - 1.04x slower +3.75 ns
Extended statistics:
Name minimum maximum sample size mode
iodata 23 ns 55879478 ns 7.15 M 53 ns
string 47 ns 51419909 ns 6.98 M 61 ns
Operating System: Linux
CPU Information: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Number of Available Cores: 8
Available memory: 15.61 GB
Elixir 1.9.1
Erlang 22.0
Benchmark suite executing with the following configuration:
warmup: 2 s
time: 5 s
memory time: 0 ns
parallel: 1
inputs: none specified
Estimated total run time: 14 s
Benchmarking iodata...
Benchmarking string...
Name ips average deviation median 99th %
iodata 1.62 M 0.62 μs ±6378.98% 0.56 μs 0.86 μs
string 0.60 M 1.66 μs ±913.58% 1.22 μs 2.98 μs
Comparison:
iodata 1.62 M
string 0.60 M - 2.69x slower +1.04 μs
Extended statistics:
Name minimum maximum sample size mode
iodata 0.23 μs 36017.83 μs 3.44 M 0.58 μs
string 1.15 μs 12261.18 μs 1.96 M 1.20 μs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment