Skip to content

Read values from outside list_transform lambdas through an environment - #10853

Draft
mhk197 wants to merge 1 commit into
developfrom
mk/list-transform-env
Draft

mhk197 wants to merge 1 commit into
developfrom
mk/list-transform-env

pass what a list_transform lambda reads from outside as its environment

77cddee
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Oct 27, 2026 in 0s

Performance Regression: -13.29%

3 warnings, 1 note

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ Unable to measure the execution of 2 benchmarks

These benchmarks measured no execution time, so their results are not comparable and count as unchanged. This usually happens when the compiler removes the code under test.

Prevent compiler optimizations

See affected benchmarks

⚠️ 20 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

ℹ️ 40 benchmarks have no flamegraph

The flamegraph wasn't generated: the symbols of the profiling trace could not be resolved, because no information about the language frames was collected.

See affected benchmarks

⚡ 3 improved benchmarks
❌ 9 regressed benchmarks
✅ 2427 untouched benchmarks
⏩ 116 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Walltime filter_neon[8] 867 ns 1,779 ns -51.26%
❌ Walltime threshold_neon[8] 1.3 µs 2.3 µs -44.13%
❌ Walltime threshold_neon[64] 2.5 µs 3.5 µs -28.51%
❌ Walltime filter_neon[64] 1.8 µs 2.3 µs -22.33%
❌ CPU Simulation encode_primitives[f32, (1000, 2)] 116.4 µs 146.9 µs -20.73%
❌ Walltime threshold_neon[80] 3.3 µs 4.2 µs -20.66%
❌ CPU Simulation missing_stats[16] 70.8 µs 84.8 µs -16.47%
❌ Walltime filter_neon[80] 2.6 µs 3 µs -13.7%
❌ Walltime add_constant_shapes_neon[(32768, ConstantPerRow)] 14.3 µs 16.1 µs -11.49%
⚡ Walltime mul_u64_nonnull_neon 39.1 µs 20.6 µs +89.27%
⚡ CPU Simulation chunked_dict_primitive_canonical_into[f64, (1000, 1000, 10)] 200.6 µs 146.3 µs +37.16%
⚡ CPU Simulation random_i8[0.01] 115.4 µs 100.7 µs +14.64%

Tip

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


Comparing mk/list-transform-env (77cddee) with develop (cd45524)

Open in CodSpeed

Footnotes

  1. 116 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. ↩