_template.js 528 B

123456789101112
  1. /** Default project to run for this benchmark if not specified */
  2. export const defaultProject = 'project-name';
  3. /**
  4. * Run benchmark on `projectDir` and write results to `outputFile`.
  5. * Use `console.log` to report the results too. Logs that start with 10 `=`
  6. * and end with 10 `=` will be extracted by CI to display in the PR comment.
  7. * Usually after the first 10 `=` you'll want to add a title like `#### Test`.
  8. * @param {URL} projectDir
  9. * @param {URL} outputFile
  10. */
  11. export async function run(projectDir, outputFile) {}