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

Performance issue in XalanTransformer.transform()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.10
    • None
    • XalanC
    • None
    • Windows

    Description

      We use Xalan 1.10 and Xerces 2.7 in our code built in C++ on Windows OS.
      One of our customers who upgraded from previous version of our product to the latest in suite is facing performance issue in Xalan transform.
      Between two versions of our product, the Xalan and Xerces have been upgraded. We tried to compare the time taken for transform with respective versions of Xalan that we used in our products, for the same xml and style sheets. The result is as below:

      With Xalan 1.6 and Xerces 2.3
      Xalan -t -o pdp.out Calendar.xml ConvertCalendarsToPdp_1.xsl
      Source tree parsing time: 668.791 milliseconds.
      Stylesheet compilation time: 89.449 milliseconds.
      Transformation time: 324617.921 milliseconds. (5.41 minutes)

      With Xalan 1.10 and Xerces 2.7
      Xalan -t -o pdp.out Calendar.xml ConvertCalendarsToPdp_1.xsl
      Source tree parsing time: 71.238 milliseconds.
      Stylesheet compilation time: 14.367 milliseconds.
      Transformation time: 3477100.2128 milliseconds. (57.95 minutes)

      Please suggest how we could improve the transform time. Does it require code change at our end?
      Please let us know.

      Attachments

        Activity

          People

            shathaway Steven J. Hathaway
            radhika Radhika Nair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: