Skip to content

Instantly share code, notes, and snippets.

@headius
Created August 1, 2008 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/3705 to your computer and use it in GitHub Desktop.
Save headius/3705 to your computer and use it in GitHub Desktop.
~/NetBeansProjects/jruby ➔ jruby -X-C --server test/bench/bench_fib_recursive.rb 10
1.014000 0.000000 1.014000 ( 1.014428)
0.994000 0.000000 0.994000 ( 0.993519)
0.950000 0.000000 0.950000 ( 0.950080)
0.941000 0.000000 0.941000 ( 0.940958)
0.890000 0.000000 0.890000 ( 0.889348)
0.876000 0.000000 0.876000 ( 0.875789)
0.875000 0.000000 0.875000 ( 0.875409)
0.879000 0.000000 0.879000 ( 0.879723)
0.875000 0.000000 0.875000 ( 0.875625)
0.874000 0.000000 0.874000 ( 0.874155)
~/NetBeansProjects/jruby ➔ ../jruby-1_1_3/bin/jruby -X-C --server test/bench/bench_fib_recursive.rb 10
1.091000 0.000000 1.091000 ( 1.090970)
1.121000 0.000000 1.121000 ( 1.120341)
1.046000 0.000000 1.046000 ( 1.045646)
1.031000 0.000000 1.031000 ( 1.031160)
0.982000 0.000000 0.982000 ( 0.982614)
0.973000 0.000000 0.973000 ( 0.972521)
0.973000 0.000000 0.973000 ( 0.972561)
0.968000 0.000000 0.968000 ( 0.968429)
0.980000 0.000000 0.980000 ( 0.979972)
0.970000 0.000000 0.970000 ( 0.970045)
~/NetBeansProjects/jruby ➔ /opt/local/bin/ruby test/bench/bench_fib_recursive.rb 3
1.510000 0.010000 1.520000 ( 1.535807)
1.510000 0.010000 1.520000 ( 1.539725)
1.510000 0.010000 1.520000 ( 1.541589)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment