astro/benchmark
Bjorn Lu f4937949d6
Refactor benchmark script (#6376)
* Add timer setting

* Setup benchmark code

* Setup memory benchmark

* Add compare function

* Add result preview

* Setup results preview

* Simplify script for CI

* Update CI

* Cleanup

* Temp remove fork guard

* Fix stuff

* Fix again

* Fix quotes

* Fix multiline output

* Simplify title

* Fix memory numbers

* Remove astro bin dir

* Fix gc

* Add repo guards

* Fix wrong call

* Set max space size

* Remove guard

* Bump memory a bit

* Organize neatly

* Update readme

* Try large md

* Try no gc

* Revert markdown and gc changes

* Test sha

* Try ref

* Try 128mb

* Set 256

* Add guard

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Add docs comment

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-01 08:46:06 +00:00
..
bench Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
make-project Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
ci-helper.js Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
index.js Refactor benchmark script (#6376) 2023-03-01 08:46:06 +00:00
package.json 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

benchmark

Astro's main benchmark suite. It exposes the astro-benchmark CLI command. Run astro-benchmark --help to see all available commands!

If you'd like to understand how the benchmark works, check out the other READMEs in the subfolders.