File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 77
88run ()
99{
10- echo " ===== $@ "
10+ echo " ===== $1 "
11+ shift 1
12+ echo " ----- $@ "
1113 OUTPUT=$( mktemp)
1214 ./test/run-ffmpeg.sh /usr/bin/time -l " $@ " > ${OUTPUT} 2>&1
1315 grep -E " (real.*user.*sys|instructions retired|peak memory footprint|maximum resident set size)" ${OUTPUT}
@@ -19,16 +21,16 @@ run()
1921# which use malloc+read to load wasm binaries.
2022
2123TOYWASM=${TOYWASM:- toywasm}
22- run ${TOYWASM} --wasi --wasi-dir .video --
23- # run ${TOYWASM} --wasi --wasi-dir .video --disable-jump-table --disable-localtype-cellidx --disable-resulttype-cellidx --
24+ run " toywasm " ${TOYWASM} --wasi --wasi-dir .video --
25+ # run "toywasm" ${TOYWASM} --wasi --wasi-dir .video --disable-jump-table --disable-localtype-cellidx --disable-resulttype-cellidx --
2426
25- run wasm3 --dir .video --
27+ run " $( wasm3 --version | head -1 ) " wasm3 --dir .video --
2628
27- run iwasm.fast --dir=.video
28- run iwasm.classic --dir=.video
29+ run " $( iwasm.fast --version ) (fast interpreter) " iwasm.fast --dir=.video
30+ run " $( iwasm.classic --version ) (classic interpreter) " iwasm.classic --dir=.video
2931# Note: i needed to tweak these size options manually to run
3032# this particular wasm binary
31- run iwasm.fast-jit --dir=.video --jit-codecache-size=100000000 --stack-size=100000
33+ run " $( iwasm.fast-jit --version ) (fast jit) " iwasm.fast-jit -- dir=.video --jit-codecache-size=100000000
3234
33- run wasmer run --dir .video --
34- run wasmtime run --dir .video --
35+ run " $( wasmer --version ) " wasmer run --dir .video --
36+ run " $( wasmtime --version ) " wasmtime run --dir .video --
You can’t perform that action at this time.
0 commit comments