Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: server/api-utils.ts #21148

Merged
merged 18 commits into from Jan 26, 2021
Merged

Conversation

tarunama
Copy link
Contributor

@tarunama tarunama commented Jan 15, 2021

  • Add return type to function
  • Add isNotValidData function for readability

@ijjk
Copy link
Member

ijjk commented Jan 15, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 8.5s 8.4s -81ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +157 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.644 1.735 ⚠️ +0.09
/ avg req/sec 1520.94 1441.15 ⚠️ -79.79
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.043 1.064 ⚠️ +0.02
/error-in-render avg req/sec 2397.87 2350.48 ⚠️ -47.39
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..b025.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-5e5e203..07ba.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 614 B 614 B
link.html gzip 619 B 619 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 9.8s 9.9s ⚠️ +150ms
nodeModulesSize 77.5 MB 77.5 MB -9.98 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..b025.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-5e5e203..07ba.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB ⚠️ +26 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB ⚠️ +26 B
link.js 1.06 MB 1.06 MB ⚠️ +26 B
routerDirect.js 1.05 MB 1.05 MB ⚠️ +26 B
withRouter.js 1.05 MB 1.05 MB ⚠️ +26 B
Overall change 5.18 MB 5.18 MB ⚠️ +130 B
Commit: 7c7c312

@ijjk
Copy link
Member

ijjk commented Jan 15, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 8.8s 9s ⚠️ +159ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +157 B
Page Load Tests Overall increase ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.781 1.794 ⚠️ +0.01
/ avg req/sec 1403.58 1393.87 ⚠️ -9.71
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.176 1.099 -0.08
/error-in-render avg req/sec 2126.41 2275.35 +148.94
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..b025.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-b70be25..6967.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 613 B 613 B
link.html gzip 619 B 619 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.7s 10.9s ⚠️ +161ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +157 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..b025.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-b70be25..6967.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB ⚠️ +26 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB ⚠️ +26 B
link.js 1.06 MB 1.06 MB ⚠️ +26 B
routerDirect.js 1.05 MB 1.05 MB ⚠️ +26 B
withRouter.js 1.05 MB 1.05 MB ⚠️ +26 B
Overall change 5.18 MB 5.18 MB ⚠️ +130 B
Commit: 044c1bb

@ijjk
Copy link
Member

ijjk commented Jan 15, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 8.8s 8.6s -179ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +157 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.703 1.718 ⚠️ +0.01
/ avg req/sec 1468.04 1455.07 ⚠️ -12.97
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.069 1.068 0
/error-in-render avg req/sec 2339.35 2340.29 +0.94
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..b025.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-b70be25..6967.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 613 B 613 B
link.html gzip 619 B 619 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.2s 10.4s ⚠️ +201ms
nodeModulesSize 77.5 MB 77.5 MB -9.98 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..b025.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-b70be25..6967.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB ⚠️ +26 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB ⚠️ +26 B
link.js 1.06 MB 1.06 MB ⚠️ +26 B
routerDirect.js 1.05 MB 1.05 MB ⚠️ +26 B
withRouter.js 1.05 MB 1.05 MB ⚠️ +26 B
Overall change 5.18 MB 5.18 MB ⚠️ +130 B
Commit: 6ac5ddb

@ijjk
Copy link
Member

ijjk commented Jan 16, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.4s 10.6s ⚠️ +171ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +157 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.018 2.041 ⚠️ +0.02
/ avg req/sec 1238.58 1224.62 ⚠️ -13.96
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.248 1.405 ⚠️ +0.16
/error-in-render avg req/sec 2003.85 1779.16 ⚠️ -224.69
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-712e20f..aa05.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 615 B 615 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 13.4s 13.3s -147ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +157 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-712e20f..aa05.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB ⚠️ +26 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB ⚠️ +26 B
link.js 1.06 MB 1.06 MB ⚠️ +26 B
routerDirect.js 1.05 MB 1.05 MB ⚠️ +26 B
withRouter.js 1.05 MB 1.05 MB ⚠️ +26 B
Overall change 5.18 MB 5.18 MB ⚠️ +130 B
Commit: fea0ac1

@@ -302,7 +304,7 @@ export function tryGetPreviewData(
try {
cookies = getCookies()
} catch {
// TODO: warn
console.warn('Did not get data from NextApiRequestCookies')
Copy link
Member

@timneutkens timneutkens Jan 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This warning is not clear for end users.

Copy link
Contributor Author

@tarunama tarunama Jan 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace warning message for end users.
119d1d2

} catch {
// TODO: warn
} catch (e) {
console.warn(`Failed to veriry jsonwebtoken: ${e}`)
Copy link
Member

@timneutkens timneutkens Jan 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This warning is not clear for end users.

Copy link
Contributor Author

@tarunama tarunama Jan 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, I do not have good idea of warning message for end users.
If end users does not jwt, navigate to URL of jwt spec.

@tarunama tarunama requested a review from timneutkens Jan 17, 2021
@ijjk
Copy link
Member

ijjk commented Jan 17, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.3s 10.5s ⚠️ +166ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +37 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.079 2.088 ⚠️ +0.01
/ avg req/sec 1202.25 1197.21 ⚠️ -5.04
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.353 1.357 0
/error-in-render avg req/sec 1847.4 1842.62 ⚠️ -4.78
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-712e20f..aa05.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 615 B 615 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 12.1s 12.2s ⚠️ +56ms
nodeModulesSize 77.5 MB 77.5 MB ⚠️ +37 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-712e20f..aa05.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -2 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -2 B
link.js 1.06 MB 1.06 MB -2 B
routerDirect.js 1.05 MB 1.05 MB -2 B
withRouter.js 1.05 MB 1.05 MB -2 B
Overall change 5.18 MB 5.18 MB -10 B
Commit: 6b27d59

@ijjk
Copy link
Member

ijjk commented Jan 18, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.4s 10.6s ⚠️ +234ms
nodeModulesSize 77.6 MB 77.6 MB ⚠️ +37 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.185 2.379 ⚠️ +0.19
/ avg req/sec 1144.42 1050.73 ⚠️ -93.69
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.574 1.619 ⚠️ +0.04
/error-in-render avg req/sec 1588.17 1544.24 ⚠️ -43.93
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-9e3e4e6..2023.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 614 B 614 B
link.html gzip 621 B 621 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 13.1s 12.4s -696ms
nodeModulesSize 77.6 MB 77.6 MB ⚠️ +37 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-9e3e4e6..2023.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -2 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -2 B
link.js 1.06 MB 1.06 MB -2 B
routerDirect.js 1.05 MB 1.05 MB -2 B
withRouter.js 1.05 MB 1.05 MB -2 B
Overall change 5.18 MB 5.18 MB -10 B

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 13.8s 13.1s -689ms
nodeModulesSize 77.6 MB 77.6 MB ⚠️ +37 B
Page Load Tests Overall increase ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.207 2.202 0
/ avg req/sec 1132.55 1135.51 +2.96
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.532 1.484 -0.05
/error-in-render avg req/sec 1631.62 1684.52 +52.9
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
597-3bd7d6bd..868b.js gzip 13 kB 13 kB
778-d412f8e7..3ee1.js gzip 6.56 kB 6.56 kB
838-adcbad39..6e83.js gzip 31.1 kB 31.1 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-6a6a792..6877.js gzip 96 B 96 B
webpack-e302..54e9.js gzip 954 B 954 B
Overall change 91 kB 91 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-a0..538c.js gzip 88 B 88 B
Overall change 88 B 88 B
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-a5b2e84..33cf.js gzip 1.26 kB 1.26 kB
_error-6f1f9..5577.js gzip 3.38 kB 3.38 kB
hooks-725de8..0a15.js gzip 904 B 904 B
index-939503..6e1c.js gzip 232 B 232 B
link-e0cc871..fdbb.js gzip 1.63 kB 1.63 kB
routerDirect..9360.js gzip 308 B 308 B
withRouter-6..44ec.js gzip 304 B 304 B
Overall change 8.02 kB 8.02 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 299 B 299 B
Overall change 299 B 299 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 585 B 585 B
link.html gzip 592 B 592 B
withRouter.html gzip 581 B 581 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "lbuoWvUXcubkCFLwzzsw2",
+        "buildId": "MAkwJwE2eVh1cg9gmzC6W",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/lbuoWvUXcubkCFLwzzsw2/_buildManifest.js"
+      src="/_next/static/MAkwJwE2eVh1cg9gmzC6W/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/lbuoWvUXcubkCFLwzzsw2/_ssgManifest.js"
+      src="/_next/static/MAkwJwE2eVh1cg9gmzC6W/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "lbuoWvUXcubkCFLwzzsw2",
+        "buildId": "MAkwJwE2eVh1cg9gmzC6W",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/lbuoWvUXcubkCFLwzzsw2/_buildManifest.js"
+      src="/_next/static/MAkwJwE2eVh1cg9gmzC6W/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/lbuoWvUXcubkCFLwzzsw2/_ssgManifest.js"
+      src="/_next/static/MAkwJwE2eVh1cg9gmzC6W/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "lbuoWvUXcubkCFLwzzsw2",
+        "buildId": "MAkwJwE2eVh1cg9gmzC6W",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/lbuoWvUXcubkCFLwzzsw2/_buildManifest.js"
+      src="/_next/static/MAkwJwE2eVh1cg9gmzC6W/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/lbuoWvUXcubkCFLwzzsw2/_ssgManifest.js"
+      src="/_next/static/MAkwJwE2eVh1cg9gmzC6W/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: a6eb637

@ijjk
Copy link
Member

ijjk commented Jan 19, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.6s 10.6s ⚠️ +3ms
nodeModulesSize 77.6 MB 77.6 MB ⚠️ +37 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.217 2.206 -0.01
/ avg req/sec 1127.62 1133.39 +5.77
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.365 1.392 ⚠️ +0.03
/error-in-render avg req/sec 1832.02 1795.82 ⚠️ -36.2
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-9e3e4e6..2023.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 614 B 614 B
link.html gzip 621 B 621 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 12.8s 12.8s
nodeModulesSize 77.6 MB 77.6 MB ⚠️ +37 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-9e3e4e6..2023.js gzip 6.63 kB 6.63 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-af..9390.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -2 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -2 B
link.js 1.06 MB 1.06 MB -2 B
routerDirect.js 1.05 MB 1.05 MB -2 B
withRouter.js 1.05 MB 1.05 MB -2 B
Overall change 5.18 MB 5.18 MB -10 B

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 13.2s 13.5s ⚠️ +275ms
nodeModulesSize 77.6 MB 77.6 MB ⚠️ +37 B
Page Load Tests Overall increase ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.192 2.162 -0.03
/ avg req/sec 1140.6 1156.59 +15.99
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.466 1.396 -0.07
/error-in-render avg req/sec 1705.49 1790.82 +85.33
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
597-3bd7d6bd..868b.js gzip 13 kB 13 kB
778-d412f8e7..3ee1.js gzip 6.56 kB 6.56 kB
838-adcbad39..6e83.js gzip 31.1 kB 31.1 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-6a6a792..6877.js gzip 96 B 96 B
webpack-e302..54e9.js gzip 954 B 954 B
Overall change 91 kB 91 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-a0..538c.js gzip 88 B 88 B
Overall change 88 B 88 B
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-a5b2e84..33cf.js gzip 1.26 kB 1.26 kB
_error-6f1f9..5577.js gzip 3.38 kB 3.38 kB
hooks-725de8..0a15.js gzip 904 B 904 B
index-939503..6e1c.js gzip 232 B 232 B
link-e0cc871..fdbb.js gzip 1.63 kB 1.63 kB
routerDirect..9360.js gzip 308 B 308 B
withRouter-6..44ec.js gzip 304 B 304 B
Overall change 8.02 kB 8.02 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 299 B 299 B
Overall change 299 B 299 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 585 B 585 B
link.html gzip 592 B 592 B
withRouter.html gzip 581 B 581 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "0JaFQ-Y8AaBuvIEcWAc1O",
+        "buildId": "nhSwW2qqmAiqZbFzMMABM",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/0JaFQ-Y8AaBuvIEcWAc1O/_buildManifest.js"
+      src="/_next/static/nhSwW2qqmAiqZbFzMMABM/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/0JaFQ-Y8AaBuvIEcWAc1O/_ssgManifest.js"
+      src="/_next/static/nhSwW2qqmAiqZbFzMMABM/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "0JaFQ-Y8AaBuvIEcWAc1O",
+        "buildId": "nhSwW2qqmAiqZbFzMMABM",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/0JaFQ-Y8AaBuvIEcWAc1O/_buildManifest.js"
+      src="/_next/static/nhSwW2qqmAiqZbFzMMABM/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/0JaFQ-Y8AaBuvIEcWAc1O/_ssgManifest.js"
+      src="/_next/static/nhSwW2qqmAiqZbFzMMABM/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "0JaFQ-Y8AaBuvIEcWAc1O",
+        "buildId": "nhSwW2qqmAiqZbFzMMABM",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/0JaFQ-Y8AaBuvIEcWAc1O/_buildManifest.js"
+      src="/_next/static/nhSwW2qqmAiqZbFzMMABM/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/0JaFQ-Y8AaBuvIEcWAc1O/_ssgManifest.js"
+      src="/_next/static/nhSwW2qqmAiqZbFzMMABM/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 08fd66f

@ijjk
Copy link
Member

ijjk commented Jan 21, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 8.8s 8.9s ⚠️ +78ms
nodeModulesSize 73.3 MB 73.3 MB ⚠️ +37 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.748 1.801 ⚠️ +0.05
/ avg req/sec 1430.19 1388.5 ⚠️ -41.69
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.042 1.106 ⚠️ +0.06
/error-in-render avg req/sec 2400.29 2260.76 ⚠️ -139.53
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 616 B 616 B
link.html gzip 621 B 621 B
withRouter.html gzip 609 B 609 B
Overall change 1.85 kB 1.85 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.6s 10.4s -202ms
nodeModulesSize 73.3 MB 73.3 MB ⚠️ +37 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..43e3.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -2 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -2 B
link.js 1.06 MB 1.06 MB -2 B
routerDirect.js 1.05 MB 1.05 MB -2 B
withRouter.js 1.05 MB 1.05 MB -2 B
Overall change 5.19 MB 5.19 MB -10 B

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.6s 10.4s -210ms
nodeModulesSize 73.3 MB 73.3 MB ⚠️ +37 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.755 1.805 ⚠️ +0.05
/ avg req/sec 1424.14 1385.03 ⚠️ -39.11
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.124 1.141 ⚠️ +0.02
/error-in-render avg req/sec 2223.68 2190.52 ⚠️ -33.16
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
597-3bd7d6bd..868b.js gzip 13 kB 13 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.58 kB 6.58 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 59.8 kB 59.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-a5b2e84..33cf.js gzip 1.26 kB 1.26 kB
_error-6f1f9..5577.js gzip 3.38 kB 3.38 kB
hooks-725de8..0a15.js gzip 904 B 904 B
index-939503..6e1c.js gzip 232 B 232 B
link-e0cc871..fdbb.js gzip 1.63 kB 1.63 kB
routerDirect..9360.js gzip 308 B 308 B
withRouter-6..44ec.js gzip 304 B 304 B
Overall change 8.02 kB 8.02 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 299 B 299 B
Overall change 299 B 299 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 585 B 585 B
link.html gzip 592 B 592 B
withRouter.html gzip 579 B 579 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "Z-SgoMbpabAG2w4NMHo8f",
+        "buildId": "xXpSSlvlxPSEkXdUcTI5T",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/Z-SgoMbpabAG2w4NMHo8f/_buildManifest.js"
+      src="/_next/static/xXpSSlvlxPSEkXdUcTI5T/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/Z-SgoMbpabAG2w4NMHo8f/_ssgManifest.js"
+      src="/_next/static/xXpSSlvlxPSEkXdUcTI5T/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "Z-SgoMbpabAG2w4NMHo8f",
+        "buildId": "xXpSSlvlxPSEkXdUcTI5T",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/Z-SgoMbpabAG2w4NMHo8f/_buildManifest.js"
+      src="/_next/static/xXpSSlvlxPSEkXdUcTI5T/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/Z-SgoMbpabAG2w4NMHo8f/_ssgManifest.js"
+      src="/_next/static/xXpSSlvlxPSEkXdUcTI5T/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "Z-SgoMbpabAG2w4NMHo8f",
+        "buildId": "xXpSSlvlxPSEkXdUcTI5T",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/Z-SgoMbpabAG2w4NMHo8f/_buildManifest.js"
+      src="/_next/static/xXpSSlvlxPSEkXdUcTI5T/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/Z-SgoMbpabAG2w4NMHo8f/_ssgManifest.js"
+      src="/_next/static/xXpSSlvlxPSEkXdUcTI5T/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 519c5bc

@ijjk
Copy link
Member

ijjk commented Jan 25, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 8.8s 8.7s -82ms
nodeModulesSize 74.9 MB 74.9 MB -100 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.714 1.761 ⚠️ +0.05
/ avg req/sec 1458.59 1419.27 ⚠️ -39.32
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.046 1.069 ⚠️ +0.02
/error-in-render avg req/sec 2389.98 2339.1 ⚠️ -50.88
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 614 B 614 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.4s 10.4s -30ms
nodeModulesSize 74.9 MB 74.9 MB -100 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -50 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -50 B
link.js 1.06 MB 1.06 MB -50 B
routerDirect.js 1.05 MB 1.05 MB -50 B
withRouter.js 1.05 MB 1.05 MB -50 B
Overall change 5.19 MB 5.19 MB -250 B

Webpack 5 Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.6s 10.5s -181ms
nodeModulesSize 74.9 MB 74.9 MB -100 B
Page Load Tests Overall increase ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.759 1.721 -0.04
/ avg req/sec 1421.56 1452.77 +31.21
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.122 1.108 -0.01
/error-in-render avg req/sec 2228.94 2256.46 +27.52
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
597-c48889ef..1870.js gzip 13 kB 13 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.58 kB 6.58 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 59.8 kB 59.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-a5b2e84..33cf.js gzip 1.26 kB 1.26 kB
_error-6f1f9..5577.js gzip 3.38 kB 3.38 kB
hooks-725de8..0a15.js gzip 904 B 904 B
index-939503..6e1c.js gzip 232 B 232 B
link-e0cc871..fdbb.js gzip 1.63 kB 1.63 kB
routerDirect..9360.js gzip 308 B 308 B
withRouter-6..44ec.js gzip 304 B 304 B
Overall change 8.02 kB 8.02 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 299 B 299 B
Overall change 299 B 299 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 588 B 588 B
link.html gzip 593 B 593 B
withRouter.html gzip 581 B 581 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "W1cB4k9H61KUTAXQPS_61",
+        "buildId": "nZ2QgQRS6qIN46E_NxZI7",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/W1cB4k9H61KUTAXQPS_61/_buildManifest.js"
+      src="/_next/static/nZ2QgQRS6qIN46E_NxZI7/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/W1cB4k9H61KUTAXQPS_61/_ssgManifest.js"
+      src="/_next/static/nZ2QgQRS6qIN46E_NxZI7/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "W1cB4k9H61KUTAXQPS_61",
+        "buildId": "nZ2QgQRS6qIN46E_NxZI7",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/W1cB4k9H61KUTAXQPS_61/_buildManifest.js"
+      src="/_next/static/nZ2QgQRS6qIN46E_NxZI7/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/W1cB4k9H61KUTAXQPS_61/_ssgManifest.js"
+      src="/_next/static/nZ2QgQRS6qIN46E_NxZI7/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "W1cB4k9H61KUTAXQPS_61",
+        "buildId": "nZ2QgQRS6qIN46E_NxZI7",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/W1cB4k9H61KUTAXQPS_61/_buildManifest.js"
+      src="/_next/static/nZ2QgQRS6qIN46E_NxZI7/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/W1cB4k9H61KUTAXQPS_61/_ssgManifest.js"
+      src="/_next/static/nZ2QgQRS6qIN46E_NxZI7/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: d7bfae6

@ijjk
Copy link
Member

ijjk commented Jan 26, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 9s 8.8s -136ms
nodeModulesSize 74.9 MB 74.9 MB -100 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.719 1.715 0
/ avg req/sec 1454.04 1457.57 +3.53
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.099 1.108 ⚠️ +0.01
/error-in-render avg req/sec 2274.93 2256.86 ⚠️ -18.07
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 614 B 614 B
link.html gzip 620 B 620 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.4s 10.5s ⚠️ +119ms
nodeModulesSize 74.9 MB 74.9 MB -100 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -50 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -50 B
link.js 1.06 MB 1.06 MB -50 B
routerDirect.js 1.05 MB 1.05 MB -50 B
withRouter.js 1.05 MB 1.05 MB -50 B
Overall change 5.19 MB 5.19 MB -250 B

Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.6s 10.7s ⚠️ +116ms
nodeModulesSize 74.9 MB 74.9 MB -100 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.709 1.761 ⚠️ +0.05
/ avg req/sec 1462.69 1419.89 ⚠️ -42.8
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.094 1.126 ⚠️ +0.03
/error-in-render avg req/sec 2284.63 2219.64 ⚠️ -64.99
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
597-c48889ef..1870.js gzip 13 kB 13 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.58 kB 6.58 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 59.8 kB 59.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-a5b2e84..33cf.js gzip 1.26 kB 1.26 kB
_error-6f1f9..5577.js gzip 3.38 kB 3.38 kB
hooks-725de8..0a15.js gzip 904 B 904 B
index-939503..6e1c.js gzip 232 B 232 B
link-e0cc871..fdbb.js gzip 1.63 kB 1.63 kB
routerDirect..9360.js gzip 308 B 308 B
withRouter-6..44ec.js gzip 304 B 304 B
Overall change 8.02 kB 8.02 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 299 B 299 B
Overall change 299 B 299 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 587 B 587 B
link.html gzip 591 B 591 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "4kxZWWbUYd2-QOPC1us3k",
+        "buildId": "mlkVt9ZUAw_J5_L5clLcA",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/4kxZWWbUYd2-QOPC1us3k/_buildManifest.js"
+      src="/_next/static/mlkVt9ZUAw_J5_L5clLcA/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/4kxZWWbUYd2-QOPC1us3k/_ssgManifest.js"
+      src="/_next/static/mlkVt9ZUAw_J5_L5clLcA/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "4kxZWWbUYd2-QOPC1us3k",
+        "buildId": "mlkVt9ZUAw_J5_L5clLcA",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/4kxZWWbUYd2-QOPC1us3k/_buildManifest.js"
+      src="/_next/static/mlkVt9ZUAw_J5_L5clLcA/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/4kxZWWbUYd2-QOPC1us3k/_ssgManifest.js"
+      src="/_next/static/mlkVt9ZUAw_J5_L5clLcA/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "4kxZWWbUYd2-QOPC1us3k",
+        "buildId": "mlkVt9ZUAw_J5_L5clLcA",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/4kxZWWbUYd2-QOPC1us3k/_buildManifest.js"
+      src="/_next/static/mlkVt9ZUAw_J5_L5clLcA/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/4kxZWWbUYd2-QOPC1us3k/_ssgManifest.js"
+      src="/_next/static/mlkVt9ZUAw_J5_L5clLcA/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 31be4e0

@timneutkens
Copy link
Member

timneutkens commented Jan 26, 2021

Thanks!

@ijjk
Copy link
Member

ijjk commented Jan 26, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 10.3s 10.6s ⚠️ +264ms
nodeModulesSize 74.9 MB 74.9 MB -101 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 1.969 2.089 ⚠️ +0.12
/ avg req/sec 1269.43 1196.57 ⚠️ -72.86
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.268 1.273 0
/error-in-render avg req/sec 1971.13 1963.85 ⚠️ -7.28
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 614 B 614 B
link.html gzip 620 B 620 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 12.8s 12.2s -600ms
nodeModulesSize 74.9 MB 74.9 MB -101 B
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
677f882d2ed8..38ed.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.63 kB 6.63 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
hooks-c71ae4..70cd.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-7faf09b..eba4.js gzip 1.64 kB 1.64 kB
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
Overall change 8.09 kB 8.09 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_error.js 1 MB 1 MB -50 B
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB -50 B
link.js 1.06 MB 1.06 MB -50 B
routerDirect.js 1.05 MB 1.05 MB -50 B
withRouter.js 1.05 MB 1.05 MB -50 B
Overall change 5.19 MB 5.19 MB -250 B

Webpack 5 Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
buildDuration 12.8s 12.8s ⚠️ +12ms
nodeModulesSize 74.9 MB 74.9 MB -101 B
Page Load Tests Overall increase ✓
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
/ failed reqs 0 0
/ total time (seconds) 2.009 2.067 ⚠️ +0.06
/ avg req/sec 1244.71 1209.52 ⚠️ -35.19
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.305 1.252 -0.05
/error-in-render avg req/sec 1914.98 1997.48 +82.5
Client Bundles (main, webpack, commons)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
597-c48889ef..1870.js gzip 13 kB 13 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.58 kB 6.58 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 59.8 kB 59.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_app-a5b2e84..33cf.js gzip 1.26 kB 1.26 kB
_error-6f1f9..5577.js gzip 3.38 kB 3.38 kB
hooks-725de8..0a15.js gzip 904 B 904 B
index-939503..6e1c.js gzip 232 B 232 B
link-e0cc871..fdbb.js gzip 1.63 kB 1.63 kB
routerDirect..9360.js gzip 308 B 308 B
withRouter-6..44ec.js gzip 304 B 304 B
Overall change 8.02 kB 8.02 kB
Client Build Manifests
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
_buildManifest.js gzip 299 B 299 B
Overall change 299 B 299 B
Rendered Page Sizes
vercel/next.js canary tarunama/next.js refactor/server-api-utils Change
index.html gzip 587 B 587 B
link.html gzip 591 B 591 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "5Vz3J5nmtxSs0Flwyx2PV",
+        "buildId": "dRzC5bdbvfAzWF0WXo5nc",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/5Vz3J5nmtxSs0Flwyx2PV/_buildManifest.js"
+      src="/_next/static/dRzC5bdbvfAzWF0WXo5nc/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/5Vz3J5nmtxSs0Flwyx2PV/_ssgManifest.js"
+      src="/_next/static/dRzC5bdbvfAzWF0WXo5nc/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "5Vz3J5nmtxSs0Flwyx2PV",
+        "buildId": "dRzC5bdbvfAzWF0WXo5nc",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/5Vz3J5nmtxSs0Flwyx2PV/_buildManifest.js"
+      src="/_next/static/dRzC5bdbvfAzWF0WXo5nc/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/5Vz3J5nmtxSs0Flwyx2PV/_ssgManifest.js"
+      src="/_next/static/dRzC5bdbvfAzWF0WXo5nc/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "5Vz3J5nmtxSs0Flwyx2PV",
+        "buildId": "dRzC5bdbvfAzWF0WXo5nc",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/5Vz3J5nmtxSs0Flwyx2PV/_buildManifest.js"
+      src="/_next/static/dRzC5bdbvfAzWF0WXo5nc/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/5Vz3J5nmtxSs0Flwyx2PV/_ssgManifest.js"
+      src="/_next/static/dRzC5bdbvfAzWF0WXo5nc/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: c04002b

@kodiakhq kodiakhq bot merged commit c110e45 into vercel:canary Jan 26, 2021
26 of 28 checks passed
@tarunama tarunama deleted the refactor/server-api-utils branch Jan 27, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants