improve compile perf#6804
Conversation
Greptile SummaryThis PR reduces the CPU cost of deterministic component hashing. The main changes are:
Confidence Score: 5/5This looks safe to merge, with a possible peak-memory cost for very large component trees.
Important Files Changed
Reviews (1): Last reviewed commit: "improve compile perf" | Re-trigger Greptile |
Merging this PR will improve performance by 3.75%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | test_compile_all_artifacts[_stateful_page] |
26.6 ms | 25.5 ms | +4.21% |
| ⚡ | test_compile_page[_stateful_page] |
30.2 ms | 29 ms | +3.83% |
| ⚡ | test_compile_page_full_context[_stateful_page] |
34.6 ms | 33.5 ms | +3.22% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing benedikt-bartscher:improve-compile-perf (480d8ae) with main (f79d011)2
Footnotes
-
8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
main(e54bc83) during the generation of this report, so f79d011 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
No description provided.