Skip to content

Commit a891d18

Browse files
committed
benchmark/ffmpeg.sh: remove on-disk cache
1 parent 447779d commit a891d18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

benchmark/ffmpeg.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ run()
1616
rm ${OUTPUT}
1717
}
1818

19+
# Remove on-disk cache for consistent results.
20+
# XXX what's the proper way to clear cache for wasmtime?
21+
wasmer cache clean
22+
rm -rf ~/Library/Caches/BytecodeAlliance.wasmtime
23+
1924
# Note: toywasm uses read-only mmap to load the wasm binary.
2025
# it might be a bit unfair to compare the memory stats with engines
2126
# which use malloc+read to load wasm binaries.

0 commit comments

Comments
 (0)