Project

Profile

Help

Bug #2929

closed

Performance regression for whitespace stripping in 9.7

Added by Thomas Åkesson about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Sprint/Milestone:
-
Start date:
2016-09-08
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

Description

I have started testing upgrade from 9.6.0-7 to 9.7.0-8 in our Java application.

We are using extension functions which are registered like:

			processor = new Processor(false);
			for (ExtensionFunctionDefinition f : extensionFunctions) {
				processor.registerExtensionFunction(f);
			}

In a tiny unit test, the execution time goes from 0.5s to 1.0s.

In large integration tests the execution time increases by a factor 6 (5min to 30min).

Are there any changes in 9.7 that are known to significantly slow down calls to Extension Functions? Any changes we can make related to how we register them in SaxonHE?


Files

Screen Shot 2016-09-08 at 21.35.41.png (391 KB) Screen Shot 2016-09-08 at 21.35.41.png Saxon 9.7 Thomas Åkesson, 2016-09-08 21:48
Screen Shot 2016-09-08 at 21.32.12.png (380 KB) Screen Shot 2016-09-08 at 21.32.12.png Saxon 9.6 Thomas Åkesson, 2016-09-08 21:48
SaxonTransformerDomTraversalPerformanceTest.java (3.85 KB) SaxonTransformerDomTraversalPerformanceTest.java Thomas Åkesson, 2016-09-08 23:14
identity.xsl (1 KB) identity.xsl Thomas Åkesson, 2016-09-08 23:14
namespace-unused.xsl (2.01 KB) namespace-unused.xsl Thomas Åkesson, 2016-09-09 20:05

Please register to edit this issue

Also available in: Atom PDF