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

fix(next): always enable absoluteRuntime when running under webpack #19538

Merged
merged 2 commits into from Jan 11, 2021

Conversation

merceyz
Copy link
Contributor

@merceyz merceyz commented Nov 25, 2020

What's the problem this PR addresses?

In #18921 I enabled absoluteRuntime for everyone (it was only enabled for PnP users) but didn't consider that people used the babel preset outside of the webpack build.

Fixes #19448 - Since it doesn't contain a repro I can't be certain but based on feedback from @koshea in #18921 (comment) I'll assume @RossMcMillan92 is doing the same thing, because when next is building it doesn't leave absolute paths as external.
Confirmed in #18921 (comment)

How did you fix it?

Only enable absoluteRuntime when the preset is running under babel-loader

@vercel vercel bot temporarily deployed to Preview Nov 25, 2020 Inactive
@merceyz merceyz changed the title fix(next): only enable absolute runtime when running under webpack fix(next): only enable absoluteRuntime when running under webpack Nov 25, 2020
@ijjk
Copy link
Member

ijjk commented Nov 25, 2020

Stats from current PR

Default Server Mode
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 8.6s 8.6s -23ms
nodeModulesSize 85 MB 85 MB ⚠️ +410 B
Page Load Tests Overall increase ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
/ failed reqs 0 0
/ total time (seconds) 1.939 1.952 ⚠️ +0.01
/ avg req/sec 1289.15 1280.62 ⚠️ -8.53
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.131 1.126 -0.01
/error-in-render avg req/sec 2209.94 2219.73 +9.79
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..8b81.js gzip 12.8 kB 12.8 kB
framework.HASH.js gzip 39 kB 39 kB
main-fbd7082..8b7a.js gzip 6.54 kB 6.54 kB
webpack-e067..f178.js gzip 751 B 751 B
Overall change 59 kB 59 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-4b..e242.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-3b0cf13..85f8.js gzip 1.28 kB 1.28 kB
_error-6f635..c393.js gzip 3.44 kB 3.44 kB
hooks-d4ffc3..9e0f.js gzip 887 B 887 B
index-17468f..5d83.js gzip 227 B 227 B
link-b618194..5477.js gzip 1.61 kB 1.61 kB
routerDirect..924c.js gzip 284 B 284 B
withRouter-7..c13d.js gzip 284 B 284 B
Overall change 8.01 kB 8.01 kB
Client Build Manifests
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime 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
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 10s 10.2s ⚠️ +189ms
nodeModulesSize 85 MB 85 MB ⚠️ +410 B
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..8b81.js gzip 12.8 kB 12.8 kB
framework.HASH.js gzip 39 kB 39 kB
main-fbd7082..8b7a.js gzip 6.54 kB 6.54 kB
webpack-e067..f178.js gzip 751 B 751 B
Overall change 59 kB 59 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-4b..e242.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-3b0cf13..85f8.js gzip 1.28 kB 1.28 kB
_error-6f635..c393.js gzip 3.44 kB 3.44 kB
hooks-d4ffc3..9e0f.js gzip 887 B 887 B
index-17468f..5d83.js gzip 227 B 227 B
link-b618194..5477.js gzip 1.61 kB 1.61 kB
routerDirect..924c.js gzip 284 B 284 B
withRouter-7..c13d.js gzip 284 B 284 B
Overall change 8.01 kB 8.01 kB
Client Build Manifests
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_error.js 996 kB 996 kB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 996 kB 996 kB
link.js 1.05 MB 1.05 MB
routerDirect.js 1.04 MB 1.04 MB
withRouter.js 1.04 MB 1.04 MB
Overall change 5.13 MB 5.13 MB
Commit: d23a71f

@guybedford
Copy link
Contributor

guybedford commented Nov 25, 2020

In #18921 I enabled absoluteRuntime for everyone (it was only enabled for PnP users) but didn't consider that people used the babel preset outside of the webpack build.

I can appreciate this resolves the issue for @koshea, but I'm not sure it resolves the original bug posted by @RossMcMillan92 as it sounded to me like they were running the webpack build itself in another environment.

