Avatar for the reflex-dev user
reflex-dev
reflex
BlogDocsChangelog

fix: avoid eagerly copying uploaded files into memory

#6174Merged
Comparing
FarhanAliRaza:memory-issue
(
70c199b
) with
main
(
7607fa3
)
CodSpeed Performance Gauge
0%
Untouched
8

Benchmarks

8 total
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
23 ms22.9 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
91.2 ms91 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
597.8 µs598.6 µs
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
47.4 ms47.5 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
154.8 µs155.1 µs
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
10.7 ms10.8 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
3.1 ms3.1 ms

Commits

Click on a commit to change the comparison range
Base
main
7607fa3
+0.24%
fix: avoid eagerly copying uploaded files into memory
a1961f1
1 month ago
by FarhanAliRaza
-0.28%
fix: prevent temp file leaks on upload cancellation
6052b3a
1 month ago
by FarhanAliRaza
+0.04%
refactor: remove redundant try/finally in upload generator
aab23b5
1 month ago
by FarhanAliRaza
-0.1%
test: use full ASGI lifecycle in upload form close test
70c199b
1 month ago
by FarhanAliRaza
© 2026 CodSpeed Technology
Home Terms Privacy Docs