JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-2180

break performance is slower than MRI, sometimes slower than interpreted

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.1RC2
    • Fix Version/s: JRuby 1.2
    • Component/s: Compiler
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Ruby:
      control, five short while loops  0.140000   0.000000   0.140000 (  0.145039)
      control, five whiles with blocks  0.320000   0.000000   0.320000 (  0.318974)
      five whiles that break          0.210000   0.000000   0.210000 (  0.239146)
      control, five whiles with blocks  0.430000   0.000000   0.430000 (  0.431001)
      
      JRuby interpreted:
      control, five short while loops  0.156000   0.000000   0.156000 (  0.155000)
      control, five whiles with blocks  0.331000   0.000000   0.331000 (  0.332000)
      five whiles that break          0.457000   0.000000   0.457000 (  0.457000)
      control, five whiles with blocks  1.027000   0.000000   1.027000 (  1.027000)
      
      JRuby compiled:
      control, five short while loops  0.050000   0.000000   0.050000 (  0.049000)
      control, five whiles with blocks  0.269000   0.000000   0.269000 (  0.269000)
      five whiles that break          0.047000   0.000000   0.047000 (  0.046000)
      control, five whiles with blocks  0.782000   0.000000   0.782000 (  0.782000)
      

        Activity

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Charles Oliver Nutter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: