Guest User

Untitled

a guest
May 17th, 2020
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 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: 30 s
  17. memory time: 5 s
  18. parallel: 1
  19. inputs: Large map
  20. Estimated total run time: 2.25 min
  21.  
  22. Benchmarking :maps.fold with input Large map...
  23. Benchmarking Enum.reduce with input Large map...
  24. Benchmarking IterReduce.iter_reduce with input Large map...
  25.  
  26. ##### With input Large map #####
  27. Name ips average deviation median 99th %
  28. IterReduce.iter_reduce 3.53 283.18 ms ±17.52% 289.68 ms 402.31 ms
  29. :maps.fold 3.30 303.22 ms ±12.54% 299.51 ms 376.28 ms
  30. Enum.reduce 3.29 304.38 ms ±13.85% 305.96 ms 385.31 ms
  31.  
  32. Comparison:
  33. IterReduce.iter_reduce 3.53
  34. :maps.fold 3.30 - 1.07x slower +20.04 ms
  35. Enum.reduce 3.29 - 1.07x slower +21.20 ms
  36.  
  37. Memory usage statistics:
  38.  
  39. Name Memory usage
  40. IterReduce.iter_reduce 114.46 MB
  41. :maps.fold 114.41 MB - 1.00x memory usage -0.05033 MB
  42. Enum.reduce 114.39 MB - 1.00x memory usage -0.07177 MB
  43.  
  44. **All measurements for memory usage were the same**
Advertisement
Add Comment
Please, Sign In to add comment