Guest User

Untitled

a guest
Jun 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. ~/projects/jruby ➔ ../jruby-1.5.2/bin/jruby --1.9 -X+C --server -rbenchmark -e "10.times { puts Benchmark.measure { f = Fiber.new { 1000000.times { Fiber.yield } }; 1000000.times { f.resume } } }"
  2. 13.684000 0.000000 13.684000 ( 13.565000)
  3. 13.076000 0.000000 13.076000 ( 13.076000)
  4. 12.807000 0.000000 12.807000 ( 12.807000)
  5. 12.677000 0.000000 12.677000 ( 12.677000)
  6. 12.774000 0.000000 12.774000 ( 12.774000)
  7. 12.708000 0.000000 12.708000 ( 12.708000)
  8. 12.806000 0.000000 12.806000 ( 12.806000)
  9. 12.688000 0.000000 12.688000 ( 12.688000)
  10. 12.694000 0.000000 12.694000 ( 12.694000)
  11. 12.729000 0.000000 12.729000 ( 12.729000)
  12.  
  13. ~/projects/jruby ➔ jruby --1.9 -X+C --server -rbenchmark -e "10.times { puts Benchmark.measure { f = Fiber.new { 1000000.times { Fiber.yield } }; 1000000.times { f.resume } } }" 0.604000 0.000000 0.604000 ( 0.493000)
  14. 0.421000 0.000000 0.421000 ( 0.421000)
  15. 0.326000 0.000000 0.326000 ( 0.326000)
  16. 0.320000 0.000000 0.320000 ( 0.320000)
  17. 0.349000 0.000000 0.349000 ( 0.350000)
  18. 0.356000 0.000000 0.356000 ( 0.357000)
  19. 0.427000 0.000000 0.427000 ( 0.427000)
  20. 0.399000 0.000000 0.399000 ( 0.399000)
  21. 0.344000 0.000000 0.344000 ( 0.344000)
  22. 0.394000 0.000000 0.394000 ( 0.394000)
  23.  
  24. ~/projects/jruby ➔ ../ruby/ruby1.9.2 -rbenchmark -e "10.times { puts Benchmark.measure { f = Fiber.new { 1000000.times { Fiber.yield } }; 1000000.times { f.resume } } }"
  25. 1.520000 0.010000 1.530000 ( 1.531244)
  26. 1.500000 0.000000 1.500000 ( 1.528080)
  27. 1.490000 0.000000 1.490000 ( 1.503375)
  28. 1.480000 0.010000 1.490000 ( 1.497984)
  29. 1.500000 0.010000 1.510000 ( 1.548153)
  30. 1.500000 0.000000 1.500000 ( 1.507885)
  31. 1.500000 0.000000 1.500000 ( 1.504895)
  32. 1.510000 0.010000 1.520000 ( 1.570512)
  33. 1.490000 0.000000 1.490000 ( 1.502377)
  34. 1.490000 0.010000 1.500000 ( 1.501016)
Add Comment
Please, Sign In to add comment