Unless I'm mistaken, I would suggest a straightforward revert as in general inlining absolute paths is brittle.

@merceyz
Copy link
Contributor Author

merceyz commented Nov 25, 2020

I can appreciate this resolves the issue for @koshea, but I'm not sure it resolves the original bug posted by @RossMcMillan92 as it sounded to me like they were running the webpack build itself in another environment.

Unless I'm mistaken, I would suggest a straightforward revert as in general inlining absolute paths is brittle.

Webpack will bundle the absolute paths based on the webpack config in next so that most likely isn't the problem (without a repro who knows), it's more of a problem to not use absolute paths here as you heavily rely on hoisting to bring you the correct version at the correct location. For example in a monorepo where you have next transpiling the other workspaces the @babel/runtime version from next must be located at the root, which is not guaranteed and is undefined behaviour.

@ijjk
Copy link
Member

ijjk commented Nov 26, 2020

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 10.7s 11s ⚠️ +350ms
nodeModulesSize 85 MB 85 MB ⚠️ +266 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
/ failed reqs 0 0
/ total time (seconds) 2.399 2.482 ⚠️ +0.08
/ avg req/sec 1041.95 1007.37 ⚠️ -34.58
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.396 1.427 ⚠️ +0.03
/error-in-render avg req/sec 1791.19 1752.4 ⚠️ -38.79
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..8b6e.js gzip 12.8 kB 12.8 kB
framework.HASH.js gzip 39 kB 39 kB
main-90b3d5a..55ad.js gzip 6.54 kB 6.54 kB
webpack-e067..f178.js gzip 751 B 751 B
Overall change 59 kB 59 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-4b..e242.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-7231d4b..5856.js gzip 1.28 kB 1.28 kB
_error-fca3d..2eb1.js gzip 3.44 kB 3.44 kB
hooks-d4591d..e7c2.js gzip 887 B 887 B
index-17468f..5d83.js gzip 227 B 227 B
link-db223d9..dbd7.js gzip 1.61 kB 1.61 kB
routerDirect..924c.js gzip 284 B 284 B
withRouter-7..c13d.js gzip 284 B 284 B
Overall change 8.01 kB 8.01 kB
Client Build Manifests
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Rendered Page Sizes
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime 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

Diffs

Diff for _buildManifest.js
@@ -2,12 +2,12 @@ self.__BUILD_MANIFEST = {
   __rewrites: [],
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-9b57cae5694a39479222.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-760f653e71e48010adf7.js"
   ],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-bdd2cad07648acf22380.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-880757f1d73d6b241fc3.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-00f0f71a76f57326f2aa.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-ba0d611ec0553be6b825.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-2e9bfd441bd88cd3382e.js"
   ],
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-eaa8900178673c89664d.js"
+      href="/_next/static/chunks/main-1be8f767878913a01046.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a8f91a45a8b4eae9202a.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.8592ecbddd5517e7e4f9.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
+      href="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-f73ba3fc145972ef83e9.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-eaa8900178673c89664d.js"
+      src="/_next/static/chunks/main-1be8f767878913a01046.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a8f91a45a8b4eae9202a.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.8592ecbddd5517e7e4f9.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
+      src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-eaa8900178673c89664d.js"
+      href="/_next/static/chunks/main-1be8f767878913a01046.js"
       as="script"
     />
     <link
@@ -22,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a8f91a45a8b4eae9202a.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.8592ecbddd5517e7e4f9.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
+      href="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-00f0f71a76f57326f2aa.js"
+      href="/_next/static/chunks/pages/link-ba0d611ec0553be6b825.js"
       as="script"
     />
   </head>
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-f73ba3fc145972ef83e9.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-eaa8900178673c89664d.js"
+      src="/_next/static/chunks/main-1be8f767878913a01046.js"
       async=""
     ></script>
     <script
@@ -70,15 +70,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a8f91a45a8b4eae9202a.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.8592ecbddd5517e7e4f9.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
+      src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-00f0f71a76f57326f2aa.js"
+      src="/_next/static/chunks/pages/link-ba0d611ec0553be6b825.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-eaa8900178673c89664d.js"
+      href="/_next/static/chunks/main-1be8f767878913a01046.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a8f91a45a8b4eae9202a.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.8592ecbddd5517e7e4f9.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
+      href="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-f73ba3fc145972ef83e9.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-eaa8900178673c89664d.js"
+      src="/_next/static/chunks/main-1be8f767878913a01046.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a8f91a45a8b4eae9202a.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.8592ecbddd5517e7e4f9.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
+      src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
     ></script>
     <script

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 12.5s 12.8s ⚠️ +303ms
nodeModulesSize 85 MB 85 MB ⚠️ +266 B
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..8b6e.js gzip 12.8 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB
main-90b3d5a..55ad.js gzip 6.54 kB N/A N/A
webpack-e067..f178.js gzip 751 B 751 B
677f882d2ed8..8b81.js gzip N/A 12.8 kB N/A
main-fbd7082..8b7a.js gzip N/A 6.54 kB N/A
Overall change 59 kB 59 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-4b..e242.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-7231d4b..5856.js gzip 1.28 kB N/A N/A
_error-fca3d..2eb1.js gzip 3.44 kB N/A N/A
hooks-d4591d..e7c2.js gzip 887 B N/A N/A
index-17468f..5d83.js gzip 227 B 227 B
link-db223d9..dbd7.js gzip 1.61 kB N/A N/A
routerDirect..924c.js gzip 284 B 284 B
withRouter-7..c13d.js gzip 284 B 284 B
_app-3b0cf13..85f8.js gzip N/A 1.28 kB N/A
_error-6f635..c393.js gzip N/A 3.44 kB N/A
hooks-d4ffc3..9e0f.js gzip N/A 887 B N/A
link-b618194..5477.js gzip N/A 1.61 kB N/A
Overall change 8.01 kB 8.01 kB
Client Build Manifests
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 321 B 321 B
Overall change 321 B 321 B
Serverless bundles
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_error.js 996 kB 996 kB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 996 kB 996 kB
link.js 1.05 MB 1.05 MB
routerDirect.js 1.04 MB 1.04 MB
withRouter.js 1.04 MB 1.04 MB
Overall change 5.13 MB 5.13 MB
Commit: 55259aa

@merceyz merceyz force-pushed the merceyz/absolute-runtime branch from 55259aa to 7080799 Compare Jan 4, 2021
@ijjk
Copy link
Member

ijjk commented Jan 4, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 10.6s 10.6s -34ms
nodeModulesSize 80.6 MB 80.6 MB ⚠️ +269 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
/ failed reqs 0 0
/ total time (seconds) 2.167 2.175 ⚠️ +0.01
/ avg req/sec 1153.42 1149.6 ⚠️ -3.82
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.367 1.454 ⚠️ +0.09
/error-in-render avg req/sec 1828.9 1719.52 ⚠️ -109.38
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..396f.js gzip 13 kB 13 kB
framework.HASH.js gzip 39 kB 39 kB
main-fd59cc5..1b57.js gzip 6.59 kB 6.59 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.3 kB 59.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB 1.28 kB
_error-e2ffa..0f3f.js gzip 3.46 kB 3.46 kB
hooks-010c20..8411.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-705099c..c35d.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 Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 322 B -1 B
Overall change 323 B 322 B -1 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
index.html gzip 613 B 615 B ⚠️ +2 B
link.html gzip 619 B 621 B ⚠️ +2 B
withRouter.html gzip 607 B 608 B ⚠️ +1 B
Overall change 1.84 kB 1.84 kB ⚠️ +5 B

Diffs

Diff for _buildManifest.js
@@ -2,12 +2,12 @@ self.__BUILD_MANIFEST = {
   __rewrites: [],
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-5219d40a02e71ed7dcbf.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-20af334c64d8a5dc13e8.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-e3034768442652eac2c9.js"
   ],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-61cb7b66e376b851f63a.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-1de3df238a86bcb083d4.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-e404e0ff0d1ed82dadd1.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b19dfc1a8f3e7b5ee2b4.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-a5bdcfc87579b1d2776d.js"
   ],
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      href="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      src="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      href="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       as="script"
     />
     <link
@@ -22,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-e404e0ff0d1ed82dadd1.js"
+      href="/_next/static/chunks/pages/link-b19dfc1a8f3e7b5ee2b4.js"
       as="script"
     />
   </head>
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      src="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       async=""
     ></script>
     <script
@@ -70,15 +70,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-e404e0ff0d1ed82dadd1.js"
+      src="/_next/static/chunks/pages/link-b19dfc1a8f3e7b5ee2b4.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      href="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      src="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 12.9s 12.9s -14ms
nodeModulesSize 80.6 MB 80.6 MB ⚠️ +269 B
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..396f.js gzip 13 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB
main-fd59cc5..1b57.js gzip 6.59 kB N/A N/A
webpack-50be..df5b.js gzip 751 B 751 B
677f882d2ed8..1b6e.js gzip N/A 13 kB N/A
main-43445c7..042a.js gzip N/A 6.59 kB N/A
Overall change 59.3 kB 59.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB N/A N/A
_error-e2ffa..0f3f.js gzip 3.46 kB N/A N/A
hooks-010c20..8411.js gzip 887 B N/A N/A
index-bbee2f..528b.js gzip 227 B 227 B
link-705099c..c35d.js gzip 1.64 kB N/A N/A
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
_app-2a09aa2..4a98.js gzip N/A 1.28 kB N/A
_error-8b758..aef6.js gzip N/A 3.46 kB N/A
hooks-c71ae4..70cd.js gzip N/A 887 B N/A
link-be8e32c..9854.js gzip N/A 1.64 kB N/A
Overall change 8.09 kB 8.09 kB
Client Build Manifests Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 322 B -1 B
Overall change 323 B 322 B -1 B
Serverless bundles
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_error.js 1 MB 1 MB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB
link.js 1.06 MB 1.06 MB
routerDirect.js 1.05 MB 1.05 MB
withRouter.js 1.05 MB 1.05 MB
Overall change 5.17 MB 5.17 MB
Commit: 7080799

@merceyz merceyz force-pushed the merceyz/absolute-runtime branch from 7080799 to a5b53f2 Compare Jan 4, 2021
@merceyz merceyz changed the title fix(next): only enable absoluteRuntime when running under webpack fix(next): always enable absoluteRuntime when running under webpack Jan 4, 2021
@ijjk
Copy link
Member

ijjk commented Jan 4, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 10.5s 10.4s -79ms
nodeModulesSize 80.6 MB 80.6 MB ⚠️ +269 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
/ failed reqs 0 0
/ total time (seconds) 2.041 2.04 0
/ avg req/sec 1224.84 1225.36 +0.52
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.29 1.332 ⚠️ +0.04
/error-in-render avg req/sec 1938.29 1876.56 ⚠️ -61.73
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..396f.js gzip 13 kB 13 kB
framework.HASH.js gzip 39 kB 39 kB
main-fd59cc5..1b57.js gzip 6.59 kB 6.59 kB
webpack-50be..df5b.js gzip 751 B 751 B
Overall change 59.3 kB 59.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB 1.28 kB
_error-e2ffa..0f3f.js gzip 3.46 kB 3.46 kB
hooks-010c20..8411.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-705099c..c35d.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 Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 322 B -1 B
Overall change 323 B 322 B -1 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
index.html gzip 613 B 615 B ⚠️ +2 B
link.html gzip 619 B 621 B ⚠️ +2 B
withRouter.html gzip 607 B 608 B ⚠️ +1 B
Overall change 1.84 kB 1.84 kB ⚠️ +5 B

Diffs

Diff for _buildManifest.js
@@ -2,12 +2,12 @@ self.__BUILD_MANIFEST = {
   __rewrites: [],
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-5219d40a02e71ed7dcbf.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-20af334c64d8a5dc13e8.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-e3034768442652eac2c9.js"
   ],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-61cb7b66e376b851f63a.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-1de3df238a86bcb083d4.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-e404e0ff0d1ed82dadd1.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b19dfc1a8f3e7b5ee2b4.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-a5bdcfc87579b1d2776d.js"
   ],
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      href="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      src="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      href="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       as="script"
     />
     <link
