summaryrefslogtreecommitdiff
path: root/ci/ciimage/fedora
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-11-07 12:15:09 +0100
committerEli Schwartz <eschwartz93@gmail.com>2024-12-29 23:22:14 -0500
commit3b36cb2c2c5e2978cc38283e4aa5d71ab5da4335 (patch)
tree7d16db6b24a0b33f6c455589d61dad061ecd5836 /ci/ciimage/fedora
parentc9635daeba4c7de7c4a230d6c9088f94f06ee8dc (diff)
downloadmeson-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