objectionary / objectionary/lints
`anonymous-objects-inside-formation` XSL transformation exceeds 100ms threshold on large XMIR files
@volodya-lombrozo is already working on this.
Since Jun 24, 2026.
- Dominant language
- Java
- Stars
- 14
- Forks
- 39
- Avg merge
- 22h 54m
- Merged PRs (30d)
- 90
Description
I'm getting performance warnings when running lints against eo-runtime:
[WARNING] XSL transformation 'anonymous-objects-inside-formation' took 130ms, whereas threshold is 100ms
What happens: The selector //o[eo:abstract(.) and o[not(@name)]] calls eo:abstract(.) (a user-defined function equivalent to not(exists(@base))) on every <o> element, then checks all their children for not(@name). On large XMIR files with many objects the per-element function call overhead and child scans push the transformation over the threshold.
What should happen: The transformation completes within the 100ms threshold. Inlining eo:abstract as not(@base) and using a cheaper child check would reduce overhead.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.