Actions
Bug #1648
closedSaxon.NET only profiles functions
Start date:
2012-11-16
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Bug reported by John Barstow:
After some investigation, the following two lines have been added to the
Saxon.Api.XsltCompiler constructor:
if (config.isCompileWithTracing())
info.setCodeInjector(new TimingCodeInjector());
After adding these lines and re-compiling, the profiling of XSLT transform now correctly
works. The -TP flag modifies a default CompilerInfo
instance, but the .NET code always creates a new instance, thus losing
the code injector. The solution seemed to be the most surgical fix, but
it might be more correct to clone the default instance.
Please register to edit this issue
Actions