Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line arguments seem to do nothing #4

Open
Heath123 opened this issue Apr 17, 2022 · 2 comments
Open

Command line arguments seem to do nothing #4

Heath123 opened this issue Apr 17, 2022 · 2 comments

Comments

@Heath123
Copy link

Heath123 commented Apr 17, 2022

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
Copy link
Author

Heath123 commented Apr 17, 2022

Using Gnome Web because I wanted to see how fast Webkit would execute WebAssembly compared to Firefox and Chrome

@Heath123
Copy link
Author

I can work around this by compiling with ITERATIONS=[n]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant