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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
532 B
JavaScript
Raw Normal View History

/** 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`.
2024-11-26 08:06:04 -05:00
* @param {URL} _projectDir
* @param {URL} _outputFile
*/
2024-11-26 08:06:04 -05:00
export async function run(_projectDir, _outputFile) {}