Commit efdb9bb
authored
Rollup merge of #146070 - notriddle:skip-loading-function-data, r=GuillaumeGomez
rustdoc-search: skip loading unneeded fnData
Fixes #146063 (probably)
Based on the test I ran, it seems like most of the CPU time is being spent loading function signature data. This PR should avoid that.
https://notriddle.com/rustdoc-html-demo-12/skip-loading-function-data/doc/std/index.html
https://notriddle.com/rustdoc-html-demo-12/skip-loading-function-data/compiler-doc/rustc_hir/index.html2 files changed
+13
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1802 | 1802 | | |
1803 | 1803 | | |
1804 | 1804 | | |
| 1805 | + | |
1805 | 1806 | | |
1806 | 1807 | | |
1807 | | - | |
1808 | | - | |
| 1808 | + | |
| 1809 | + | |
1809 | 1810 | | |
1810 | 1811 | | |
1811 | 1812 | | |
1812 | | - | |
| 1813 | + | |
1813 | 1814 | | |
1814 | 1815 | | |
1815 | 1816 | | |
| |||
1853 | 1854 | | |
1854 | 1855 | | |
1855 | 1856 | | |
1856 | | - | |
| 1857 | + | |
1857 | 1858 | | |
1858 | 1859 | | |
1859 | 1860 | | |
| |||
2563 | 2564 | | |
2564 | 2565 | | |
2565 | 2566 | | |
2566 | | - | |
2567 | | - | |
| 2567 | + | |
| 2568 | + | |
2568 | 2569 | | |
2569 | | - | |
2570 | | - | |
| 2570 | + | |
| 2571 | + | |
2571 | 2572 | | |
2572 | 2573 | | |
2573 | 2574 | | |
| |||
2642 | 2643 | | |
2643 | 2644 | | |
2644 | 2645 | | |
2645 | | - | |
| 2646 | + | |
2646 | 2647 | | |
2647 | 2648 | | |
2648 | 2649 | | |
| |||
3749 | 3750 | | |
3750 | 3751 | | |
3751 | 3752 | | |
3752 | | - | |
| 3753 | + | |
3753 | 3754 | | |
3754 | 3755 | | |
3755 | 3756 | | |
| |||
3804 | 3805 | | |
3805 | 3806 | | |
3806 | 3807 | | |
3807 | | - | |
| 3808 | + | |
3808 | 3809 | | |
3809 | 3810 | | |
3810 | 3811 | | |
| |||
0 commit comments