Skip to content

Instantly share code, notes, and snippets.

@benwilson512
Created November 2, 2018 16:46
Show Gist options
  • Save benwilson512/94a705954fd793cdaf5839556093dc75 to your computer and use it in GitHub Desktop.
Save benwilson512/94a705954fd793cdaf5839556093dc75 to your computer and use it in GitHub Desktop.
##### With input Large | large precision #####
Name ips average deviation median 99th %
erlang 339.10 K 2.95 μs ±713.66% 3 μs 6 μs
built in 246.23 K 4.06 μs ±325.32% 4 μs 9 μs
Comparison:
erlang 339.10 K
built in 246.23 K - 1.38x slower
##### With input Large | med precision #####
Name ips average deviation median 99th %
erlang 431.35 K 2.32 μs ±964.09% 2 μs 4 μs
built in 273.76 K 3.65 μs ±359.20% 3 μs 6 μs
Comparison:
erlang 431.35 K
built in 273.76 K - 1.58x slower
##### With input Large | small precision #####
Name ips average deviation median 99th %
erlang 482.67 K 2.07 μs ±1045.70% 2 μs 4 μs
built in 333.98 K 2.99 μs ±607.59% 3 μs 5 μs
Comparison:
erlang 482.67 K
built in 333.98 K - 1.45x slower
##### With input Medium | large precision #####
Name ips average deviation median 99th %
erlang 379.60 K 2.63 μs ±733.94% 2 μs 5 μs
built in 222.50 K 4.49 μs ±335.99% 4 μs 16 μs
Comparison:
erlang 379.60 K
built in 222.50 K - 1.71x slower
##### With input Medium | med precision #####
Name ips average deviation median 99th %
erlang 454.76 K 2.20 μs ±975.89% 2 μs 4 μs
built in 259.15 K 3.86 μs ±325.88% 4 μs 7 μs
Comparison:
erlang 454.76 K
built in 259.15 K - 1.75x slower
##### With input Medium | small precision #####
Name ips average deviation median 99th %
erlang 527.19 K 1.90 μs ±1187.75% 2 μs 3 μs
built in 328.13 K 3.05 μs ±578.88% 3 μs 5 μs
Comparison:
erlang 527.19 K
built in 328.13 K - 1.61x slower
##### With input Trivial | large precision #####
Name ips average deviation median 99th %
erlang 391.33 K 2.56 μs ±872.04% 2 μs 5 μs
built in 255.04 K 3.92 μs ±467.12% 4 μs 7 μs
Comparison:
erlang 391.33 K
built in 255.04 K - 1.53x slower
##### With input Trivial | med precision #####
Name ips average deviation median 99th %
erlang 476.00 K 2.10 μs ±889.99% 2 μs 4 μs
built in 277.97 K 3.60 μs ±499.87% 3 μs 6 μs
Comparison:
erlang 476.00 K
built in 277.97 K - 1.71x slower
##### With input Trivial | small precision #####
Name ips average deviation median 99th %
erlang 541.55 K 1.85 μs ±1104.67% 2 μs 3 μs
built in 357.36 K 2.80 μs ±643.06% 3 μs 4 μs
Comparison:
erlang 541.55 K
built in 357.36 K - 1.52x slower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment