You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Tadas Krivickas (JIRA)" <ji...@apache.org> on 2016/06/23 12:11:16 UTC

[jira] [Created] (GROOVY-7873) Regression performance issue in string methods

Tadas Krivickas created GROOVY-7873:
---------------------------------------

             Summary: Regression performance issue in string methods
                 Key: GROOVY-7873
                 URL: https://issues.apache.org/jira/browse/GROOVY-7873
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 2.4.7
            Reporter: Tadas Krivickas
            Priority: Critical


Starting with 2.4.7, performance in string processing (in certain scenarios) has decreased dramatically. In our app it was from tens ms to 1+ minute. I suspect the latest refactoring in string methods.

Attaching a test case.

{code}
R2D2:groovystrperf tadaskay$ /usr/local/Cellar/groovy/2.4.7/bin/groovy test.groovy
Took 1456 ms
R2D2:groovystrperf tadaskay$ /usr/local/Cellar/groovy/2.4.5/bin/groovy test.groovy
Took 43 ms
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)