next.js icon indicating copy to clipboard operation
next.js copied to clipboard

add `page` to `reportWebVitals` payload

Open jackjdleslie opened this issue 4 years ago • 7 comments

Feature

fixes #23457

  • [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • [x] Related issues linked using fixes #number
  • [ ] Integration tests added
  • [x] Documentation added
  • [ ] Telemetry added. In case of a feature if it's used or not.

jackjdleslie avatar Mar 27 '21 15:03 jackjdleslie

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 15.3s 15.1s -235ms
nodeModulesSize 61.8 MB 61.8 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.143 2.148 ⚠️ +0.01
/ avg req/sec 1166.43 1163.98 ⚠️ -2.45
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.397 1.486 ⚠️ +0.09
/error-in-render avg req/sec 1789.75 1682.84 ⚠️ -106.91
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
597-31f97ebd..2557.js gzip 13.3 kB 13.3 kB
778-be276ce6..765f.js gzip 7.05 kB 7.06 kB ⚠️ +8 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-bdbd9e6..6cfe.js gzip 1.3 kB 1.3 kB
_error-b58c1..9b8e.js gzip 3.4 kB 3.4 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-d124373..c521.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 8.76 kB 8.76 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 609 B 609 B
link.html gzip 615 B 616 B ⚠️ +1 B
withRouter.html gzip 603 B 604 B ⚠️ +1 B
Overall change 1.83 kB 1.83 kB ⚠️ +2 B

Diffs

Diff for main-HASH.js
@@ -674,7 +674,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
                             label:
                               entryType === "mark" || entryType === "measure"
                                 ? "custom"
-                                : "web-vital"
+                                : "web-vital",
+                            page: window.__NEXT_DATA__.page
                           });
                         };
                       }
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-118933c365587b6ae717.js"
+      href="/_next/static/chunks/main-619e9d4e1a01ecc1b302.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-118933c365587b6ae717.js"
+      src="/_next/static/chunks/main-619e9d4e1a01ecc1b302.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-118933c365587b6ae717.js"
+      href="/_next/static/chunks/main-619e9d4e1a01ecc1b302.js"
       as="script"
     />
     <link
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-118933c365587b6ae717.js"
+      src="/_next/static/chunks/main-619e9d4e1a01ecc1b302.js"
       async=""
     ></script>
     <script
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-118933c365587b6ae717.js"
+      href="/_next/static/chunks/main-619e9d4e1a01ecc1b302.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-118933c365587b6ae717.js"
+      src="/_next/static/chunks/main-619e9d4e1a01ecc1b302.js"
       async=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 19.4s 18.7s -683ms
nodeModulesSize 61.8 MB 61.8 MB ⚠️ +155 B
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
597-31f97ebd..2557.js gzip 13.3 kB 13.3 kB
778-be276ce6..765f.js gzip 7.05 kB N/A N/A
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
778-2875198a..eae5.js gzip N/A 7.06 kB N/A
Overall change 60.8 kB 60.8 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-bdbd9e6..6cfe.js gzip 1.3 kB 1.3 kB
_error-b58c1..9b8e.js gzip 3.4 kB 3.4 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-d124373..c521.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 8.76 kB 8.76 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_error.js 1.34 MB 1.34 MB ⚠️ +2 B
404.html 2.76 kB 2.76 kB
500.html 2.75 kB 2.75 kB
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.96 kB 1.96 kB
hooks.html 2.01 kB 2.01 kB
index.js 1.34 MB 1.34 MB
link.js 1.4 MB 1.4 MB
routerDirect.js 1.39 MB 1.39 MB
withRouter.js 1.39 MB 1.39 MB
Overall change 6.89 MB 6.89 MB ⚠️ +2 B

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 15.2s 15.4s ⚠️ +175ms
nodeModulesSize 61.8 MB 61.8 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.108 2.097 -0.01
/ avg req/sec 1186 1192.07 +6.07
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.394 1.427 ⚠️ +0.03
/error-in-render avg req/sec 1793.63 1752.38 ⚠️ -41.25
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
597-31f97ebd..2557.js gzip 13.3 kB 13.3 kB
778-be276ce6..765f.js gzip 7.05 kB 7.06 kB ⚠️ +8 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-bdbd9e6..6cfe.js gzip 1.3 kB 1.3 kB
_error-b58c1..9b8e.js gzip 3.4 kB 3.4 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-d124373..c521.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 8.76 kB 8.76 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 609 B 609 B
link.html gzip 615 B 616 B ⚠️ +1 B
withRouter.html gzip 603 B 604 B ⚠️ +1 B
Overall change 1.83 kB 1.83 kB ⚠️ +2 B

Diffs

Diff for 778-be276ce6..62b71765f.js
@@ -254,43 +254,43 @@
         v = p(r(3935)),
         y = r(4287),
         g = p(r(7332)),
-        b = r(1642),
-        S = r(1689),
-        _ = r(3288),
+        _ = r(1642),
+        b = r(1689),
+        S = r(3288),
         w = d(r(4915)),
         E = d(r(9186)),
         x = r(3937),
-        P = r(1567),
-        T = p(r(2771)),
+        T = r(1567),
+        P = p(r(2771)),
         C = p(r(7365)),
         A = p(r(4829)),
         k = r(6975),
         M = r(2441),
-        R = JSON.parse(document.getElementById("__NEXT_DATA__").textContent);
-      window.__NEXT_DATA__ = R;
+        N = JSON.parse(document.getElementById("__NEXT_DATA__").textContent);
+      window.__NEXT_DATA__ = N;
       t.version = "10.0.10-canary.12";
-      var N = function(e) {
+      var R = function(e) {
           return [].slice.call(e);
         },
-        L = R.props,
-        F = R.err,
-        D = R.page,
-        I = R.query,
-        j = R.buildId,
-        O = R.assetPrefix,
-        B = R.runtimeConfig,
-        q = R.dynamicIds,
-        H = R.isFallback,
-        X = R.locale,
-        U = R.locales,
-        G = R.domainLocales,
-        V = R.isPreview,
-        W = R.defaultLocale,
+        L = N.props,
+        F = N.err,
+        D = N.page,
+        I = N.query,
+        j = N.buildId,
+        O = N.assetPrefix,
+        B = N.runtimeConfig,
+        q = N.dynamicIds,
+        H = N.isFallback,
+        X = N.locale,
+        U = N.locales,
+        G = N.domainLocales,
+        V = N.isPreview,
+        W = N.defaultLocale,
         J = O || "";
       (r.p = "".concat(J, "/_next/")),
         E.setConfig({ serverRuntimeConfig: {}, publicRuntimeConfig: B || {} });
       var Y = (0, x.getURL)();
-      (0, S.hasBasePath)(Y) && (Y = (0, S.delBasePath)(Y));
+      (0, b.hasBasePath)(Y) && (Y = (0, b.delBasePath)(Y));
       var Q = new C.default(j, J),
         $ = function(e) {
           var t = l(e, 2),
@@ -310,7 +310,7 @@
         K,
         Z,
         ee,
-        te = (0, T.default)(),
+        te = (0, P.default)(),
         re = document.getElementById("__next");
       t.router = K;
       var ne,
@@ -334,8 +334,8 @@
                   this.scrollToHash(),
                     K.isSsr &&
                       (H ||
-                        (R.nextExport &&
-                          ((0, _.isDynamicRoute)(K.pathname) ||
+                        (N.nextExport &&
+                          ((0, S.isDynamicRoute)(K.pathname) ||
                             location.search)) ||
                         (L && L.__N_SSG && location.search)) &&
                       K.replace(
@@ -439,7 +439,8 @@
                                 label:
                                   "mark" === c || "measure" === c
                                     ? "custom"
-                                    : "web-vital"
+                                    : "web-vital",
+                                page: window.__NEXT_DATA__.page
                               });
                           }),
                         (i = F),
@@ -665,7 +666,7 @@
             }
           },
           h.default.createElement(
-            b.RouterContext.Provider,
+            _.RouterContext.Provider,
             { value: (0, M.makePublicRouterInstance)(K) },
             h.default.createElement(
               y.HeadManagerContext.Provider,
@@ -717,7 +718,7 @@
                 u();
               }
             },
-            h.default.createElement(be, {
+            h.default.createElement(_e, {
               callback: function() {
                 if (a && !c) {
                   for (
@@ -726,7 +727,7 @@
                           return e.href;
                         })
                       ),
-                      r = N(document.querySelectorAll("style[data-n-href]")),
+                      r = R(document.querySelectorAll("style[data-n-href]")),
                       n = r.map(function(e) {
                         return e.getAttribute("data-n-href");
                       }),
@@ -747,7 +748,7 @@
                       r &&
                         (i.parentNode.insertBefore(r, i.nextSibling), (i = r));
                     }),
-                    N(document.querySelectorAll("link[data-n-p]")).forEach(
+                    R(document.querySelectorAll("link[data-n-p]")).forEach(
                       function(e) {
                         e.parentNode.removeChild(e);
                       }
@@ -762,7 +763,7 @@
               null,
               h.default.createElement(t, i),
               h.default.createElement(
-                P.Portal,
+                T.Portal,
                 { type: "next-route-announcer" },
                 h.default.createElement(k.RouteAnnouncer, null)
               )
@@ -771,7 +772,7 @@
         return (
           (function() {
             if (!a) return !1;
-            var e = N(document.querySelectorAll("style[data-n-href]")),
+            var e = R(document.querySelectorAll("style[data-n-href]")),
               t = new Set(
                 e.map(function(e) {
                   return e.getAttribute("data-n-href");
@@ -817,7 +818,7 @@
           r
         );
       }
-      function be(e) {
+      function _e(e) {
         var t = e.callback;
         return (
           h.default.useLayoutEffect(
Diff for index.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-bc90dd2435e8268f4c97.js"
+      href="/_next/static/chunks/webpack-0219ef0783c50871a126.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/778-be276ce6b6462b71765f.js"
+      href="/_next/static/chunks/778-2875198ab95dbb67eae5.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "ORwK-KoqS1gANoQvTOWqj",
+        "buildId": "e4Cl7wITUGa2LO9VgFxaF",
         "isFallback": false,
         "gip": true
       }
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-8683bd742a84c1edd48c.js"
     ></script>
     <script
-      src="/_next/static/chunks/webpack-bc90dd2435e8268f4c97.js"
+      src="/_next/static/chunks/webpack-0219ef0783c50871a126.js"
       async=""
     ></script>
     <script
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/778-be276ce6b6462b71765f.js"
+      src="/_next/static/chunks/778-2875198ab95dbb67eae5.js"
       async=""
     ></script>
     <script
@@ -86,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/ORwK-KoqS1gANoQvTOWqj/_buildManifest.js"
+      src="/_next/static/e4Cl7wITUGa2LO9VgFxaF/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/ORwK-KoqS1gANoQvTOWqj/_ssgManifest.js"
+      src="/_next/static/e4Cl7wITUGa2LO9VgFxaF/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-bc90dd2435e8268f4c97.js"
+      href="/_next/static/chunks/webpack-0219ef0783c50871a126.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/778-be276ce6b6462b71765f.js"
+      href="/_next/static/chunks/778-2875198ab95dbb67eae5.js"
       as="script"
     />
     <link
@@ -53,7 +53,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "ORwK-KoqS1gANoQvTOWqj",
+        "buildId": "e4Cl7wITUGa2LO9VgFxaF",
         "isFallback": false,
         "gip": true
       }
@@ -63,7 +63,7 @@
       src="/_next/static/chunks/polyfills-8683bd742a84c1edd48c.js"
     ></script>
     <script
-      src="/_next/static/chunks/webpack-bc90dd2435e8268f4c97.js"
+      src="/_next/static/chunks/webpack-0219ef0783c50871a126.js"
       async=""
     ></script>
     <script
@@ -75,7 +75,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/778-be276ce6b6462b71765f.js"
+      src="/_next/static/chunks/778-2875198ab95dbb67eae5.js"
       async=""
     ></script>
     <script
@@ -91,11 +91,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/ORwK-KoqS1gANoQvTOWqj/_buildManifest.js"
+      src="/_next/static/e4Cl7wITUGa2LO9VgFxaF/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/ORwK-KoqS1gANoQvTOWqj/_ssgManifest.js"
+      src="/_next/static/e4Cl7wITUGa2LO9VgFxaF/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -7,7 +7,7 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-bc90dd2435e8268f4c97.js"
+      href="/_next/static/chunks/webpack-0219ef0783c50871a126.js"
       as="script"
     />
     <link
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/778-be276ce6b6462b71765f.js"
+      href="/_next/static/chunks/778-2875198ab95dbb67eae5.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "ORwK-KoqS1gANoQvTOWqj",
+        "buildId": "e4Cl7wITUGa2LO9VgFxaF",
         "isFallback": false,
         "gip": true
       }
@@ -58,7 +58,7 @@
       src="/_next/static/chunks/polyfills-8683bd742a84c1edd48c.js"
     ></script>
     <script
-      src="/_next/static/chunks/webpack-bc90dd2435e8268f4c97.js"
+      src="/_next/static/chunks/webpack-0219ef0783c50871a126.js"
       async=""
     ></script>
     <script
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/778-be276ce6b6462b71765f.js"
+      src="/_next/static/chunks/778-2875198ab95dbb67eae5.js"
       async=""
     ></script>
     <script
@@ -86,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/ORwK-KoqS1gANoQvTOWqj/_buildManifest.js"
+      src="/_next/static/e4Cl7wITUGa2LO9VgFxaF/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/ORwK-KoqS1gANoQvTOWqj/_ssgManifest.js"
+      src="/_next/static/e4Cl7wITUGa2LO9VgFxaF/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 57e107ab3571a427799105bc6289c30695b8071d

ijjk avatar Mar 27 '21 16:03 ijjk

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 11.2s 10.8s -365ms
nodeModulesSize 61.8 MB 61.8 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 1.904 1.91 ⚠️ +0.01
/ avg req/sec 1312.91 1309.18 ⚠️ -3.73
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.151 1.156 0
/error-in-render avg req/sec 2172.5 2162.24 ⚠️ -10.26
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..7edd.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.11 kB 7.12 kB ⚠️ +6 B
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB ⚠️ +6 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 370 B 370 B
Overall change 370 B 370 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 613 B 612 B -1 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 606 B -2 B
Overall change 1.84 kB 1.84 kB -3 B

Diffs

Diff for main-HASH.js
@@ -674,7 +674,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
                             label:
                               entryType === "mark" || entryType === "measure"
                                 ? "custom"
-                                : "web-vital"
+                                : "web-vital",
+                            page: window.__NEXT_DATA__.page
                           });
                         };
                       }
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-9033786053a5a3f147f6.js"
+      href="/_next/static/chunks/main-458121d31312812f2901.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-9033786053a5a3f147f6.js"
+      src="/_next/static/chunks/main-458121d31312812f2901.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-9033786053a5a3f147f6.js"
+      href="/_next/static/chunks/main-458121d31312812f2901.js"
       as="script"
     />
     <link
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-9033786053a5a3f147f6.js"
+      src="/_next/static/chunks/main-458121d31312812f2901.js"
       async=""
     ></script>
     <script
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-9033786053a5a3f147f6.js"
+      href="/_next/static/chunks/main-458121d31312812f2901.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-9033786053a5a3f147f6.js"
+      src="/_next/static/chunks/main-458121d31312812f2901.js"
       async=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 12.8s 12.1s -681ms
nodeModulesSize 61.8 MB 61.8 MB ⚠️ +155 B
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..7edd.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.11 kB 7.12 kB ⚠️ +6 B
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB ⚠️ +6 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 370 B 370 B
Overall change 370 B 370 B
Serverless bundles
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_error.js 1.36 MB 1.36 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.36 MB 1.36 MB
link.js 1.42 MB 1.42 MB
routerDirect.js 1.41 MB 1.41 MB
withRouter.js 1.41 MB 1.41 MB
Overall change 6.99 MB 6.99 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 12.7s 12.7s -31ms
nodeModulesSize 61.8 MB 61.8 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 1.806 1.842 ⚠️ +0.04
/ avg req/sec 1384.59 1357.16 ⚠️ -27.43
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.078 1.132 ⚠️ +0.05
/error-in-render avg req/sec 2319.85 2209.31 ⚠️ -110.54
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
597-e27c5352..db8c.js gzip 13.3 kB 13.3 kB
778-55bb6391..ceaa.js gzip 7.04 kB 7.05 kB ⚠️ +8 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-b58c1..9b8e.js gzip 3.4 kB 3.4 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 8.76 kB 8.76 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 609 B 610 B ⚠️ +1 B
link.html gzip 615 B 615 B
withRouter.html gzip 604 B 604 B
Overall change 1.83 kB 1.83 kB ⚠️ +1 B

Diffs

Diff for main-HASH.js
@@ -254,9 +254,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         y = r("FYa8"),
         g = p(r("dZ6Y")),
         b = r("qOIg"),
-        S = r("elyg"),
-        w = r("/jkW"),
-        _ = d(r("3WeD")),
+        _ = r("elyg"),
+        S = r("/jkW"),
+        w = d(r("3WeD")),
         E = d(r("yLiY")),
         x = r("g/15"),
         P = r("CQWR"),
@@ -289,7 +289,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
       (r.p = "".concat(U, "/_next/")),
         E.setConfig({ serverRuntimeConfig: {}, publicRuntimeConfig: q || {} });
       var z = (0, x.getURL)();
-      (0, S.hasBasePath)(z) && (z = (0, S.delBasePath)(z));
+      (0, _.hasBasePath)(z) && (z = (0, _.delBasePath)(z));
       var Q = new A.default(O, U),
         V = function(e) {
           var t = l(e, 2),
@@ -334,15 +334,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                     K.isSsr &&
                       (H ||
                         (M.nextExport &&
-                          ((0, w.isDynamicRoute)(K.pathname) ||
+                          ((0, S.isDynamicRoute)(K.pathname) ||
                             location.search)) ||
                         (L && L.__N_SSG && location.search)) &&
                       K.replace(
                         K.pathname +
                           "?" +
                           String(
-                            _.assign(
-                              _.urlQueryToSearchParams(K.query),
+                            w.assign(
+                              w.urlQueryToSearchParams(K.query),
                               new URLSearchParams(location.search)
                             )
                           ),
@@ -438,7 +438,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                                 label:
                                   "mark" === c || "measure" === c
                                     ? "custom"
-                                    : "web-vital"
+                                    : "web-vital",
+                                page: window.__NEXT_DATA__.page
                               });
                           }),
                         (i = F),
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c26dc055d98d67a990be.js"
+      href="/_next/static/chunks/main-041d588805edd7d0f183.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "99jOvwe74nK-nXJV4uzuL",
+        "buildId": "TFA_7MzredlmnbVw1I3eH",
         "isFallback": false,
         "gip": true
       }
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c26dc055d98d67a990be.js"
+      src="/_next/static/chunks/main-041d588805edd7d0f183.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/99jOvwe74nK-nXJV4uzuL/_buildManifest.js"
+      src="/_next/static/TFA_7MzredlmnbVw1I3eH/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/99jOvwe74nK-nXJV4uzuL/_ssgManifest.js"
+      src="/_next/static/TFA_7MzredlmnbVw1I3eH/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c26dc055d98d67a990be.js"
+      href="/_next/static/chunks/main-041d588805edd7d0f183.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "99jOvwe74nK-nXJV4uzuL",
+        "buildId": "TFA_7MzredlmnbVw1I3eH",
         "isFallback": false,
         "gip": true
       }
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c26dc055d98d67a990be.js"
+      src="/_next/static/chunks/main-041d588805edd7d0f183.js"
       async=""
     ></script>
     <script
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/99jOvwe74nK-nXJV4uzuL/_buildManifest.js"
+      src="/_next/static/TFA_7MzredlmnbVw1I3eH/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/99jOvwe74nK-nXJV4uzuL/_ssgManifest.js"
+      src="/_next/static/TFA_7MzredlmnbVw1I3eH/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-c26dc055d98d67a990be.js"
+      href="/_next/static/chunks/main-041d588805edd7d0f183.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "99jOvwe74nK-nXJV4uzuL",
+        "buildId": "TFA_7MzredlmnbVw1I3eH",
         "isFallback": false,
         "gip": true
       }
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c26dc055d98d67a990be.js"
+      src="/_next/static/chunks/main-041d588805edd7d0f183.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/99jOvwe74nK-nXJV4uzuL/_buildManifest.js"
+      src="/_next/static/TFA_7MzredlmnbVw1I3eH/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/99jOvwe74nK-nXJV4uzuL/_ssgManifest.js"
+      src="/_next/static/TFA_7MzredlmnbVw1I3eH/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 31fd3ba203dc6b869e6411c06793732a8e3c3a01

ijjk avatar Mar 29 '21 17:03 ijjk

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 11.7s 11.5s -141ms
nodeModulesSize 45.9 MB 45.9 MB ⚠️ +155 B
Page Load Tests Overall increase ✓
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.052 2.173 ⚠️ +0.12
/ avg req/sec 1218.35 1150.7 ⚠️ -67.65
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.482 1.378 -0.1
/error-in-render avg req/sec 1687.27 1813.87 +126.6
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..7edd.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB ⚠️ +6 B
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB ⚠️ +6 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 370 B 370 B
Overall change 370 B 370 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 612 B 612 B
link.html gzip 621 B 620 B -1 B
withRouter.html gzip 606 B 608 B ⚠️ +2 B
Overall change 1.84 kB 1.84 kB ⚠️ +1 B

Diffs

Diff for main-HASH.js
@@ -674,7 +674,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
                             label:
                               entryType === "mark" || entryType === "measure"
                                 ? "custom"
-                                : "web-vital"
+                                : "web-vital",
+                            page: window.__NEXT_DATA__.page
                           });
                         };
                       }
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-9fc0c1058633c9eea817.js"
+      href="/_next/static/chunks/main-f2e2447f918ef3ebaf62.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-9fc0c1058633c9eea817.js"
+      src="/_next/static/chunks/main-f2e2447f918ef3ebaf62.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-9fc0c1058633c9eea817.js"
+      href="/_next/static/chunks/main-f2e2447f918ef3ebaf62.js"
       as="script"
     />
     <link
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-9fc0c1058633c9eea817.js"
+      src="/_next/static/chunks/main-f2e2447f918ef3ebaf62.js"
       async=""
     ></script>
     <script
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-9fc0c1058633c9eea817.js"
+      href="/_next/static/chunks/main-f2e2447f918ef3ebaf62.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-9fc0c1058633c9eea817.js"
+      src="/_next/static/chunks/main-f2e2447f918ef3ebaf62.js"
       async=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 13.6s 12.7s -903ms
nodeModulesSize 45.9 MB 45.9 MB ⚠️ +155 B
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..7edd.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB ⚠️ +6 B
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB ⚠️ +6 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 370 B 370 B
Overall change 370 B 370 B
Serverless bundles
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_error.js 1.36 MB 1.36 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.36 MB 1.36 MB
link.js 1.42 MB 1.42 MB
routerDirect.js 1.41 MB 1.41 MB
withRouter.js 1.41 MB 1.41 MB
Overall change 6.99 MB 6.99 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 13.8s 12.9s -884ms
nodeModulesSize 45.9 MB 45.9 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.215 2.058 -0.16
/ avg req/sec 1128.69 1215.04 +86.35
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.36 1.465 ⚠️ +0.1
/error-in-render avg req/sec 1838.63 1706.63 ⚠️ -132
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
597-e27c5352..db8c.js gzip 13.3 kB 13.3 kB
778-53316af9..68b6.js gzip 7.04 kB 7.05 kB ⚠️ +8 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-b58c1..9b8e.js gzip 3.4 kB 3.4 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 8.76 kB 8.76 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 610 B 609 B -1 B
link.html gzip 615 B 614 B -1 B
withRouter.html gzip 605 B 604 B -1 B
Overall change 1.83 kB 1.83 kB -3 B

