Replace query erase_and_anonymize_regions_ty with a helper function#153856
Replace query erase_and_anonymize_regions_ty with a helper function#153856Zalathar wants to merge 1 commit intorust-lang:mainfrom
erase_and_anonymize_regions_ty with a helper function#153856Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Replace query `erase_and_anonymize_regions_ty` with a helper function
|
☔ The latest upstream changes (presumably #153846) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (bc5cc60): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -2.4%, secondary 0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.2%, secondary -4.6%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 481.291s -> 480.666s (-0.13%) |
|
Same as #139240 |
|
Heh, maybe I should put a note in the source warning that this has been tried multiple times. And yeah, if this doesn’t bring a meaningful perf improvement or a meaningful simplification, then it’s hard to justify doing something custom instead of just using the query machinery. |
The comments for this query suggest that it shouldn't call any other queries, and is a pure function of its input that only uses the query system for caching its return value.
If that's accurate, then we should be able to replace the query with a plain function that does its own caching.