rust/compiler/rustc_query_system
Mark Rousskov da58efb11d Improve VecCache under parallel frontend
This replaces the single Vec allocation with a series of progressively
larger buckets. With the cfg for parallel enabled but with -Zthreads=1,
this looks like a slight regression in i-count and cycle counts (<0.1%).

With the parallel frontend at -Zthreads=4, this is an improvement (-5%
wall-time from 5.788 to 5.4688 on libcore) than our current Lock-based
approach, likely due to reducing the bouncing of the cache line holding
the lock. At -Zthreads=32 it's a huge improvement (-46%: 8.829 -> 4.7319
seconds).
2024-11-15 18:20:32 -05:00
..
src Improve VecCache under parallel frontend 2024-11-15 18:20:32 -05:00
Cargo.toml Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
messages.ftl Cleanup unused messages in ftl files 2023-09-20 19:09:01 +08:00