You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Adomas Birstunas (Jira)" <ji...@apache.org> on 2023/03/31 15:55:00 UTC

[jira] [Updated] (SANTUARIO-595) Performance issue in 3.0.1 (and 2.3.2) while signing XML with many references

     [ https://issues.apache.org/jira/browse/SANTUARIO-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adomas Birstunas updated SANTUARIO-595:
---------------------------------------
    Attachment: caseA_flightNoXalan.jfr
                caseB_flightWithXalan.jfr
                caseC_flightXalan.jfr

> Performance issue in 3.0.1 (and 2.3.2) while signing XML with many references
> -----------------------------------------------------------------------------
>
>                 Key: SANTUARIO-595
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-595
>             Project: Santuario
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: Java 3.0.1, Java 2.3.2
>         Environment: java11
>            Reporter: Adomas Birstunas
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>         Attachments: XmlsecPerformanceTest.java, caseA_flightNoXalan.jfr, caseB_flightWithXalan.jfr, caseC_flightXalan.jfr
>
>
> XML signing and verification takes unacceptable long time if signature uses many references to the simple XML file.
> Using earlier xmlsec versions issue was fixed by including xalan library to the classpath.
> From xmlsec version 3.0.1 (and 2.3.2) this fix does not work any more.
> Therefore,
> with xmlsec version 3.0.0 and xalan (version 2.7.2) in the classpath signing and verification takes less 1s,
> and, for the same signature, with xmlsec version 3.0.1 and xalan (version 2.7.2) in the classpath, signing and verification takes more than 10s.
> It is unacceptable time for the rather simple signature.
> Test which illustrates this performance issue is attached.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)