3 ms·
One detail that I'd be interested to see are startup times for the MicroPython environment. Having compiled both Lua and Duktape (an embedded friendly ES7 runti
by nxobject 1y ago
One detail that I'd be interested to see are startup times for the MicroPython environment. Having compiled both Lua and Duktape (an embedded friendly ES7 runtime) for a Macintosh Classic, morally a Plus, I regularly got startup times of up to a minute - I think most of it due to the sheer size of the resulting binaries and standard libraries.
- matt_trentini 1y agoIt's obviously not directly comparable - each port will be different - but startup time is <50ms on an RP2040 (Cortex M0 @133MHz): https://github.com/micropython/micropython/issues/8420 https://github.com/micropython/micropython/issues/8420
- nxobject 1y agoThat's a useful comparison since it gives some insight to some important differences: part of the difference might be an order of magnitude increase in clock speed (say from 15 MHz to 133+ MHz); another might be an increase in I/O speed. A final one might be memory pressure - classic Mac OS applications conservatively specified memory to reserve in advance since they shared the same memory space, and a lot of purging/reloading of nonessential relocatable resources might be happening.