Skip to content

Instantly share code, notes, and snippets.

@nacengineer
Last active August 29, 2015 14:14
Show Gist options
  • Save nacengineer/dc2a3814e0197eb39c80 to your computer and use it in GitHub Desktop.
Save nacengineer/dc2a3814e0197eb39c80 to your computer and use it in GitHub Desktop.
# using https://gist.github.com/agrimm/1053502 on Mac Pro 2014
=begin
ruby-1.8.7-head 1.8.7
==============================
user system total real
Block (0) 0.210000 0.000000 0.210000 ( 0.215018)
Pre-exing proc (0) 0.240000 0.000000 0.240000 ( 0.232736)
New Symbol#to_proc (0) 0.360000 0.000000 0.360000 ( 0.360474)
Old Symbol#to_proc (0) 1.370000 0.060000 1.430000 ( 1.441742)
Block (1) 0.280000 0.010000 0.290000 ( 0.281118)
Pre-exing proc (1) 0.390000 0.000000 0.390000 ( 0.385510)
New Symbol#to_proc (1) 0.510000 0.000000 0.510000 ( 0.515653)
Old Symbol#to_proc (1) 1.390000 0.060000 1.450000 ( 1.458768)
Block (10) 0.860000 0.000000 0.860000 ( 0.856204)
Pre-exing proc (10) 1.690000 0.000000 1.690000 ( 1.695127)
New Symbol#to_proc (10) 1.800000 0.000000 1.800000 ( 1.804806)
Old Symbol#to_proc (10) 2.610000 0.010000 2.620000 ( 2.620622)
Block (100) 6.240000 0.050000 6.290000 ( 6.288721)
Pre-exing proc (100) 14.350000 0.030000 14.380000 ( 14.411209)
New Symbol#to_proc (100) 14.320000 0.050000 14.370000 ( 14.404354)
Old Symbol#to_proc (100) 15.070000 0.030000 15.100000 ( 15.134701)
ruby-2.1.5 2.1.5
==============================
user system total real
Block (0) 0.040000 0.000000 0.040000 ( 0.037181)
Pre-exing proc (0) 0.040000 0.000000 0.040000 ( 0.039448)
New Symbol#to_proc (0) 0.130000 0.000000 0.130000 ( 0.133747)
Old Symbol#to_proc (0) 0.060000 0.000000 0.060000 ( 0.057105)
Block (1) 0.070000 0.000000 0.070000 ( 0.072120)
Pre-exing proc (1) 0.070000 0.000000 0.070000 ( 0.072642)
New Symbol#to_proc (1) 0.170000 0.000000 0.170000 ( 0.165321)
Old Symbol#to_proc (1) 0.090000 0.000000 0.090000 ( 0.090165)
Block (10) 0.460000 0.010000 0.470000 ( 0.465545)
Pre-exing proc (10) 0.420000 0.000000 0.420000 ( 0.427252)
New Symbol#to_proc (10) 0.520000 0.000000 0.520000 ( 0.523392)
Old Symbol#to_proc (10) 0.440000 0.010000 0.450000 ( 0.442453)
Block (100) 3.520000 0.050000 3.570000 ( 3.578742)
Pre-exing proc (100) 3.140000 0.040000 3.180000 ( 3.182916)
New Symbol#to_proc (100) 3.270000 0.050000 3.320000 ( 3.337857)
Old Symbol#to_proc (100) 3.150000 0.050000 3.200000 ( 3.205986)
ruby-2.2.0 2.2.0
==============================
user system total real
Block (0) 0.040000 0.000000 0.040000 ( 0.038284)
Pre-exing proc (0) 0.040000 0.000000 0.040000 ( 0.042361)
New Symbol#to_proc (0) 0.130000 0.000000 0.130000 ( 0.138502)
Old Symbol#to_proc (0) 0.070000 0.000000 0.070000 ( 0.061418)
Block (1) 0.070000 0.000000 0.070000 ( 0.077587)
Pre-exing proc (1) 0.080000 0.000000 0.080000 ( 0.072875)
New Symbol#to_proc (1) 0.170000 0.000000 0.170000 ( 0.178592)
Old Symbol#to_proc (1) 0.100000 0.000000 0.100000 ( 0.095698)
Block (10) 0.460000 0.010000 0.470000 ( 0.471489)
Pre-exing proc (10) 0.430000 0.000000 0.430000 ( 0.430382)
New Symbol#to_proc (10) 0.560000 0.000000 0.560000 ( 0.565230)
Old Symbol#to_proc (10) 0.460000 0.010000 0.470000 ( 0.460507)
Block (100) 3.480000 0.050000 3.530000 ( 3.544208)
Pre-exing proc (100) 3.120000 0.050000 3.170000 ( 3.178688)
New Symbol#to_proc (100) 3.370000 0.060000 3.430000 ( 3.428072)
Old Symbol#to_proc (100) 3.140000 0.060000 3.200000 ( 3.209431)
=end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment