astro/benchmark/make-project
2025-01-08 21:15:18 +08:00
..
_template.js Fix biome correctness checks (#12929) 2025-01-08 21:15:18 +08:00
_util.js Add page render benchmark (#6415) 2023-03-06 22:55:44 +08:00
image.jpg Content Layer (#11360) 2024-08-14 11:49:19 +01:00
markdown-cc1.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
markdown-cc2.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
mdx-cc1.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
mdx-cc2.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
memory-default.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
README.md Fix typos (#10923) 2024-05-01 13:56:38 +08:00
render-bench.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
render-default.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +00:00
server-stress-default.js refactor: use vitest for benchmarks (#12605) 2024-12-03 17:03:24 +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 overridden 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.