is_doc_hidden optimized to hook in case of non-incremental build#147511
is_doc_hidden optimized to hook in case of non-incremental build#147511azhogin wants to merge 2 commits intorust-lang:mainfrom
Conversation
|
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
is_doc_hidden optimized to hook in case of non-incremental build
|
Is there a way to "automate" this? E.g. annotate queries for which we know/think that they are not worth it in non-incremental builds, and then make the query infra automatically turn them into hooks. It seems a bit silly to manually create this query/hook split for many individual queries.. |
This comment has been minimized.
This comment has been minimized.
#147387 (comment) (and below) |
|
Finished benchmarking commit (81ee3ee): comparison URL. Overall result: ❌✅ regressions and improvements - please read the text belowBenchmarking 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. Next Steps: If you can justify the regressions found in this try perf run, please do so in sufficient writing along with @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 (secondary -1.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -3.0%)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: 474.495s -> 473.612s (-0.19%) |
|
Yep, improvements on rustdoc.
|
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
|
|
☔ The latest upstream changes (presumably #149455) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Reminder, once the PR becomes ready for a review, use |
Continuation of #146880, #147232 and #147387.
'is_doc_hidden' query renamed 'is_doc_hidden_q'. is_doc_hidden hook added to optimize performance in case of non-incremental build.
Optimization may be profitable for queries with low normalized average execution time (to replace cache lookup into inlined call) and be significant with good cache_hits.
Draft PR to measure performance changes.