Skip to content

unit-test-without-phi XSL transformation exceeds 100ms threshold on large XMIR files #986

Description

@volodya-lombrozo

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.

Metadata

Metadata

Labels

bugSomething isn't workinggood-titleThe title was checked and improved by ChatGPT

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions