Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-948

WSConverter.convertCalendar is slow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • OpenCMIS 0.14.0
    • opencmis-commons
    • None

    Description

      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.

      Attachments

        Activity

          People

            fmui Florian Müller
            fguillaume Florent Guillaume
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: