Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2011 09:11
Show Gist options
  • Save anonymous/951335 to your computer and use it in GitHub Desktop.
Save anonymous/951335 to your computer and use it in GitHub Desktop.
~/projects/jruby ➔ jruby --server -rbenchmark -Xcompile.invokedynamic=true -J-XX:MaxInlineSize=150 -J-XX:InlineSmallCode=3000 bench/language/bench_attr_assign.rb 5
user system total real
1m native attr asgns 1.856000 0.000000 1.856000 ( 1.794000)
1m native attr reads 0.387000 0.000000 0.387000 ( 0.387000)
1m ruby attr asgns 0.968000 0.000000 0.968000 ( 0.968000)
1m ruby attr reads 0.287000 0.000000 0.287000 ( 0.287000)
user system total real
1m native attr asgns 0.484000 0.000000 0.484000 ( 0.484000)
1m native attr reads 0.211000 0.000000 0.211000 ( 0.211000)
1m ruby attr asgns 0.492000 0.000000 0.492000 ( 0.492000)
1m ruby attr reads 0.151000 0.000000 0.151000 ( 0.151000)
user system total real
1m native attr asgns 0.300000 0.000000 0.300000 ( 0.300000)
1m native attr reads 0.184000 0.000000 0.184000 ( 0.184000)
1m ruby attr asgns 0.288000 0.000000 0.288000 ( 0.288000)
1m ruby attr reads 0.151000 0.000000 0.151000 ( 0.151000)
user system total real
1m native attr asgns 0.302000 0.000000 0.302000 ( 0.302000)
1m native attr reads 0.184000 0.000000 0.184000 ( 0.185000)
1m ruby attr asgns 0.269000 0.000000 0.269000 ( 0.269000)
1m ruby attr reads 0.154000 0.000000 0.154000 ( 0.154000)
user system total real
1m native attr asgns 0.299000 0.000000 0.299000 ( 0.299000)
1m native attr reads 0.189000 0.000000 0.189000 ( 0.189000)
1m ruby attr asgns 0.275000 0.000000 0.275000 ( 0.276000)
1m ruby attr reads 0.153000 0.000000 0.153000 ( 0.153000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment