stdlib: start with valid random seed; other small changes

-  tridoracpu: fix comment
-  add benchmark some results
This commit is contained in:
slederer 2025-03-09 01:57:11 +01:00
parent dd1e1f7b41
commit 4f504c0f48
3 changed files with 51 additions and 3 deletions

View file

@ -0,0 +1,48 @@
------------------------
Arty-A7-35T
83MHz, 64KB SRAM, 256MB DRAM
Running benchmarks.prog
empty loop 10M 00:00:09
write variable 10M 00:00:10
read variable 10M 00:00:12
integer addition 10M 00:00:16
real addition 1M 00:00:27
integer multiplication 1M 00:01:07
real multiplication 1M 00:00:58
integer division 1M 00:01:44
real division 1M 00:01:06
string indexing 1M 00:00:27
string iteration 1M 00:00:11
new/dispose 1k 1M 00:00:19
new/dispose 128k 1M 00:00:19
array copy 1k 10K 00:00:02
array copy 128k 1K 00:00:44
exp() 10K 00:00:29
cos() 10K 00:00:06
--------------------------------------
Arty-A7-35T
83MHz, 64KB SRAM, 256MB DRAM
running in DRAM only (except corelib, stdlib, runtime)
Running benchmarks.prog
empty loop 10M 00:00:30
write variable 10M 00:00:37
read variable 10M 00:00:40
integer addition 10M 00:00:48
real addition 1M 00:00:31
integer multiplication 1M 00:01:11
real multiplication 1M 00:01:03
integer division 1M 00:01:48
real division 1M 00:01:11
string indexing 1M 00:01:13
string iteration 1M 00:00:47
new/dispose 1k 1M 00:00:27
new/dispose 128k 1M 00:00:27
array copy 1k 10K 00:00:03
array copy 128k 1K 00:00:44
exp() 10K 00:00:29
cos() 10K 00:00:06