about summary refs log tree commit diff
path: root/compiler/rustc_query_impl/src/stats.rs
AgeCommit message (Collapse)AuthorLines
2022-02-06Delete query statsMark Rousskov-112/+0
These statistics are computable from the self-profile data and/or ad-hoc collectable as needed, and in the meantime contribute to rustc bootstrap times.
2021-10-11Remove built-in cache_hit trackingMark Rousskov-27/+0
This was already only enabled in debug_assertions builds. Generally, it seems like most use cases that would use this could also use the -Zself-profile flag which also tracks cache hits (in all builds), and so the extra cfg's and such are not really necessary. This is largely just a small cleanup though, which primarily is intended to make other changes easier by avoiding the need to deal with this field.
2021-07-06Correct comments about untracked accesses.Camille GILLOT-1/+1
2021-06-01Revert "Reduce the amount of untracked state in TyCtxt"Camille Gillot-1/+1
2021-05-30Correct comments about untracked accesses.Camille GILLOT-1/+1
2021-04-29Move iter_results to dyn FnMut rather than a genericMark Rousskov-5/+4
This means that we're no longer generating the iteration/locking code for each invocation site of iter_results, rather just once per query. This is a 15% win in instruction counts when compiling the rustc_query_impl crate.
2021-02-19Move the query system to rustc_query_impl.Camille GILLOT-0/+140