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

Speed up integrity tests #522

Merged
merged 4 commits into from
Dec 10, 2021
Merged

Conversation

hvub
Copy link
Contributor

@hvub hvub commented Nov 26, 2021

This builds on PR #520.

The TckScenarioFormatCheck was set up to run tests in parallel, which however did not work. Unfortunately, it turned out that the parallel setup caused a massive amount of redundant execution. Looks like the check of every single scenario executed the ingestion of whole TCK, which makes scenario parsing quadratic in the number of scenarios — nothing promising with regards to execution speed. So that the TckScenarioFormatCheck end up needing over 20 minutes to check the TCK on a modern notebook computer.

Removing the parallel setup (a very simple code change) turned out to result in significantly faster execution of the TckScenarioFormatCheck. With this PR on the same computer, it checks the whole less than a minute.

Given that TckScenarioFormatCheck is part of every build run including testing, this is a very convenient and environmentally-friendly improvement.

@hvub hvub changed the title Speed integrity tests Speed up integrity tests Nov 26, 2021
@hvub hvub merged commit 841f4b5 into opencypher:master Dec 10, 2021
@hvub hvub deleted the speed-integrity-tests branch December 10, 2021 16:06
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.

1 participant