Draft: PoC: Add Gitlab::GlobSet for faster bulk glob matching
What does this MR do and why?
PoC: Add Gitlab::GlobSet for faster bulk glob matching
This is a PoC implementation of glob translation to RE2 regular expressions, that could help speed up CI pipeline creation for complex pipelines.
The benefit would most pronounced on pipelines for large changes, in
projects with many complex rules:changes
patterns, where most
rules:changes
patterns don't match any changed file.
Not much improvement is expected when the number of changes is small or
if most rules:changes
are simple.
See #461460 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.