Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a benchmark for schematron rules #63

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

bertrand-lorentz
Copy link
Contributor

See description of the feature in the README.

We need the bugfixes included in that version.
Use JMH to run the Schematron rules of the SDK being analyzed against
a set of large XML notices, and write the results to a JSON file.
This allows detecting when a change in the rules makes them slower, by
comparing with results from another run.

The notices used in the benchmark are included as resources, as we need
them to be always the same, and to be large enough to make slowdowns
noticeable. So we can't use the notice examples from the SDK being
analyzed.
@bertrand-lorentz bertrand-lorentz merged commit ccefe69 into develop Sep 6, 2024
4 checks passed
@bertrand-lorentz bertrand-lorentz deleted the add-schematron-benchmark branch September 6, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants