LoPy specs and performance

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

LoPy specs and performance

Post by rcolistete » Sun Oct 23, 2016 5:32 am

About common features of LoPy with WiPy 2.0 and ESP32, see this topic :
http://forum.micropython.org/viewtopic.php?f=11&t=2552

Some LoPy specs and performance that it would be useful to know, theoretically and measured :
- flash memory available for MicroPython user;
- LoRa speed and range in real user cases;
- Bluetooth speed and range in real user cases.

Topic in Pycom forum about the same subject :
https://forum.pycom.io/topic/170/lopy-w ... erformance
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: LoPy specs and performance

Post by rcolistete » Wed Nov 09, 2016 2:18 pm

Measured specs (free RAM and free '/flash' space) for LoPy :
* with firmware v0.9.2.b2 (28/10/2016) : free RAM 71152 bytes; 498 KB of free internal "/flash";
* with firmware v0.9.3.b2 (05/11/2016) : free RAM 79152 bytes; 498 KB of free internal "/flash";
* with firmware v0.9.4.b1 (14/11/2016) : free RAM 79152 bytes; 496 KB of free internal "/flash";
* with firmware v0.9.5.b1 (19/11/2016) : free RAM 79152 bytes; 497 KB of free internal "/flash";
* with firmware v0.9.6.b1 (25/11/2016) : free RAM 79152 bytes; 497 KB of free internal "/flash".

Comparison with other MicroPython boards, see the topic Free RAM on MicroPython boards.
Last edited by rcolistete on Sun Nov 27, 2016 3:41 am, edited 2 times in total.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: LoPy specs and performance

Post by rcolistete » Wed Nov 16, 2016 3:19 pm

For benchmark between MicroPython boards, including LoPy and WiPy 2, see the topic Benchmark comparison of MicroPython boards and WiPy 2/ESP32 specs and performance.

Benchmarks for LoPy x firmware version :
- pystone_lomem, in pystones/second :
* LoPy with MicroPython 0.9.4.b1 : 321;
* LoPy with MicroPython 0.9.5.b1 : 354;
* LoPy with MicroPython 0.9.6.b1 : 829;
- PerformanceTest, in number of times in 10s :
* LoPy with MicroPython 0.9.4.b1 : 91,810;
* LoPy with MicroPython 0.9.5.b1 : 293,032;
* LoPy with MicroPython 0.9.6.b1 : 651,394;
- hsquare, mean time for each calculation in us :
* LoPy with MicroPython 0.9.4.b1 : 542;
* LoPy with MicroPython 0.9.5.b1 : 167;
* LoPy with MicroPython 0.9.6.b1 : 107.

MicroPython 0.9.6.b1 has default ESP32 frequency set as 160 MHz, instead of 80 MHz as before.
Last edited by rcolistete on Sun Nov 27, 2016 3:48 am, edited 1 time in total.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: LoPy specs and performance

Post by rcolistete » Sun Nov 20, 2016 7:29 pm

For ADC performance of LoPy compared to other MicroPython boards, see the topic ADC performance of MicroPython boards.

ADC benchmarks for LoPy x firmware version :
- 'ADC_loop', mean speed in ksample/s :
* LoPy with MicroPython 0.9.4.b1 : 3.65;
* LoPy with MicroPython 0.9.5.b1 : 13.0;
* LoPy with MicroPython 0.9.6.b1 : 21.2.

MicroPython 0.9.6.b1 has default ESP32 frequency set as 160 MHz, instead of 80 MHz as before.

With the last releases, LoPy ADC is a lot faster than before.

Performance improvements for LoPy are expected with new firmware releases, including in ADC reading speed.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

Post Reply