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

⚡️ Speed up function `to_camel_case` by 128%

#5239Merged
Comparing
misrasaurabh1:codeflash/optimize-to_camel_case-ma50cmoo
(
2b26c26
) with
main
(
fd8e12a
)
CodSpeed Performance Gauge
+3%
Improvement
1
Untouched
7

Benchmarks

8 total
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
+3%
61.8 ms59.8 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
+2%
8.4 ms8.2 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+2%
119.6 ms117.7 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
29.3 ms29 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
3.8 ms3.8 ms
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+1%
15.6 ms15.4 ms
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
341.2 µs341.3 µs

Commits

Click on a commit to change the comparison range
Base
main
fd8e12a
+3.39%
⚡️ Speed up function `to_camel_case` by 128%
2b26c26
1 year ago
by codeflash-ai[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs