Skip to content

application-without-as-attributes transformation performance exceeds 100ms on large XMIR files #987

Description

@volodya-lombrozo

I'm getting performance warnings when running lints against eo-runtime:

[WARNING] XSL transformation 'application-without-as-attributes' took 108ms, whereas threshold is 100ms

What happens: The selector //o[@base and not(starts-with(@base, '.')) and o[not(@as)]] is straightforward, but eo:defect-context(.) is called for every match with @line = '0'. On large XMIR files generated from bytecode (where line information is absent and many objects lack @as attributes) this context computation runs many times.

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