Uploaded image for project: 'Lucee Development'
  1. LDEV-995

Performance Degradation with Unary Increment Operator

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.21, 4.5.4.013, 5.0.1.55
    • Fix Version/s: 4.5.4.014, 5.0.1.57
    • Labels:

      Description

      Performance degradation appeared first in Railo 4.2.0.007 and still affects all versions of Lucee.

      See screenshot showing a simple for loop:

      i++ @ 875,000 micros
      for (i=0; i<numIterations; i++) {}
      
      i=i+1 @ 531,250 micros
      for (i=0; i<numIterations; i=i+1) {}
      

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              21solutions Igal Sapir
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: