Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8910

Improve the performance of the new Parrot parser

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-4
    • None
    • None

    Description

      statementExpression rule is very inefficient, we should merge expression into commandExpression to reduce looking ahead.

      The attached file cost 5.7s on parsing before tuning but cost only 2.5s after tuning.

      Attachments

        1. onload_from_slack.groovy
          6 kB
          Daniel Sun

        Activity

          People

            daniel_sun Daniel Sun
            daniel_sun Daniel Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: