Block construction/instantiation is slower in compiled than interpreted
-----------------------------------------------------------------------
Key: JRUBY-2650
URL: http://jira.codehaus.org/browse/JRUBY-2650
Project: JRuby
Issue Type: Bug
Components: Compiler
Affects Versions: JRuby 1.1.2
Reporter: Charles Oliver Nutter
Assignee: Charles Oliver Nutter
Fix For: JRuby 1.1.3
>From test/bench/language/bench_block_arg.rb
Compiled:
{noformat}
10m calls with no block, no arg 2.617000 0.000000 2.617000 (
2.616000)
10m calls with block, no arg 5.105000 0.000000 5.105000 (
5.105000)
10m falls with no block, arg 2.284000 0.000000 2.284000 (
2.284000)
10m falls with block arg 8.970000 0.000000 8.970000 (
8.970000)
{noformat}
Interpreted:
{noformat}
10m calls with no block, no arg 2.908000 0.000000 2.908000 (
2.909000)
10m calls with block, no arg 3.939000 0.000000 3.939000 (
3.939000)
10m falls with no block, arg 3.131000 0.000000 3.131000 (
3.131000)
10m falls with block arg 7.760000 0.000000 7.760000 (
7.759000)
{noformat}
MRI:
{noformat}
10m calls with no block, no arg 3.220000 0.020000 3.240000 (
3.479519)
10m calls with block, no arg 3.890000 0.020000 3.910000 (
3.950704)
10m falls with no block, arg 3.460000 0.030000 3.490000 (
3.518330)
10m falls with block arg 43.010000 0.400000 43.410000 (
47.150517)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email