Wykres commitów

4 Commity (099ec33b1ca220f835b5b11b72ff727bdf6afb7c)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 45070229f0 pystone_lowmem: Add metadata. 2016-02-15 12:17:22 +02:00
Paul Sokolovsky 6f10230648 pystone_lowmem: Use utime.ticks_ms() for better granularity.
utime.time() is integer (i.e. 1-second resolution) on many embedded ports.
2016-02-15 12:17:21 +02:00
Paul Sokolovsky f6937ebb47 pystone_lowmem: Work arrays of size 25 instead of 51.
There're 2 arrays - one dimensional of 25 elements, and 2-dimensional
of 25x25 elements. Number of iterations stays the same, it's just
consecutive iterations may access the same array elements. So, while
the result of calculations may differ, the timing should stay about the
same (well, lowmem version will be a bit slower, as array index division
by 2 is used in several places).
2016-02-15 12:17:21 +02:00
Paul Sokolovsky 28de12557b pystone_lowmem: Pystone version for small heap systems.
Start with exact copy of pystone.py from micropython-lib (which is pristine
upstream version, just importing from "utime" module instead of "time").
2016-02-15 12:17:21 +02:00