Benchmark results for grafana/k6#3112 comparing the run of
a simple script on master
(97d40e939
) and feat/2432-events
(d5897faac
),
with and without importing a JS module that uses events.
Commands ran:
$ go test -bench='^BenchmarkRun$' -run='^$' -benchtime=100x -count=10 -benchmem ./cmd/tests \
| tee "bench_run_$(git rev-parse --short HEAD).txt"
$ go test -bench='^BenchmarkRunEvents$' -run='^$' -benchtime=100x -count=10 -benchmem ./cmd/tests \
| tee "bench_run_events_$(git rev-parse --short HEAD).txt"
$ benchstat bench_run_97d40e939_master.txt bench_run_d5897faac.txt > bench_run_stat.txt
$ benchstat bench_run_events_d5897faac.txt > bench_run_events_stat.txt