time and utime might refer to RealTime Clock (not so accurate for short timing), and the system clock (very accurate for measuring subsecond times).
'viper' and 'native' functions are precompiled (faster), but with some limitations.
'viper' is closer to the CPU, C-like, faster than native but with more restrictions.
https://docs.micropython.org/en/latest/ ... de-emitter
Tests of 'viper' usually show more raw power of moving and simple processing of data, instead of complex operations (like floating point, AES etc). RISC-V implementation on Pico 2 (RP2350) might have some advantages in this area (31 general registers) and probably better instructions of bit/byte manipulating.
When doing test use more memory than (N=150 M=96) ... M=96 means use only 96 KB of RAM (due 128 KB RAM restriction on other processors), while Pico 2 has 512 KB ...
Regarding overclocking in stock python it's quite straightforward (and very safe, no overvoltage) up to 266 MHz.It works with RISC-V, too.
Above, it gets more complicated.
P.S. I use a Pimoroni board with PSRAM and Pimoroni variant of Micropython, but I will check the stock version too.
'viper' and 'native' functions are precompiled (faster), but with some limitations.
'viper' is closer to the CPU, C-like, faster than native but with more restrictions.
https://docs.micropython.org/en/latest/ ... de-emitter
Tests of 'viper' usually show more raw power of moving and simple processing of data, instead of complex operations (like floating point, AES etc). RISC-V implementation on Pico 2 (RP2350) might have some advantages in this area (31 general registers) and probably better instructions of bit/byte manipulating.
When doing test use more memory than (N=150 M=96) ... M=96 means use only 96 KB of RAM (due 128 KB RAM restriction on other processors), while Pico 2 has 512 KB ...
Regarding overclocking in stock python it's quite straightforward (and very safe, no overvoltage) up to 266 MHz.
Code:
machine.freq(266_000_000)
Above, it gets more complicated.
P.S. I use a Pimoroni board with PSRAM and Pimoroni variant of Micropython, but I will check the stock version too.
Statistics: Posted by gmx — Sun Oct 13, 2024 9:47 am