0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/benchmark/bench/_template.js
2024-11-26 13:06:04 +00:00

12 lines
532 B
JavaScript

/** 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) {}