Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do ?
This PR tries to reduce the snippet testing time, by compiling every snippets scenario in one executable instead of compiling them each time and spending time in compilation between each tests
This is a Proof of Concept and might not be adopted.
The goal is to compile each snippets inside one file, the way this is achieved is by creating a function for each snippet scenario
and the main function is calling the appropriate function based on an environment variable.
This reduces compilation time to one time instead of having to relaunch the gradle daemon for each step.
The testing time has been reduced by 30%.
Another way to reduce testing time is to launch tests in parallel, some work is currently done to test how this could be achieved