Wykres commitów

11 Commity (bf8eef9d9e7fc0f08a11f3792c233babbdbb7c29)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 6ec58b6d97 pystone_lowmem: Release 3.4.2-4. 2016-11-08 01:53:53 +03:00
Paul Sokolovsky fb47cd8bc5 pystone_lowmem: Update for new signature of ticks_diff() (args swapped). 2016-11-08 01:52:59 +03:00
Paul Sokolovsky dfe4dee62a all: setup.py: New releases for gzip 4k conversion. 2016-10-11 06:47:01 +03:00
Paul Sokolovsky 65fb3707ba all: metadata.txt: Bump version for gzip 4k conversion. 2016-10-11 06:46:12 +03:00
Paul Sokolovsky 07da5583d5 pystone_lowmem: Release 3.4.2-2. 2016-05-10 00:42:25 +03:00
Paul Sokolovsky cdff8ff7c6 pystone_lowmem: Lower default loop numbers to 500 (100 times less than was).
On 80MHz RISC system, that runs in ~2s. So, even on a 10MHz system, random
run should not make user wonder if a system hanged. Of course, for more
precise measurement, more loops should be used, e.g.:

pystone_lowmem.main(1000)
2016-05-10 00:22:24 +03:00
Paul Sokolovsky 8e8a574aac pystone_lowmem: Use integer arithmetic for time calculation.
So, now will also run on ports without floating point.
2016-05-10 00:21:45 +03:00
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