npx dev-bench init
- Github Auth (save token)
- Create:
config.benchmarks.ts
- how we run benchmarks (how many times, cool-down between them, default node, etc)config.environment.ts
- describes current environment where benchmark will be runningconfig.projects.ts
- what to run (where to clone from, what commands to run, etc.)config.reporters.ts
- how to report results (by which env key to group charts, etc.)
- user edits config:
- In
config.benchmarks.ts
sets to run benchmarks 3 times - In
config.environment.ts
addspowerMode: "Best performance"
- In
config.project.ts
adds projects and commands - In
config.reporters.ts
setsgroupByKey: "powerMode"
- In
npx dev-bench test
- Type-check all configs, clone all projects, apply patches, run commands once
- Configs are valid - upload
benchmarks
,project
andreporters
configs to Gist (do not uploadenvironment
)
npx dev-bench start
- Run all benchmarks
- Upload all results to Gist
- Change power mode from "Best Performance" to "Better Performance" in Windows Settings
- Update
config.environment.ts
to reflect the change
npx dev-bench start
- Run all benchmarks
- Upload all results to Gist
npx dev-bench compare
- Download all results from Gist
- Generate chart (and open it)
npx dev-bench init
- Github Auth
- Create:
config.benchmarks.ts
config.environment.ts
config.projects.ts
config.reporters.ts
- user edits config:
- In
config.project.ts
adds projects and commands - In
config.reporters.ts
setsgroupByKey: "platform"
- In
npx dev-bench test
- Test configs
- Upload configs to Gist
npx dev-bench start
- Run all benchmarks
- Upload all results to Gist
npx dev-bench start
- GitHub Auth (save token)
- Download all configs
- Run all benchmarks
- Upload all results to Gist
npx dev-bench compare
- Download all results from Gist
- Generate chart (and open it)
npx dev-bench init
- Github Auth
- Create:
config.benchmarks.ts
config.environment.ts
config.projects.ts
config.reporters.ts
- user edits config:
- In
config.environment.ts
addsdeviceName: "PC"
- In
config.project.ts
adds projects and commands - In
config.reporters.ts
setsgroupByKey: "deviceName"
- In
npx dev-bench test
- Test configs
- Upload configs to Gist
npx dev-bench start
- Run all benchmarks
- Upload all results to Gist
npx dev-bench init
- Github Auth
- Download:
config.benchmarks.ts
config.projects.ts
config.reporters.ts
- Create:
config.environment.ts
- user edits config:
- In
config.environment.ts
addsdeviceName: "Laptop"
- In
npx dev-bench start
- Run all benchmarks
- Upload all results to Gist
npx dev-bench compare
- Download all results from Gist
- Generate chart (and open it)