You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/02/07 13:05:00 UTC

[jira] [Commented] (GROOVY-10471) Performance regression for XmlBuilder from groovy3

    [ https://issues.apache.org/jira/browse/GROOVY-10471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488082#comment-17488082 ] 

Paul King commented on GROOVY-10471:
------------------------------------

I thought I might be able to observe a difference between 3.0.9 classic and indy and that might explain some of the difference but I noticed a similar trend even though the bytecode produced by 3.0.9 indy and 4.0.0 for the XmlBuilderBench class is essentially the same. We'll need to look deeper.

> Performance regression for XmlBuilder from groovy3
> --------------------------------------------------
>
>                 Key: GROOVY-10471
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10471
>             Project: Groovy
>          Issue Type: Bug
>          Components: XML Processing
>    Affects Versions: 4.0.0
>         Environment: Fedora 35, CPU: i7-3770
>            Reporter: Andriy Rysin
>            Priority: Major
>              Labels: perfomance
>         Attachments: XmlBuilderBench.groovy
>
>
> $ {color:#000000}groovy -version {color}
> Groovy Version: 3.0.9 JVM: 11.0.14 Vendor: Red Hat, Inc. OS: Linux
> {color:#000000}$ groovy XmlBuilderBench.groovy  {color}
> time: 6649
> {color:#000000}$ ~/bin/groovy-4.0.0/bin/groovy XmlBuilderBench.groovy         {color}
> time: 14498
> {color:#000000}$ JAVA_HOME=$HOME/bin/jdk-17.0.2 ~/bin/groovy-4.0.0/bin/groovy  XmlBuilderBench.groovy          {color}
> time: 16414



--
This message was sent by Atlassian Jira
(v8.20.1#820001)