I'm getting performance warnings when running lints against eo-runtime:
[WARNING] XSL transformation 'unit-test-without-phi' took 108ms, whereas threshold is 100ms
What happens: The selector /object//o[starts-with(@name, '+') and eo:abstract(.) and @name and not(o[@name='φ'])] scans all descendant <o> elements, invoking eo:abstract(.) (a user-defined XSLT function) and checking all children for o[@name='φ'] on each candidate. On large XMIR files with many test objects the cumulative function call overhead exceeds the threshold.
What should happen: The transformation completes within the 100ms threshold for typical XMIR files.
I'm getting performance warnings when running lints against
eo-runtime:What happens: The selector
/object//o[starts-with(@name, '+') and eo:abstract(.) and @name and not(o[@name='φ'])]scans all descendant<o>elements, invokingeo:abstract(.)(a user-defined XSLT function) and checking all children foro[@name='φ']on each candidate. On large XMIR files with many test objects the cumulative function call overhead exceeds the threshold.What should happen: The transformation completes within the 100ms threshold for typical XMIR files.