summaryrefslogtreecommitdiff
path: root/benchmark/index.js
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2023-07-10 23:43:01 +0800
committerGravatar GitHub <noreply@github.com> 2023-07-10 23:43:01 +0800
commit255dead86fdcc9f744f58a69c0f32ee70dd3ab90 (patch)
treec60e492733f47ac74184e371a84079063005329e /benchmark/index.js
parent65ecbcb2867030a7e0a9bb65e808fdcb7e430f5a (diff)
downloadastro-255dead86fdcc9f744f58a69c0f32ee70dd3ab90.tar.gz
astro-255dead86fdcc9f744f58a69c0f32ee70dd3ab90.tar.zst
astro-255dead86fdcc9f744f58a69c0f32ee70dd3ab90.zip
Add CLI startup speed benchmark (#7617)
Diffstat (limited to 'benchmark/index.js')
-rwxr-xr-xbenchmark/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/index.js b/benchmark/index.js
index 7f59b40cc..d78d3010e 100755
--- a/benchmark/index.js
+++ b/benchmark/index.js
@@ -14,6 +14,7 @@ Command
memory Run build memory and speed test
render Run rendering speed test
server-stress Run server stress test
+ cli-startup Run CLI startup speed test
Options
--project <project-name> Project to use for benchmark, see benchmark/make-project/ for available names
@@ -27,6 +28,7 @@ const benchmarks = {
memory: () => import('./bench/memory.js'),
render: () => import('./bench/render.js'),
'server-stress': () => import('./bench/server-stress.js'),
+ 'cli-startup': () => import('./bench/cli-startup.js'),
};
if (commandName && !(commandName in benchmarks)) {