objectionary / objectionary/lints

`anonymous-objects-inside-formation` XSL transformation exceeds 100ms threshold on large XMIR files

Open
#993 0 comments 0 reactions 1 assignee View on GitHub

@volodya-lombrozo is already working on this.

Since Jun 24, 2026.

bug good-title
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.