@@ -22,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-e404e0ff0d1ed82dadd1.js"
+      href="/_next/static/chunks/pages/link-b19dfc1a8f3e7b5ee2b4.js"
       as="script"
     />
   </head>
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      src="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       async=""
     ></script>
     <script
@@ -70,15 +70,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-e404e0ff0d1ed82dadd1.js"
+      src="/_next/static/chunks/pages/link-b19dfc1a8f3e7b5ee2b4.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      href="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-c812617d01862dbb6f36.js"
+      src="/_next/static/chunks/main-b20dd05c972b7381ae3d.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.9902b2dd64f53b900612.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.bb47b148af66c9f9a3cb.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 12.4s 12.3s -61ms
nodeModulesSize 80.6 MB 80.6 MB ⚠️ +269 B
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..396f.js gzip 13 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB
main-fd59cc5..1b57.js gzip 6.59 kB N/A N/A
webpack-50be..df5b.js gzip 751 B 751 B
677f882d2ed8..1b6e.js gzip N/A 13 kB N/A
main-43445c7..042a.js gzip N/A 6.59 kB N/A
Overall change 59.3 kB 59.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB N/A N/A
_error-e2ffa..0f3f.js gzip 3.46 kB N/A N/A
hooks-010c20..8411.js gzip 887 B N/A N/A
index-bbee2f..528b.js gzip 227 B 227 B
link-705099c..c35d.js gzip 1.64 kB N/A N/A
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
_app-2a09aa2..4a98.js gzip N/A 1.28 kB N/A
_error-8b758..aef6.js gzip N/A 3.46 kB N/A
hooks-c71ae4..70cd.js gzip N/A 887 B N/A
link-be8e32c..9854.js gzip N/A 1.64 kB N/A
Overall change 8.09 kB 8.09 kB
Client Build Manifests Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 322 B -1 B
Overall change 323 B 322 B -1 B
Serverless bundles
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_error.js 1 MB 1 MB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB
link.js 1.06 MB 1.06 MB
routerDirect.js 1.05 MB 1.05 MB
withRouter.js 1.05 MB 1.05 MB
Overall change 5.17 MB 5.17 MB
Commit: a5b53f2

@merceyz merceyz force-pushed the merceyz/absolute-runtime branch from a5b53f2 to ebd4579 Compare Jan 9, 2021
@ijjk
Copy link
Member

ijjk commented Jan 9, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 10.4s 10.1s -322ms
nodeModulesSize 80.8 MB 80.8 MB ⚠️ +269 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
/ failed reqs 0 0
/ total time (seconds) 2.001 2.06 ⚠️ +0.06
/ avg req/sec 1249.62 1213.33 ⚠️ -36.29
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.226 1.3 ⚠️ +0.07
/error-in-render avg req/sec 2039.75 1922.75 ⚠️ -117
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..89aa.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-dba4ec1..27c0.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 merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB 1.28 kB
_error-e2ffa..0f3f.js gzip 3.46 kB 3.46 kB
hooks-010c20..8411.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-d979103..c5ff.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 Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 321 B -2 B
Overall change 323 B 321 B -2 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
index.html gzip 614 B 615 B ⚠️ +1 B
link.html gzip 619 B 620 B ⚠️ +1 B
withRouter.html gzip 606 B 607 B ⚠️ +1 B
Overall change 1.84 kB 1.84 kB ⚠️ +3 B

Diffs

Diff for _buildManifest.js
@@ -2,12 +2,12 @@ self.__BUILD_MANIFEST = {
   __rewrites: [],
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-5219d40a02e71ed7dcbf.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-20af334c64d8a5dc13e8.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-e3034768442652eac2c9.js"
   ],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-61cb7b66e376b851f63a.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-1de3df238a86bcb083d4.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-962753530581a360a524.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-3a08ad7c5282582ee217.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-a5bdcfc87579b1d2776d.js"
   ],
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      href="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      src="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      href="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       as="script"
     />
     <link
@@ -22,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-962753530581a360a524.js"
+      href="/_next/static/chunks/pages/link-3a08ad7c5282582ee217.js"
       as="script"
     />
   </head>
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      src="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       async=""
     ></script>
     <script
@@ -70,15 +70,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-962753530581a360a524.js"
+      src="/_next/static/chunks/pages/link-3a08ad7c5282582ee217.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      href="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      src="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 12s 12.3s ⚠️ +329ms
nodeModulesSize 80.8 MB 80.8 MB ⚠️ +269 B
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..89aa.js gzip 13.1 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB
main-dba4ec1..27c0.js gzip 6.63 kB N/A N/A
webpack-50be..df5b.js gzip 751 B 751 B
677f882d2ed8..b025.js gzip N/A 13.1 kB N/A
main-9769710..cf61.js gzip N/A 6.63 kB N/A
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB N/A N/A
_error-e2ffa..0f3f.js gzip 3.46 kB N/A N/A
hooks-010c20..8411.js gzip 887 B N/A N/A
index-bbee2f..528b.js gzip 227 B 227 B
link-d979103..c5ff.js gzip 1.64 kB N/A N/A
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
_app-2a09aa2..4a98.js gzip N/A 1.28 kB N/A
_error-8b758..aef6.js gzip N/A 3.46 kB N/A
hooks-c71ae4..70cd.js gzip N/A 887 B N/A
link-7faf09b..eba4.js gzip N/A 1.64 kB N/A
Overall change 8.09 kB 8.09 kB
Client Build Manifests Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 321 B -2 B
Overall change 323 B 321 B -2 B
Serverless bundles
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_error.js 1 MB 1 MB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB
link.js 1.06 MB 1.06 MB
routerDirect.js 1.05 MB 1.05 MB
withRouter.js 1.05 MB 1.05 MB
Overall change 5.18 MB 5.18 MB
Commit: ebd4579

@ijjk
Copy link
Member

ijjk commented Jan 11, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 11s 11s ⚠️ +5ms
nodeModulesSize 80.9 MB 80.9 MB ⚠️ +269 B
Page Load Tests Overall increase ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
/ failed reqs 0 0
/ total time (seconds) 2.309 2.281 -0.03
/ avg req/sec 1082.73 1095.84 +13.11
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.638 1.611 -0.03
/error-in-render avg req/sec 1525.82 1551.52 +25.7
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..89aa.js gzip 13.1 kB 13.1 kB
framework.HASH.js gzip 39 kB 39 kB
main-dba4ec1..27c0.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 merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB 1.28 kB
_error-e2ffa..0f3f.js gzip 3.46 kB 3.46 kB
hooks-010c20..8411.js gzip 887 B 887 B
index-bbee2f..528b.js gzip 227 B 227 B
link-d979103..c5ff.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 Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 321 B -2 B
Overall change 323 B 321 B -2 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
index.html gzip 614 B 615 B ⚠️ +1 B
link.html gzip 619 B 620 B ⚠️ +1 B
withRouter.html gzip 606 B 607 B ⚠️ +1 B
Overall change 1.84 kB 1.84 kB ⚠️ +3 B

Diffs

Diff for _buildManifest.js
@@ -2,12 +2,12 @@ self.__BUILD_MANIFEST = {
   __rewrites: [],
   "/": ["static\u002Fchunks\u002Fpages\u002Findex-5219d40a02e71ed7dcbf.js"],
   "/_error": [
-    "static\u002Fchunks\u002Fpages\u002F_error-20af334c64d8a5dc13e8.js"
+    "static\u002Fchunks\u002Fpages\u002F_error-e3034768442652eac2c9.js"
   ],
   "/hooks": [
-    "static\u002Fchunks\u002Fpages\u002Fhooks-61cb7b66e376b851f63a.js"
+    "static\u002Fchunks\u002Fpages\u002Fhooks-1de3df238a86bcb083d4.js"
   ],
-  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-962753530581a360a524.js"],
+  "/link": ["static\u002Fchunks\u002Fpages\u002Flink-3a08ad7c5282582ee217.js"],
   "/routerDirect": [
     "static\u002Fchunks\u002Fpages\u002FrouterDirect-a5bdcfc87579b1d2776d.js"
   ],
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      href="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      src="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      href="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       as="script"
     />
     <link
@@ -22,17 +22,17 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/link-962753530581a360a524.js"
+      href="/_next/static/chunks/pages/link-3a08ad7c5282582ee217.js"
       as="script"
     />
   </head>
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      src="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       async=""
     ></script>
     <script
@@ -70,15 +70,15 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/link-962753530581a360a524.js"
+      src="/_next/static/chunks/pages/link-3a08ad7c5282582ee217.js"
       async=""
     ></script>
     <script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      href="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       as="script"
     />
     <link
@@ -22,12 +22,12 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      href="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
       src="/_next/static/chunks/polyfills-ae47a1f95297af5f55f8.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-6b66615487b2bff789df.js"
+      src="/_next/static/chunks/main-aa9c0397916bfe32ed8f.js"
       async=""
     ></script>
     <script
@@ -65,11 +65,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.f470eb4208df1d1152fd.js"
+      src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.a45bac3e08278884f33a.js"
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/pages/_app-f6044d7389b6f97833eb.js"
+      src="/_next/static/chunks/pages/_app-b9cf267ce11e4373e54e.js"
       async=""
     ></script>
     <script

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
buildDuration 13.3s 13.1s -231ms
nodeModulesSize 80.9 MB 80.9 MB ⚠️ +269 B
Client Bundles (main, webpack, commons)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
677f882d2ed8..89aa.js gzip 13.1 kB N/A N/A
framework.HASH.js gzip 39 kB 39 kB
main-dba4ec1..27c0.js gzip 6.63 kB N/A N/A
webpack-50be..df5b.js gzip 751 B 751 B
677f882d2ed8..b025.js gzip N/A 13.1 kB N/A
main-9769710..cf61.js gzip N/A 6.63 kB N/A
Overall change 59.4 kB 59.4 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
polyfills-81..14d7.js gzip 31.2 kB 31.2 kB
Overall change 31.2 kB 31.2 kB
Client Pages
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_app-b6fc6bc..222c.js gzip 1.28 kB N/A N/A
_error-e2ffa..0f3f.js gzip 3.46 kB N/A N/A
hooks-010c20..8411.js gzip 887 B N/A N/A
index-bbee2f..528b.js gzip 227 B 227 B
link-d979103..c5ff.js gzip 1.64 kB N/A N/A
routerDirect..bf84.js gzip 303 B 303 B
withRouter-a..5826.js gzip 302 B 302 B
_app-2a09aa2..4a98.js gzip N/A 1.28 kB N/A
_error-8b758..aef6.js gzip N/A 3.46 kB N/A
hooks-c71ae4..70cd.js gzip N/A 887 B N/A
link-7faf09b..eba4.js gzip N/A 1.64 kB N/A
Overall change 8.09 kB 8.09 kB
Client Build Manifests Overall decrease ✓
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_buildManifest.js gzip 323 B 321 B -2 B
Overall change 323 B 321 B -2 B
Serverless bundles
vercel/next.js canary merceyz/next.js merceyz/absolute-runtime Change
_error.js 1 MB 1 MB
404.html 2.67 kB 2.67 kB
hooks.html 1.92 kB 1.92 kB
index.js 1 MB 1 MB
link.js 1.06 MB 1.06 MB
routerDirect.js 1.05 MB 1.05 MB
withRouter.js 1.05 MB 1.05 MB
Overall change 5.18 MB 5.18 MB
Commit: c7b9b22

@kodiakhq kodiakhq bot merged commit 4e3eb73 into vercel:canary Jan 11, 2021
26 of 28 checks passed
@merceyz merceyz deleted the merceyz/absolute-runtime branch Jan 11, 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.

5 participants