Skip to content

Scope rx.foreach loop vars per item - #7690

Open
masenf wants to merge 7 commits into
claude/clientstatevar-context-refactor-jv3pigfrom
claude/foreach-scoped-loop-vars
Open

masenf wants to merge 7 commits into
claude/clientstatevar-context-refactor-jv3pigfrom
claude/foreach-scoped-loop-vars

Refresh the memo.pyi hash for this branch

6b49ab1
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Oct 30, 2026 in 0s

Performance Regression: -10.25%

2 warnings

⚠️ 18 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 6 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

❌ 6 regressed benchmarks
✅ 142 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_compile_all_artifacts[_stateful_page] 38 ms 45.1 ms -15.8%
❌ test_compile_page_full_context[_stateful_page] 45.9 ms 53.8 ms -14.58%
❌ test_compile_page[_stateful_page] 43.4 ms 50.5 ms -14.23%
❌ test_evaluate_page[_stateful_page] 7.4 ms 7.9 ms -6.24%
❌ test_evaluate_page_with_hooks[_stateful_page] 8 ms 8.4 ms -5.71%
❌ test_state_access[read_cached_computed] 47.1 ms 49.1 ms -4.16%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing claude/foreach-scoped-loop-vars (6b49ab1) with claude/clientstatevar-context-refactor-jv3pig (f6beab9)

Open in CodSpeed