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

Performance issue in XalanTransformer.transform()

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.10
    • Fix Version/s: None
    • Component/s: XalanC
    • Labels:
    • Environment:


      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.




            • Assignee:
              shathaway Steven J. Hathaway
              radhika Radhika Nair


              • Created:

                Issue deployment