XSLT Profiler Editor Features:
- Profiling XSLT 1.0, XSLT 2.0, and XSLT 3.0 stylesheets
- Profiling based on call graph or hit count
- Recording of detailed metrics to identify bottlenecks
- Metrics displayed for each XSL variable, parameter, & template
- Hot links from results to associated XSLT elements
- Chart support for graphing results visually
- Revolutionary XSL Speed Optimizer
- XSLT debugger
The XMLSpy XSLT profiler is an invaluable tool for optimizing the performance of your XSLT code. Based on the information revealed by the XSLT profiler, you can immediately see which parts of your XSLT code are taking the most time to process and adjust them accordingly to fully optimize your XSLT stylesheets.
When profiling is enabled for an XSLT transformation, the XSLT profiler displays metrics including hit count, duration, descendants’ duration, and XPath values. These are displayed for each XSL variable, parameter, and template in a tree view and list view. Clicking any element listed in the profiler window automatically opens its associated stylesheet and highlights the element, helping you track down performance bottlenecks with a single click.
Charting XSLT Profiler Results
XMLSpy will even generate a chart of the results, or a subset of the results, returned by the XSLT Profiler, giving you an instant, visual representation of your stylesheet's performance that you can save or share with other team members.
As you optimize your stylesheet and profiler data changes, the chart is updated on-the-fly. You can select which parameters to display in your chart and choose between 2D and 3D options for pie, bar, line, area, candlestick, and gauge styles.
The XSLT profiler delivers important information for expert XSLT developers, but if you want to speed up XSLT execution time without manually changing your XSLT and XPath code, try the XSL Speed Optimizer.
The XMLSpy XSL Speed Optimizer is a revolutionary approach to speeding up XSLT transformations, providing tremendous increases in throughput with no manual analysis required to determine exactly which XSLT or XPath expressions are causing bottlenecks.
The XSL Speed Optimizer allows you to focus on the transformation logic of your stylesheets and leave speed optimization to XMLSpy.
To use the XSL Speed Optimizer, simply supply an existing XSLT stylesheet along with sample XML data. You can also configure a time threshold for single XSLT instructions in an XSLT stylesheet. Values range from 0.1% of total transformation time to 99% of total time. If an instruction takes more time to execute than that specified as the threshold, then optimization analysis is invoked.
The optimizer analyzes the transformation to identify bottlenecks, tests it against proven optimization patterns and internal information to determine speed improvements, and generates XML processing instructions (PI) to automatically insert in the stylesheet. Then the XSL Speed Optimizer re-runs the execution to determine which optimizations result in an increase in speed, and only saves those that have a positive impact. And if there are no improvements identified, no changes will be made.
Your XSLT code is not altered; XMLSpy simply provides PIs that speed XSLT execution significantly – without requiring time consuming re-writing XSLT and XPath expressions. XSLT enhanced by the XSL Speed Optimizer can be executed directly in XMLSpy as well as RaptorXML Server for lightning-fast processing.