gecko-dev/third_party/webkit/PerformanceTests/webaudio
..
README.md
VERSION
benchmarks.js
generate-grafana-dashboard.js
index.html
template-row.json
think-mono-38000.wav
think-mono-44100.wav
think-mono-48000.wav
think-mono.wav
think-stereo-38000.wav
think-stereo-44100.wav
think-stereo-48000.wav
update.sh
webaudio-bench.js
webaudio-dashboard.json
webaudio.json

README.md

webaudio-benchmark

Run

Just open index.html. Time are in milliseconds, lower is better.

Adding new benchmarks

Look into benchmarks.js, it's pretty straightforward.

Grafana dashboard

When adding new benchmarks, run node generate-grafana-dashboard.js, this should overwrite webaudio.json so that the new benchmarks are registered in grafana.

License

MPL 2.0