Page 1 of 1

LoPy specs and performance

Posted: Sun Oct 23, 2016 5:32 am
by rcolistete
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

Re: LoPy specs and performance

Posted: Wed Nov 09, 2016 2:18 pm
by rcolistete
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.

Re: LoPy specs and performance

Posted: Wed Nov 16, 2016 3:19 pm
by rcolistete
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.

Re: LoPy specs and performance

Posted: Sun Nov 20, 2016 7:29 pm
by rcolistete
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.