diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-07 12:15:09 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-12-29 23:22:14 -0500 |
| commit | 3b36cb2c2c5e2978cc38283e4aa5d71ab5da4335 (patch) | |
| tree | 7d16db6b24a0b33f6c455589d61dad061ecd5836 /ci/ciimage/fedora | |
| parent | c9635daeba4c7de7c4a230d6c9088f94f06ee8dc (diff) | |
| download | meson-3b36cb2c2c5e2978cc38283e4aa5d71ab5da4335.tar.gz | |
ninjabackend: prefer "in" to regex search
Regexes can be surprisingly slow. This small change brings
ninja_quote() from 12 to 3 seconds when building QEMU.
Before:
ncalls tottime percall cumtime percall
3734443 4.872 0.000 11.944 0.000
After:
ncalls tottime percall cumtime percall
3595590 3.193 0.000 3.196 0.000
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'ci/ciimage/fedora')
0 files changed, 0 insertions, 0 deletions
