Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1200

Optimize UIMA AS XMI Cas serialization by reusing an instance of a XML Parser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      Current UIMA AS code creates an instance of XML parser for every CAS serialization/deserialization. Profiling revealed that creating a parser is CPU intensive. To avoid this create one or more instances of XML parser once and pool it for reuse.

      Attachments

        1. uimaj-as-jms-UIMA-1200-patch.txt
          4 kB
          Jaroslaw Cwiklik
        2. uimaj-as-core-UIMA-1200-patch.txt
          13 kB
          Jaroslaw Cwiklik
        3. uimaj-as-activemq-UIMA-1200-patch.txt
          3 kB
          Jaroslaw Cwiklik

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: