aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bench.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bench.sh')
-rw-r--r--tools/bench.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bench.sh b/tools/bench.sh
new file mode 100644
index 0000000..feeb714
--- /dev/null
+++ b/tools/bench.sh
@@ -0,0 +1 @@
+hyperfine --warmup=1 --style=nocolor 'php -d zend.assertions=-1 -d memory_limit=512M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php' | tee benchmarks/$(date '+%Y%m%d-%H%M').log