summaryrefslogtreecommitdiff
path: root/benchmark/index.js
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2023-03-06 22:55:44 +0800
committerGravatar GitHub <noreply@github.com> 2023-03-06 22:55:44 +0800
commitc5bac09a42d0bf2a3a9b53fed3743291c2109e43 (patch)
tree0a7b5a90fca6b450cb21f9e111bc4fbcbe26d0ba /benchmark/index.js
parente0844852d31d0f5680f2710aaa84e3e808aeb88d (diff)
downloadastro-c5bac09a42d0bf2a3a9b53fed3743291c2109e43.tar.gz
astro-c5bac09a42d0bf2a3a9b53fed3743291c2109e43.tar.zst
astro-c5bac09a42d0bf2a3a9b53fed3743291c2109e43.zip
Add page render benchmark (#6415)
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 6ac76759c..c05fafefa 100755
--- a/benchmark/index.js
+++ b/benchmark/index.js
@@ -12,6 +12,7 @@ astro-benchmark <command> [options]
Command
[empty] Run all benchmarks
memory Run build memory and speed test
+ render Run rendering speed test
server-stress Run server stress test
Options
@@ -24,6 +25,7 @@ Options
const commandName = args._[0];
const benchmarks = {
memory: () => import('./bench/memory.js'),
+ 'render': () => import('./bench/render.js'),
'server-stress': () => import('./bench/server-stress.js'),
};