Skip to content

Do not import reflex.model while transforming an event payload - #7802

Merged
FarhanAliRaza merged 1 commit into
mainfrom
fix/no-model-import-in-event-transform
Nov 11, 2026
Merged

FarhanAliRaza merged 1 commit into
mainfrom
fix/no-model-import-in-event-transform

Do not import reflex.model while transforming an event payload

2d3ea84
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Nov 11, 2026 in 0s

Performance Regression: -4.56%

2 warnings

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

⚠️ 1 benchmark with a significant change ran on different hardware

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

Learn more about Macro Runners

See affected benchmarks

❌ 1 regressed benchmark
✅ 150 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_process_event_burst_independent_tokens[1] 2.7 ms 2.9 ms -4.56%

Tip

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


Comparing fix/no-model-import-in-event-transform (2d3ea84) with main (2d71015)

Open in CodSpeed