Guest User

Untitled

a guest
May 17th, 2020
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. $ mix bench
  2. Compiling 1 file (.ex)
  3. Not all of your protocols have been consolidated. In order to achieve the
  4. best possible accuracy for benchmarks, please ensure protocol
  5. consolidation is enabled in your benchmarking environment.
  6.  
  7. Operating System: Linux
  8. CPU Information: Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
  9. Number of Available Cores: 8
  10. Available memory: 15.52 GB
  11. Elixir 1.10.3
  12. Erlang 23.0
  13.  
  14. Benchmark suite executing with the following configuration:
  15. warmup: 10 s
  16. time: 10 s
  17. memory time: 5 s
  18. parallel: 1
  19. inputs: Small map
  20. Estimated total run time: 1.25 min
  21.  
  22. Benchmarking :maps.fold with input Small map...
  23. Benchmarking Enum.reduce with input Small map...
  24. Benchmarking IterReduce.iter_reduce with input Small map...
  25.  
  26. ##### With input Small map #####
  27. Name ips average deviation median 99th %
  28. IterReduce.iter_reduce 748.84 K 1.34 μs ±2768.76% 0.94 μs 2.97 μs
  29. :maps.fold 674.12 K 1.48 μs ±2657.87% 1.08 μs 3.33 μs
  30. Enum.reduce 639.52 K 1.56 μs ±2401.52% 1.19 μs 3.27 μs
  31.  
  32. Comparison:
  33. IterReduce.iter_reduce 748.84 K
  34. :maps.fold 674.12 K - 1.11x slower +0.148 μs
  35. Enum.reduce 639.52 K - 1.17x slower +0.23 μs
  36.  
  37. Memory usage statistics:
  38.  
  39. Name Memory usage
  40. IterReduce.iter_reduce 1.23 KB
  41. :maps.fold 1.29 KB - 1.04x memory usage +0.0547 KB
  42. Enum.reduce 1.29 KB - 1.04x memory usage +0.0547 KB
  43.  
  44. **All measurements for memory usage were the same**
Advertisement
Add Comment
Please, Sign In to add comment