Diffs

Diff for main-HASH.js
@@ -254,9 +254,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         y = r("FYa8"),
         g = p(r("dZ6Y")),
         b = r("qOIg"),
-        S = r("elyg"),
-        w = r("/jkW"),
-        _ = d(r("3WeD")),
+        _ = r("elyg"),
+        S = r("/jkW"),
+        w = d(r("3WeD")),
         E = d(r("yLiY")),
         x = r("g/15"),
         P = r("CQWR"),
@@ -289,7 +289,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
       (r.p = "".concat(U, "/_next/")),
         E.setConfig({ serverRuntimeConfig: {}, publicRuntimeConfig: q || {} });
       var z = (0, x.getURL)();
-      (0, S.hasBasePath)(z) && (z = (0, S.delBasePath)(z));
+      (0, _.hasBasePath)(z) && (z = (0, _.delBasePath)(z));
       var Q = new A.default(O, U),
         V = function(e) {
           var t = l(e, 2),
@@ -334,15 +334,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                     K.isSsr &&
                       (H ||
                         (M.nextExport &&
-                          ((0, w.isDynamicRoute)(K.pathname) ||
+                          ((0, S.isDynamicRoute)(K.pathname) ||
                             location.search)) ||
                         (L && L.__N_SSG && location.search)) &&
                       K.replace(
                         K.pathname +
                           "?" +
                           String(
-                            _.assign(
-                              _.urlQueryToSearchParams(K.query),
+                            w.assign(
+                              w.urlQueryToSearchParams(K.query),
                               new URLSearchParams(location.search)
                             )
                           ),
@@ -438,7 +438,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                                 label:
                                   "mark" === c || "measure" === c
                                     ? "custom"
-                                    : "web-vital"
+                                    : "web-vital",
+                                page: window.__NEXT_DATA__.page
                               });
                           }),
                         (i = F),
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-3cf5118283fbfa9b1c10.js"
+      href="/_next/static/chunks/main-3eba94d1be64d6b985d4.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "8MatGgO8AHgD3UpPhDfot",
+        "buildId": "tJOhOj5W0KisUAbI12ThF",
         "isFallback": false,
         "gip": true
       }
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-3cf5118283fbfa9b1c10.js"
+      src="/_next/static/chunks/main-3eba94d1be64d6b985d4.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/8MatGgO8AHgD3UpPhDfot/_buildManifest.js"
+      src="/_next/static/tJOhOj5W0KisUAbI12ThF/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/8MatGgO8AHgD3UpPhDfot/_ssgManifest.js"
+      src="/_next/static/tJOhOj5W0KisUAbI12ThF/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-3cf5118283fbfa9b1c10.js"
+      href="/_next/static/chunks/main-3eba94d1be64d6b985d4.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "8MatGgO8AHgD3UpPhDfot",
+        "buildId": "tJOhOj5W0KisUAbI12ThF",
         "isFallback": false,
         "gip": true
       }
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-3cf5118283fbfa9b1c10.js"
+      src="/_next/static/chunks/main-3eba94d1be64d6b985d4.js"
       async=""
     ></script>
     <script
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/8MatGgO8AHgD3UpPhDfot/_buildManifest.js"
+      src="/_next/static/tJOhOj5W0KisUAbI12ThF/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/8MatGgO8AHgD3UpPhDfot/_ssgManifest.js"
+      src="/_next/static/tJOhOj5W0KisUAbI12ThF/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-3cf5118283fbfa9b1c10.js"
+      href="/_next/static/chunks/main-3eba94d1be64d6b985d4.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "8MatGgO8AHgD3UpPhDfot",
+        "buildId": "tJOhOj5W0KisUAbI12ThF",
         "isFallback": false,
         "gip": true
       }
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-3cf5118283fbfa9b1c10.js"
+      src="/_next/static/chunks/main-3eba94d1be64d6b985d4.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/8MatGgO8AHgD3UpPhDfot/_buildManifest.js"
+      src="/_next/static/tJOhOj5W0KisUAbI12ThF/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/8MatGgO8AHgD3UpPhDfot/_ssgManifest.js"
+      src="/_next/static/tJOhOj5W0KisUAbI12ThF/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 91850bb19b3f0fbc98adfec4e7e49e9de70950b7

ijjk avatar Apr 05 '21 12:04 ijjk

Failing test suites

Commit: 91850bb19b3f0fbc98adfec4e7e49e9de70950b7

test/integration/preload-viewport/test/index.test.js

  • Prefetching Links in viewport > should prefetch rewritten href with link in viewport onload
Expand output

● Prefetching Links in viewport › should prefetch rewritten href with link in viewport onload

expect(received).toEqual(expected) // deep equality

- Expected  - 3
+ Received  + 1

- Array [
-   "/_next/data/test-build/ssg/dynamic/one.json",
- ]
+ Array []

  71 |
  72 |       const hrefs = await browser.eval(`Object.keys(window.next.router.sdc)`)
> 73 |       expect(hrefs.map((href) => new URL(href).pathname)).toEqual([
     |                                                           ^
  74 |         '/_next/data/test-build/ssg/dynamic/one.json',
  75 |       ])
  76 |     } finally {

  at Object.<anonymous> (integration/preload-viewport/test/index.test.js:73:59)

ijjk avatar Apr 05 '21 12:04 ijjk

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 13.9s 13.3s -517ms
nodeModulesSize 45.9 MB 45.9 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.982 2.795 -0.19
/ avg req/sec 838.42 894.5 +56.08
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.57 1.672 ⚠️ +0.1
/error-in-render avg req/sec 1592.54 1495.59 ⚠️ -96.95
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.13 kB ⚠️ +8 B
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 613 B 612 B -1 B
link.html gzip 620 B 619 B -1 B
withRouter.html gzip 608 B 606 B -2 B
Overall change 1.84 kB 1.84 kB -4 B

Diffs

Diff for main-HASH.js
@@ -674,7 +674,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
                             label:
                               entryType === "mark" || entryType === "measure"
                                 ? "custom"
-                                : "web-vital"
+                                : "web-vital",
+                            page: window.__NEXT_DATA__.page
                           });
                         };
                       }
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-8e09806d74c8391a67a4.js"
+      href="/_next/static/chunks/main-46cf12e194bd6ef6dce3.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8e09806d74c8391a67a4.js"
+      src="/_next/static/chunks/main-46cf12e194bd6ef6dce3.js"
       async=""
     ></script>
     <script
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-8e09806d74c8391a67a4.js"
+      href="/_next/static/chunks/main-46cf12e194bd6ef6dce3.js"
       as="script"
     />
     <link
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8e09806d74c8391a67a4.js"
+      src="/_next/static/chunks/main-46cf12e194bd6ef6dce3.js"
       async=""
     ></script>
     <script
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-8e09806d74c8391a67a4.js"
+      href="/_next/static/chunks/main-46cf12e194bd6ef6dce3.js"
       as="script"
     />
     <link
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8e09806d74c8391a67a4.js"
+      src="/_next/static/chunks/main-46cf12e194bd6ef6dce3.js"
       async=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 15.5s 15.1s -376ms
nodeModulesSize 45.9 MB 45.9 MB ⚠️ +155 B
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.13 kB ⚠️ +8 B
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Serverless bundles
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_error.js 1.37 MB 1.37 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.37 MB 1.37 MB
link.js 1.42 MB 1.42 MB
routerDirect.js 1.42 MB 1.42 MB
withRouter.js 1.42 MB 1.42 MB
Overall change 7.01 MB 7.01 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 16.5s 16.2s -364ms
nodeModulesSize 45.9 MB 45.9 MB ⚠️ +155 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.757 2.972 ⚠️ +0.21
/ avg req/sec 906.87 841.23 ⚠️ -65.64
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.61 1.733 ⚠️ +0.12
/error-in-render avg req/sec 1553 1442.53 ⚠️ -110.47
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-5cc798ac..5c25.js gzip 7.05 kB 7.05 kB ⚠️ +8 B
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB ⚠️ +8 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 610 B 611 B ⚠️ +1 B
link.html gzip 617 B 616 B -1 B
withRouter.html gzip 605 B 606 B ⚠️ +1 B
Overall change 1.83 kB 1.83 kB ⚠️ +1 B

Diffs

Diff for main-HASH.js
@@ -254,9 +254,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
         y = r("FYa8"),
         g = p(r("dZ6Y")),
         b = r("qOIg"),
-        S = r("elyg"),
-        w = r("/jkW"),
-        _ = d(r("3WeD")),
+        _ = r("elyg"),
+        S = r("/jkW"),
+        w = d(r("3WeD")),
         E = d(r("yLiY")),
         x = r("g/15"),
         P = r("CQWR"),
@@ -289,7 +289,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
       (r.p = "".concat(U, "/_next/")),
         E.setConfig({ serverRuntimeConfig: {}, publicRuntimeConfig: q || {} });
       var z = (0, x.getURL)();
-      (0, S.hasBasePath)(z) && (z = (0, S.delBasePath)(z));
+      (0, _.hasBasePath)(z) && (z = (0, _.delBasePath)(z));
       var Q = new A.default(O, U),
         V = function(e) {
           var t = l(e, 2),
@@ -334,15 +334,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                     K.isSsr &&
                       (H ||
                         (M.nextExport &&
-                          ((0, w.isDynamicRoute)(K.pathname) ||
+                          ((0, S.isDynamicRoute)(K.pathname) ||
                             location.search)) ||
                         (L && L.__N_SSG && location.search)) &&
                       K.replace(
                         K.pathname +
                           "?" +
                           String(
-                            _.assign(
-                              _.urlQueryToSearchParams(K.query),
+                            w.assign(
+                              w.urlQueryToSearchParams(K.query),
                               new URLSearchParams(location.search)
                             )
                           ),
@@ -438,7 +438,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
                                 label:
                                   "mark" === c || "measure" === c
                                     ? "custom"
-                                    : "web-vital"
+                                    : "web-vital",
+                                page: window.__NEXT_DATA__.page
                               });
                           }),
                         (i = F),
