about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-23 11:33:05 +0000
committerbors <bors@rust-lang.org>2024-09-23 11:33:05 +0000
commit59bac6a1b1496283be36e9e1319ba2039d149af7 (patch)
tree56726ca73ea3ea08e62053f5d8ad4b3621d8d0c8 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent43e338458168db91b8459735ba6ac0f230d78d92 (diff)
parent431f7d6709908618b3c9291b7ef5317660bb9919 (diff)
downloadrust-59bac6a1b1496283be36e9e1319ba2039d149af7.tar.gz
rust-59bac6a1b1496283be36e9e1319ba2039d149af7.zip
Auto merge of #13408 - y21:quine-dev-o3, r=dswij
Build quine-mc_cluskey with `opt-level=3` in dev builds

While doing some profiling I noticed that debug clippy running on the `clippy_lints` crate spends 35s out of 160s in one specific code path of `nonminimal_bool`, which seemed a bit excessive.

I've found that just enabling optimizations for quine-mc_cluskey (used by nonminimal_bool) cuts down the part that took 35s to 3s

While this doesn't really change anything for users, this helps dogfood a bit as it cuts off about half a minute of runtime (in some of my tests, at least).

Something similar was attempted in #10576, however that involved compiling everything in release mode including clippy itself, whereas this only affects a single dependency that's compiled in parallel with something that takes longer so this should hopefully not have a negative impact in any case (and changing clippy doesn't require recompiling that dependency)

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions