
On the same hardware board and same cpu freq setting, also use upip.install("micropython-pystone_lowmem") to get the same test code, got results below:
Code: Select all
I (20) pm_esp32: Frequency switching config: CPU_MAX: 240, APB_MAX: 240, APB_MIN: 240, Light sleep: DISABLED
MicroPython cddb90e-dirty on 2020-02-18; ESP32 module with ESP32
Type "help()" for more information.
>>>[reboot detected 0]repl is in normal command mode
[\r\x03\x03] b'\r\n>>> '
[\r\x01] b'\r\n>>> \r\nraw REPL; CTRL-B to exit\r\n>' Ready.
import machine
machine.freq(240*1000*1000)
print(machine.freq())
import network
sta_if = network.WLAN(network.STA_IF)
sta_if.active(True)
sta_if.connect('***', '***')
import upip
upip.install("micropython-pystone_lowmem")
import pystone_lowmem
pystone_lowmem.main()
Pystone(1.2) time for 500 passes = 1001ms
This machine benchmarks at 499 pystones/second
Code: Select all
MicroPython v1.12 on 2019-12-20; ESP32 module with ESP32
Type "help()" for more information.
>>>[reboot detected 0]repl is in normal command mode
[\r\x03\x03] b'\r\n>>> '
[\r\x01] b'\r\n>>> \r\nraw REPL; CTRL-B to exit\r\n>'
import machine
machine.freq(240*1000*1000)
print(machine.freq())
import network
sta_if = network.WLAN(network.STA_IF)
sta_if.active(True)
sta_if.connect('***', '***')
import upip
upip.install("micropython-pystone_lowmem")
import pystone_lowmem
pystone_lowmem.main()
Pystone(1.2) time for 500 passes = 301ms
This machine benchmarks at 1661 pystones/second