Diff for index.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b0b719d9b20a69094dd5.js"
+      href="/_next/static/chunks/main-3b59d80e8532e4f1d9c3.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "-25iiREp6pWD-tsbmAZsj",
+        "buildId": "xulN1hLYcn5hxDeFVoYX4",
         "isFallback": false,
         "gip": true
       }
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-b0b719d9b20a69094dd5.js"
+      src="/_next/static/chunks/main-3b59d80e8532e4f1d9c3.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/-25iiREp6pWD-tsbmAZsj/_buildManifest.js"
+      src="/_next/static/xulN1hLYcn5hxDeFVoYX4/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/-25iiREp6pWD-tsbmAZsj/_ssgManifest.js"
+      src="/_next/static/xulN1hLYcn5hxDeFVoYX4/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b0b719d9b20a69094dd5.js"
+      href="/_next/static/chunks/main-3b59d80e8532e4f1d9c3.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "-25iiREp6pWD-tsbmAZsj",
+        "buildId": "xulN1hLYcn5hxDeFVoYX4",
         "isFallback": false,
         "gip": true
       }
@@ -70,7 +70,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-b0b719d9b20a69094dd5.js"
+      src="/_next/static/chunks/main-3b59d80e8532e4f1d9c3.js"
       async=""
     ></script>
     <script
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/-25iiREp6pWD-tsbmAZsj/_buildManifest.js"
+      src="/_next/static/xulN1hLYcn5hxDeFVoYX4/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/-25iiREp6pWD-tsbmAZsj/_ssgManifest.js"
+      src="/_next/static/xulN1hLYcn5hxDeFVoYX4/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -22,7 +22,7 @@
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b0b719d9b20a69094dd5.js"
+      href="/_next/static/chunks/main-3b59d80e8532e4f1d9c3.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "-25iiREp6pWD-tsbmAZsj",
+        "buildId": "xulN1hLYcn5hxDeFVoYX4",
         "isFallback": false,
         "gip": true
       }
@@ -65,7 +65,7 @@
       async=""
     ></script>
     <script
-      src="/_next/static/chunks/main-b0b719d9b20a69094dd5.js"
+      src="/_next/static/chunks/main-3b59d80e8532e4f1d9c3.js"
       async=""
     ></script>
     <script
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/-25iiREp6pWD-tsbmAZsj/_buildManifest.js"
+      src="/_next/static/xulN1hLYcn5hxDeFVoYX4/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/-25iiREp6pWD-tsbmAZsj/_ssgManifest.js"
+      src="/_next/static/xulN1hLYcn5hxDeFVoYX4/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: dc242f860643e826bb7adb26c5d7b28c1bbdaff5

ijjk avatar Apr 07 '21 08:04 ijjk

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 13.8s 14s ⚠️ +232ms
buildDurationCached 3.5s 3.4s -145ms
nodeModulesSize 49.2 MB 49.2 MB ⚠️ +157 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.428 2.438 ⚠️ +0.01
/ avg req/sec 1029.48 1025.46 ⚠️ -4.02
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.321 1.405 ⚠️ +0.08
/error-in-render avg req/sec 1892.08 1779.35 ⚠️ -112.73
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
framework-HASH.js gzip 42 kB 42 kB
main-HASH.js gzip 20.2 kB 20.2 kB ⚠️ +6 B
webpack-HASH.js gzip 810 B 810 B
Overall change 63 kB 63 kB ⚠️ +6 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-HASH.js gzip 801 B 801 B
_error-HASH.js gzip 3.17 kB 3.17 kB
amp-HASH.js gzip 527 B 527 B
css-HASH.js gzip 329 B 329 B
hooks-HASH.js gzip 903 B 903 B
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 1.65 kB 1.65 kB
routerDirect..HASH.js gzip 322 B 322 B
withRouter-HASH.js gzip 320 B 320 B
bb14e60e810b..30f.css gzip 125 B 125 B
Overall change 8.41 kB 8.41 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 391 B 391 B
Overall change 391 B 391 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 522 B 524 B ⚠️ +2 B
link.html gzip 532 B 535 B ⚠️ +3 B
withRouter.html gzip 515 B 516 B ⚠️ +1 B
Overall change 1.57 kB 1.57 kB ⚠️ +6 B

Diffs

Diff for main-HASH.js
@@ -1144,7 +1144,8 @@
                             label:
                               entryType === "mark" || entryType === "measure"
                                 ? "custom"
-                                : "web-vital"
+                                : "web-vital",
+                            page: window.__NEXT_DATA__.page
                           });
                         };
                       }
Diff for index.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c4b2e52bfc036d58e9dc.js"
+      src="/_next/static/chunks/main-71c9ff4ea1424f79bef6.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c4b2e52bfc036d58e9dc.js"
+      src="/_next/static/chunks/main-71c9ff4ea1424f79bef6.js"
       defer=""
     ></script>
     <script
Diff for withRouter.html
@@ -19,7 +19,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-c4b2e52bfc036d58e9dc.js"
+      src="/_next/static/chunks/main-71c9ff4ea1424f79bef6.js"
       defer=""
     ></script>
     <script

Serverless Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 15.3s 15.6s ⚠️ +215ms
buildDurationCached 4.6s 4.5s -81ms
nodeModulesSize 49.2 MB 49.2 MB ⚠️ +157 B
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
framework-HASH.js gzip 42 kB 42 kB
main-HASH.js gzip 20.2 kB 20.2 kB ⚠️ +6 B
webpack-HASH.js gzip 810 B 810 B
Overall change 63 kB 63 kB ⚠️ +6 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-HASH.js gzip 801 B 801 B
_error-HASH.js gzip 3.17 kB 3.17 kB
amp-HASH.js gzip 527 B 527 B
css-HASH.js gzip 329 B 329 B
hooks-HASH.js gzip 903 B 903 B
index-HASH.js gzip 263 B 263 B
link-HASH.js gzip 1.65 kB 1.65 kB
routerDirect..HASH.js gzip 322 B 322 B
withRouter-HASH.js gzip 320 B 320 B
bb14e60e810b..30f.css gzip 125 B 125 B
Overall change 8.41 kB 8.41 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 391 B 391 B
Overall change 391 B 391 B
Serverless bundles
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_error.js 16.9 kB 16.9 kB
404.html 1.98 kB 1.98 kB
500.html 1.96 kB 1.96 kB
amp.amp.html 10.8 kB 10.8 kB
amp.html 1.17 kB 1.17 kB
css.html 1.35 kB 1.35 kB
hooks.html 1.23 kB 1.23 kB
index.js 17.2 kB 17.2 kB
link.js 17.5 kB 17.5 kB
routerDirect.js 17.3 kB 17.3 kB
withRouter.js 17.3 kB 17.3 kB
Overall change 105 kB 105 kB

Webpack 4 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
buildDuration 12.1s 12.3s ⚠️ +223ms
buildDurationCached 5.1s 4.9s -185ms
nodeModulesSize 49.2 MB 49.2 MB ⚠️ +157 B
Page Load Tests Overall increase ✓
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
/ failed reqs 0 0
/ total time (seconds) 2.607 2.459 -0.15
/ avg req/sec 958.93 1016.66 +57.73
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.37 1.367 0
/error-in-render avg req/sec 1824.45 1828.51 +4.06
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
677f882d2ed8..HASH.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 41.8 kB 41.8 kB
main-HASH.js gzip 7.99 kB 8 kB ⚠️ +7 B
webpack-HASH.js gzip 757 B 757 B
Overall change 63.9 kB 63.9 kB ⚠️ +7 B
Legacy Client Bundles (polyfills)
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals 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 jackleslie/next.js page-in-report-web-vitals Change
_app-HASH.js gzip 1.07 kB 1.07 kB
_error-HASH.js gzip 3.84 kB 3.84 kB
amp-HASH.js gzip 536 B 536 B
css-HASH.js gzip 333 B 333 B
hooks-HASH.js gzip 910 B 910 B
index-HASH.js gzip 227 B 227 B
link-HASH.js gzip 1.64 kB 1.64 kB
routerDirect..HASH.js gzip 295 B 295 B
withRouter-HASH.js gzip 292 B 292 B
e025d2764813..52f.css gzip 125 B 125 B
Overall change 9.28 kB 9.28 kB
Client Build Manifests
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
_buildManifest.js gzip 420 B 420 B
Overall change 420 B 420 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary jackleslie/next.js page-in-report-web-vitals Change
index.html gzip 568 B 567 B -1 B
link.html gzip 581 B 580 B -1 B
withRouter.html gzip 561 B 560 B -1 B
Overall change 1.71 kB 1.71 kB -3 B

Diffs

Diff for main-HASH.js
@@ -928,7 +928,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
                             label:
                               entryType === "mark" || entryType === "measure"
                                 ? "custom"
-                                : "web-vital"
+                                : "web-vital",
+                            page: window.__NEXT_DATA__.page
                           });
                         };
                       }
Diff for index.html
@@ -23,7 +23,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8435b1d9a7c2d4b4e7ab.js"
+      src="/_next/static/chunks/main-1c37c388b26b70ad6f18.js"
       defer=""
     ></script>
     <script
Diff for link.html
@@ -23,7 +23,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8435b1d9a7c2d4b4e7ab.js"
+      src="/_next/static/chunks/main-1c37c388b26b70ad6f18.js"
       defer=""
     ></script>
     <script
Diff for withRouter.html
@@ -23,7 +23,7 @@
       defer=""
     ></script>
     <script
-      src="/_next/static/chunks/main-8435b1d9a7c2d4b4e7ab.js"
+      src="/_next/static/chunks/main-1c37c388b26b70ad6f18.js"
       defer=""
     ></script>
     <script
Commit: 99d717d765e72e42102c562403af41cc4b42eeb7

ijjk avatar Jun 25 '21 09:06 ijjk

Failing test suites

Commit: 99d717d765e72e42102c562403af41cc4b42eeb7

test/integration/build-output/test/index.test.js

  • Build Output > Basic Application Output (with experimental.gzipSize: false) > should not deviate from snapshot
Expand output

● Build Output › Basic Application Output (with experimental.gzipSize: false) › should not deviate from snapshot

expect(received).toBeCloseTo(expected, precision)

Expected: 62.7
Received: 62.8

Expected precision:    1
Expected difference: < 0.05
Received difference:   0.09999999999999432

  150 |           )
  151 |
> 152 |           expect(parseFloat(mainSize)).toBeCloseTo(gz ? 20.1 : 62.7, 1)
      |                                        ^
  153 |           expect(mainSize.endsWith('kB')).toBe(true)
  154 |
  155 |           expect(parseFloat(frameworkSize)).toBeCloseTo(gz ? 42.0 : 130, 1)

  at Object.<anonymous> (integration/build-output/test/index.test.js:152:40)

ijjk avatar Jun 25 '21 09:06 ijjk

Going to close this PR as it can't be implemented in this way in app, there is not always a "page" specific file to reference.

timneutkens avatar May 09 '23 11:05 timneutkens