summaryrefslogtreecommitdiff
path: root/benchmark/bench/_template.js
blob: ae96d72ad52290a157aed24f0d71386999383a2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/** Default project to run for this benchmark if not specified */
export const defaultProject = 'project-name';

/**
 * Run benchmark on `projectDir` and write results to `outputFile`.
 * Use `console.log` to report the results too. Logs that start with 10 `=`
 * and end with 10 `=` will be extracted by CI to display in the PR comment.
 * Usually after the first 10 `=` you'll want to add a title like `#### Test`.
 * @param {URL} _projectDir
 * @param {URL} _outputFile
 */
export async function run(_projectDir, _outputFile) {}