mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
d469bebd7b
* Improve Node.js performance using an AsyncIterable * Oops * Get rid of extra abstraction * Update .changeset/hip-cherries-behave.md Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> * Check if already resolved * Resolve on done * Get rid of unneeded "done" * Done when length is zero * Let errors resolve * Update packages/astro/src/runtime/server/render/astro/render.ts Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Move doctype to top-level * Document the new function * Update .changeset/hip-cherries-behave.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update .changeset/hip-cherries-behave.md --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> |
||
---|---|---|
.. | ||
_template.js | ||
_util.js | ||
cli-startup.js | ||
memory.js | ||
README.md | ||
render.js | ||
server-stress.js |
bench
This bench
folder contains different benchmarking files that you can run via astro-benchmark <bench-file-name>
, e.g. astro-benchmark memory
. Files that start with an underscore are not benchmarking files.
Benchmarking files will run against a project to measure its performance, and write the results down as JSON in the results
folder. The results
folder is gitignored and its result files can be safely deleted if you're not using them.
You can duplicate _template.js
to start a new benchmark test. All shared utilities are kept in _util.js
.