Command line arguments seem to do nothing
Heath123 opened this issue · 2 comments
Heath123 commented
When I run this in https://webassembly.sh/ I get:
$ coremark
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 784065536
Total time (secs): 9.374000
Iterations/Sec : 21335.608840
ERROR! Must execute for at least 10 secs for a valid result!
Iterations : 200000
Compiler version : Clang 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)
Compiler flags : -O3
Memory location : STATIC
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x4983
Errors detected
So I tried to use coremark 0x0 0x0 0x66 300000
to do 300,000 iterations instead but I get:
$ coremark 0x0 0x0 0x66 300000
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 889065216
Total time (secs): 9.479000
Iterations/Sec : 21099.272502
ERROR! Must execute for at least 10 secs for a valid result!
Iterations : 200000
Compiler version : Clang 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)
Compiler flags : -O3
Memory location : STATIC
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x4983
Errors detected
It still says Iterations : 200000
so I think the argument was ignored
Heath123 commented
Using Gnome Web because I wanted to see how fast Webkit would execute WebAssembly compared to Firefox and Chrome
Heath123 commented
I can work around this by compiling with ITERATIONS=[n]