Skip to content

Commit 75312e9

Browse files
committed
improve stats action performance metrics
- Lower regression thresholds to 10ms/2% and 1KB/1% to catch all meaningful Next.js regressions - Add 3-decimal precision for seconds (1.234s instead of 1.2s) - Rename metrics: 'Boot/Ready' -> 'Listen/First Request' for clarity - Emphasize Turbopack (default), collapse Webpack as legacy - Add single glossary instead of 5 repetitive dropdowns - Simplify group names (no 'Turbopack' prefix since it's default)
1 parent c093116 commit 75312e9

File tree

11 files changed

+2898
-1139
lines changed

11 files changed

+2898
-1139
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 'Next.js PR Stats'
2+
description: 'Compare PR stats with canary'
3+
inputs:
4+
bundler:
5+
description: 'Bundler to benchmark (webpack|turbopack|both)'
6+
default: 'both'
7+
required: false
8+
runs:
9+
using: 'docker'
10+
image: 'Dockerfile'

.github/actions/next-stats-action/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"private": true,
33
"main": "src/index.js",
44
"dependencies": {
5+
"@vercel/kv": "^1.0.1",
56
"async-sema": "^3.1.0",
67
"execa": "2.0.3",
78
"get-port": "^5.0.0",

0 commit comments

Comments
 (0)