Skip to content

Sources

github-actions[bot] edited this page Oct 20, 2026 · 2 revisions

Source formats

Cards below are generated from mock inputs by cargo run --example sources. Each card is parsed by the corresponding .oops source or built-in adapter.

Format OOPS Parser Description
go OOPS v1 sources/go.oops go test -bench columns; ns/op
jmh OOPS v1 sources/jmh.oops JMH JSON; ns/op lower is better
google OOPS v1 sources/google.oops cpu_time normalised to ns/op
google-console OOPS v1 sources/google_console.oops BM_ columns copied from the console table
swift OOPS v1 sources/swift.oops swift-benchmark --format json
androidx OOPS v1 sources/androidx.oops benchmarkData.json; ns/op or ms/op
phpbench OOPS v1 sources/phpbench.oops PHPBench JSONL report
techempower OOPS v1 sources/techempower.oops results.json rawData; req/s higher is better
benchmark-test-human OOPS v1 sources/benchmark_test_human.oops Dart benchmark_test default output
benchmark-test-benchmarkjs OOPS v1 sources/benchmark_test_benchmarkjs.oops Dart benchmark_test --output=benchmarkjs
benchmark-runner OOPS v1 sources/benchmark_runner.oops Dart benchmark_runner report blocks
criterion OOPS v1 sources/criterion.oops criterion target directory
benchmark-test-jsonl built-in built-in Dart benchmark_test --output=jsonl
benchmarkdotnet OOPS v2 sources/benchmarkdotnet.oops C#/.NET Markdown and CSV tables; ns/op or us/op
hyperfine built-in built-in hyperfine --export-json

Go testing

go · OOPS v1

Go testing

go test -bench columns; ns/op

Source preset: sources/go.oops

JMH

jmh · OOPS v1

JMH

JMH JSON; ns/op lower is better

Source preset: sources/jmh.oops

Google Benchmark JSON

google · OOPS v1

Google Benchmark JSON

cpu_time normalised to ns/op

Source preset: sources/google.oops

Google Benchmark console

google-console · OOPS v1

Google Benchmark console

BM_ columns copied from the console table

Source preset: sources/google_console.oops

swift-benchmark

swift · OOPS v1

swift-benchmark

swift-benchmark --format json

Source preset: sources/swift.oops

AndroidX Benchmark

androidx · OOPS v1

AndroidX Benchmark

benchmarkData.json; ns/op or ms/op

Source preset: sources/androidx.oops

PHPBench

phpbench · OOPS v1

PHPBench

PHPBench JSONL report

Source preset: sources/phpbench.oops

TechEmpower

techempower · OOPS v1

TechEmpower

results.json rawData; req/s higher is better

Source preset: sources/techempower.oops

benchmark_test human

benchmark-test-human · OOPS v1

benchmark_test human

Dart benchmark_test default output

Source preset: sources/benchmark_test_human.oops

benchmark_test BenchmarkJS

benchmark-test-benchmarkjs · OOPS v1

benchmark_test BenchmarkJS

Dart benchmark_test --output=benchmarkjs

Source preset: sources/benchmark_test_benchmarkjs.oops

benchmark_runner

benchmark-runner · OOPS v1

benchmark_runner

Dart benchmark_runner report blocks

Source preset: sources/benchmark_runner.oops

Criterion

criterion · OOPS v1

Criterion

criterion target directory

Source preset: sources/criterion.oops

benchmark_test JSONL

benchmark-test-jsonl · built-in

benchmark_test JSONL

Dart benchmark_test --output=jsonl

BenchmarkDotNet

benchmarkdotnet · OOPS v2

BenchmarkDotNet

C#/.NET Markdown and CSV tables; ns/op or us/op

Source preset: sources/benchmarkdotnet.oops

hyperfine

hyperfine · built-in

hyperfine

hyperfine --export-json