astro/benchmark/make-project
2023-03-07 10:52:47 +08:00
..
_template.js Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
_util.js Add page render benchmark (#6415) 2023-03-06 22:55:44 +08:00
memory-default.js Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
README.md Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
render-default.js Move benchmark package and update changeset config (#6433) 2023-03-07 10:52:47 +08:00
server-stress-default.js Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00

make-project

This make-project folder contains different files to programmatically create a new Astro project. They are created inside the projects folder and are gitignored. These projects are used by benchmarks for testing.

Each benchmark can specify the default project to run in its defaultProject export, but it can be overriden if --project <project-name> is passed through the CLI.

You can duplicate _template.js to start a new project script. All shared utilities are kept in _util.js.