|
|
@ -5,19 +5,19 @@ https://github.com/eembc/coremark
|
|
|
|
### Results
|
|
|
|
### Results
|
|
|
|
|
|
|
|
|
|
|
|
```log
|
|
|
|
```log
|
|
|
|
Node v13.0.1 (interpreter) 28 51.0x
|
|
|
|
Node v13.0.1 (interpreter) 28 59.5x
|
|
|
|
wasm-micro-runtime 54 26.4x
|
|
|
|
wasm-micro-runtime 54 30.8x
|
|
|
|
wac (wax) 105 13.6x ▲ slower
|
|
|
|
wac (wax) 105 15.8x ▲ slower
|
|
|
|
wasm3 1428 1.0
|
|
|
|
wasm3 1666 1.0
|
|
|
|
Wasmer 0.11.0 singlepass 4285 3.0x ▼ faster
|
|
|
|
Wasmer 0.11.0 singlepass 4285 2.6x ▼ faster
|
|
|
|
wasmtime 0.7.0 (--optimize) 4615 3.2x
|
|
|
|
wasmtime 0.7.0 (--optimize) 4615 2.8x
|
|
|
|
Webassembly.sh (Chromium 78) 6111 4.3x
|
|
|
|
Webassembly.sh (Chromium 78) 6111 3.7x
|
|
|
|
Webassembly.sh (Firefox 70) 6470 4.5x
|
|
|
|
Webassembly.sh (Firefox 70) 6470 3.9x
|
|
|
|
Wasmer 0.11.0 cranelift 6875 4.8x
|
|
|
|
Wasmer 0.11.0 cranelift 6875 4.1x
|
|
|
|
wasmer-js (Node v13.0.1) 9090 6.4x
|
|
|
|
wasmer-js (Node v13.0.1) 9090 5.4x
|
|
|
|
Wasmer 0.11.0 llvm 10526 7.4x
|
|
|
|
Wasmer 0.11.0 llvm 10526 6.3x
|
|
|
|
WAVM 15384 10.8x
|
|
|
|
WAVM 15384 9.2x
|
|
|
|
Native (GCC 7.4.0, 32-bit) 17647 12.4x
|
|
|
|
Native (GCC 7.4.0, 32-bit) 19104 11.5x
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Building
|
|
|
|
### Building
|
|
|
@ -84,7 +84,7 @@ node ./coremark.js
|
|
|
|
make compile PORT_DIR=linux CC=gcc EXE=-x86.elf XCFLAGS="-m32"
|
|
|
|
make compile PORT_DIR=linux CC=gcc EXE=-x86.elf XCFLAGS="-m32"
|
|
|
|
./coremark-x86.elf
|
|
|
|
./coremark-x86.elf
|
|
|
|
|
|
|
|
|
|
|
|
make compile PORT_DIR=linux64 CC=gcc EXE=.elf
|
|
|
|
make compile PORT_DIR=linux64 CC=gcc EXE=-x64.elf
|
|
|
|
./coremark.elf
|
|
|
|
./coremark-x64.elf
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|