From: bors Date: Wed, 8 Feb 2023 10:35:46 +0000 (+0000) Subject: Auto merge of #107529 - Zoxc:inline-tweak-profile, r=cjgillot X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a00e24d76a9ac03b146d3bf89e2161b2466c6551;p=rust.git Auto merge of #107529 - Zoxc:inline-tweak-profile, r=cjgillot Optimize query_cache_hit to reduce code size of the query hot path. A small tweak which improves performance on check builds by 0.33% and reduces `rustc_driver` size by 1%.
BenchmarkBeforeBeforeAfter
TimeTime%Time%
🟣 clap:check1.7978s1.7980s 0.01%1.7930s -0.27%
🟣 hyper:check0.2594s0.2591s -0.12%0.2592s -0.09%
🟣 syntex_syntax:check6.2522s6.2540s 0.03%6.2358s -0.26%
🟣 syn:check1.5889s1.5880s -0.05%1.5799s -0.57%
🟣 regex:check0.9941s0.9939s -0.02%0.9893s -0.49%
Total10.8925s10.8930s 0.01%10.8572s -0.32%
Summary1.0000s0.9997s -0.03%0.9967s -0.33%
r? `@cjgillot` --- a00e24d76a9ac03b146d3bf89e2161b2466c6551