chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Guillaume (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-948) WSConverter.convertCalendar is slow
Date Fri, 11 Sep 2015 10:15:47 GMT
Florent Guillaume created CMIS-948:
--------------------------------------

             Summary: WSConverter.convertCalendar is slow
                 Key: CMIS-948
                 URL: https://issues.apache.org/jira/browse/CMIS-948
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-commons
            Reporter: Florent Guillaume
            Priority: Minor
             Fix For: OpenCMIS 0.14.0


{{WSConverter.convertCalendar}} appears heavily in some profiling traces.

{{WSConverter.convertCalendar}} uses {{DatatypeFactory.newInstance()}} every time but calling
this is known to be quite slow under current JVMs because it does heavy classloading (http://stackoverflow.com/questions/7346508/datatypefactory-usage-in-creating-xmlgregoriancalendar-hits-performance-badly).

We should use one of the recommended solutions to avoid this.



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

Mime
View raw message