Skip to content

Instantly share code, notes, and snippets.

@miura1729
Created September 22, 2011 14:15
Show Gist options
  • Save miura1729/1234873 to your computer and use it in GitHub Desktop.
Save miura1729/1234873 to your computer and use it in GitHub Desktop.
bash-3.2$ ruby -v
ruby 1.9.3dev (2010-10-28 trunk 29618) [i386-cygwin]
bash-3.2$ ytl -v
ytl 0.0.4 (ytljit 0.0.8)
Open failed 2 handlebash-3.2$ date
Thu Sep 22 23:11:21 2011
bash-3.2$ rake bench
user system total real
bm_so_binary_trees.rb
ytl 18.720000 1.682000 20.417000 ( 20.944000)
ytl compile 2.417000 1.871000 4.288000 ( 4.463000)
ytl unboxed 7.534000 2.151000 9.685000 ( 9.960000)
ruby 58.125000 0.357000 58.498000 ( 59.555000)
user system total real
bm_so_matrix.rb
ytl 34.896000 1.745000 36.641000 ( 37.163000)
ytl compile 2.604000 1.869000 4.488000 ( 4.877000)
ytl unboxed 34.569000 1.840000 36.441000 ( 36.973000)
ruby 177.512000 0.357000 177.962000 (181.644000)
user system total real
bm_so_array.rb
ytl 4.195000 1.886000 6.081000 ( 6.399000)
ytl compile 2.027000 1.746000 3.773000 ( 4.034000)
ytl unboxed 4.149000 1.777000 5.926000 ( 6.279000)
ruby 9.390000 0.264000 9.654000 ( 10.407000)
user system total real
bm_so_ackermann.rb
ytl 2.246000 1.620000 3.882000 ( 4.145000)
ytl compile 1.606000 1.730000 3.352000 ( 3.647000)
ytl unboxed 2.167000 1.652000 3.913000 ( 4.378000)
ruby 5.896000 0.217000 6.113000 ( 6.251000)
user system total real
bm_so_concatenate.rb
ytl 4.898000 1.839000 6.752000 ( 6.927000)
ytl compile 1.497000 1.699000 3.227000 ( 3.441000)
ytl unboxed 4.944000 1.886000 6.861000 ( 7.049000)
ruby 2.495000 0.311000 2.806000 ( 3.070000)
user system total real
bm_so_random.rb
ytl 2.697000 1.590000 4.287000 ( 4.472000)
ytl compile 1.404000 1.777000 3.212000 ( 3.382000)
ytl unboxed 2.681000 1.668000 4.349000 ( 4.505000)
ruby 2.230000 0.311000 2.557000 ( 2.777000)
user system total real
bm_so_object.rb
ytl 3.805000 1.761000 5.581000 ( 5.846000)
ytl compile 1.950000 1.636000 3.586000 ( 3.824000)
ytl unboxed 2.355000 1.777000 4.132000 ( 4.288000)
ruby 6.129000 0.248000 6.377000 ( 6.602000)
user system total real
bm_so_nested_loop.rb
ytl 3.556000 1.777000 5.349000 ( 5.544000)
ytl compile 1.996000 1.698000 3.725000 ( 3.847000)
ytl unboxed 3.571000 1.744000 5.362000 ( 5.541000)
ruby 7.783000 0.310000 8.109000 ( 8.322000)
user system total real
bm_so_sieve.rb
ytl 1.637000 1.698000 3.382000 ( 3.547000)
ytl compile 1.419000 1.823000 3.257000 ( 3.464000)
ytl unboxed 1.699000 1.667000 3.382000 ( 3.526000)
ruby 0.622000 0.232000 0.885000 ( 1.007000)
user system total real
bm_so_partial_sums.rb
ytl 15.755000 1.854000 17.609000 ( 18.563000)
ytl compile 1.808000 1.760000 3.584000 ( 3.858000)
ytl unboxed 15.927000 1.808000 17.735000 ( 18.810000)
ruby 36.581000 0.263000 36.844000 ( 37.652000)
user system total real
bm_so_mandelbrot.rb
ytl 6.191000 1.761000 7.952000 ( 8.204000)
ytl compile 2.994000 1.902000 4.911000 ( 5.133000)
ytl unboxed 5.927000 1.979000 7.938000 ( 8.273000)
ruby 38.001000 0.357000 38.358000 ( 39.672000)
user system total real
bm_so_nbody.rb
ytl 26.582000 2.026000 28.654000 ( 29.827000)
ytl compile 4.398000 1.824000 6.222000 ( 6.350000)
ruby 26.348000 0.233000 26.596000 ( 27.126000)
user system total real
bm_app_pentomino.rb
ytl 190.274000 1.980000 192.333000 (196.711000)
ytl compile 77.032000 2.089000 79.121000 ( 81.235000)
ruby 283.157000 0.794000 283.967000 (292.425000)
user system total real
ao-render.rb
ytl 316.493000 2.120000 318.722000 (323.680000)
ytl compile 4.617000 2.073000 6.690000 ( 6.940000)
ruby 840.595000 1.356000 842.169000 (867.290000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment