refactor: freeze components after create and use copy_with for mutations #6468
+780
−384
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
May 29, 2026
Performance Gate Passed
⚡ 2 improved benchmarks
✅ 22 untouched benchmarks
Performance Changes
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | test_evaluate_page_single_pass[_complicated_page] |
39.4 ms | 38 ms | +3.59% |
| ⚡ | test_evaluate_page[_complicated_page] |
38.5 ms | 37.2 ms | +3.51% |
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 FarhanAliRaza:immutability (4f7dfb9) with main (e88acf7)1
Footnotes
Loading