Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-556

Major performance issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: CurrentCVS
    • Component/s: XalanC
    • Labels:
      None

      Description

      I recently switched from xalan-c 1.4 (with xerces-c 2.1.0) to xalanc-c 1.9 (xerces-c 2.6.0) for compatibility reasons with some of our supported linux platforms.
      No more compilation/link issues now with version 1.9 but it appears that this version is MUCH slower than 1.4, at least with the xml & xsl files I deal with...
      I did some tests with different sizes for my xml file, using Xalan.exe from the command line:
      92 kb xml: approx. 1.5s for xalan-c 1.9 (approx. 2s for version 1.4)
      491kb: 10s (3s for v1.4)
      937kb: 21s (4s)
      1128kb: 33s (4s)
      1505kb: 1m25s (4s)
      ...
      ...
      14655kb: 1h27m (22s) !!!

      The xsl uses two xsl:key for Muenchian grouping. Nothing especially tricky, at least for other processors like xalan-c 1.4 and saxon...
      I had a look to the xalan-c mailing list archive and open bugs but found nothing on performance aspects...

        Attachments

        1. small_dict.xml
          37 kB
          Yves Monier
        2. dict2xelda.xsl
          5 kB
          Yves Monier

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ymonier Yves Monier
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: