Skip to content

Commit 29555dc

Browse files
committed
Add CircuitPython 4.1 timings.
1 parent 53c3627 commit 29555dc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

asm_thumb/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Using the `third_party.waveshare.epd2in7` display size (176x264) on my Adafruit
3434
Metro M4 Express (120Mhz SAMD51J19) under CircuitPython 3.0 I observed this
3535
Julia fractal computation performance.
3636
37-
## Original optimized pure Python code.
37+
## Original optimized pure CircuitPython 3.0 code.
3838
3939
23.9 seconds
4040
@@ -78,6 +78,13 @@ loop into assembly. If we weren't already an order of magnitude faster
7878
than the slow e-Paper displays this code was originally a demo for, that
7979
might make sense. For that purpose, we've already outdone ourselves. :)
8080
81+
## What about CircuitPython 4.1?
82+
83+
It is noticably faster due to 4.1 enabling some overlooked micropython compile
84+
time optimizations. The pure CircuitPython 4.1 Julia fractal computation drops
85+
from our previous 23.9 down to 16.3 seconds. The asm version is 0.137 seconds.
86+
We're only *119x faster* now. :P
87+
8188
# You Made This Look Too Easy a.k.a. How Hard Was This?
8289
8390
It wasn't easy! I spent numerous multi-hour stretches on random evenings

0 commit comments

Comments
 (0)