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

get files from entrypoints instead of from chunks #23174

Merged
merged 5 commits into from
Mar 18, 2021
Merged

Conversation

sokra
Copy link
Member

@sokra sokra commented Mar 18, 2021

No description provided.

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Failing test suites

Commit: f2356b7

test/acceptance/ReactRefresh.dev.test.js

  • can edit a component without losing state

Expand output

● can edit a component without losing state

JavascriptError: javascript error: Cannot read property 'click' of null
  (Session info: headless chrome=89.0.4389.82)

  110 |         const input = arguments[0]
  111 |         if (typeof input === 'function') {
> 112 |           const result = await browser.executeScript(input)
      |                          ^
  113 |           await new Promise((resolve) => setTimeout(resolve, 30))
  114 |           return result
  115 |         } else {

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at Proxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.evaluate (acceptance/helpers.js:112:26)
  at Object.<anonymous> (acceptance/ReactRefresh.dev.test.js:27:3)

test/integration/auto-export/test/index.test.js

  • Auto Export > dev > Refreshes query on mount
  • Auto Export > dev > should update asPath after mount
  • Auto Export > dev > should not show hydration warning from mismatching asPath
Expand output

● Auto Export › dev › Refreshes query on mount

expect(received).toMatch(expected)

Expected pattern: /post.*post-1/
Received string:  "<div id=\"__next\"></div><script src=\"/_next/static/chunks/webpack.js?ts=1616056148373\"></script><script src=\"/_next/static/chunks/react-refresh.js?ts=1616056148373\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{}},\"page\":\"/[post]\",\"query\":{},\"buildId\":\"development\",\"nextExport\":true,\"autoExport\":true,\"isFallback\":false}</script><script nomodule=\"\" src=\"/_next/static/chunks/webpack.js?ts=1616056148373\"></script><script nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1616056148373\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1616056148373\"></script><script src=\"/_next/static/chunks/main.js?ts=1616056148373\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1616056148373\"></script><script src=\"/_next/static/chunks/pages/%5Bpost%5D.js?ts=1616056148373\"></script><div id=\"__next-build-watcher\" style=\"position: fixed; bottom: 10px; right: 20px; width: 0px; height: 0px; z-index: 99999;\"></div><script src=\"/_next/static/development/_buildManifest.js?ts=1616056148373\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1616056148373\"></script><nextjs-portal></nextjs-portal>"

  36 |     const browser = await webdriver(appPort, '/post-1')
  37 |     const html = await browser.eval('document.body.innerHTML')
> 38 |     expect(html).toMatch(/post.*post-1/)
     |                  ^
  39 |     expect(html).toMatch(/nextExport/)
  40 |   })
  41 |

  at Object.<anonymous> (integration/auto-export/test/index.test.js:38:18)

● Auto Export › dev › should update asPath after mount

expect(received).toMatch(expected)

Expected pattern: /\/zeit\/cmnt-2/
Received string:  "<head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width\"><meta name=\"next-head-count\" content=\"2\"><noscript data-n-css=\"\"></noscript><link rel=\"preload\" href=\"/_next/static/chunks/webpack.js?ts=1616056149518\" as=\"script\"><link rel=\"preload\" href=\"/_next/static/chunks/main.js?ts=1616056149518\" as=\"script\"><link rel=\"preload\" href=\"/_next/static/chunks/pages/_app.js?ts=1616056149518\" as=\"script\"><link rel=\"preload\" href=\"/_next/static/chunks/pages/%5Bpost%5D/%5Bcmnt%5D.js?ts=1616056149518\" as=\"script\"><link rel=\"preload\" href=\"/_next/static/development/_buildManifest.js?ts=1616056149518\" as=\"script\"><noscript id=\"__next_css__DO_NOT_USE__\"></noscript><script charset=\"utf-8\" src=\"/_next/static/chunks/0.js\"></script><script charset=\"utf-8\" src=\"/_next/static/chunks/0.js\"></script></head><body><div id=\"__next\"></div><script src=\"/_next/static/chunks/webpack.js?ts=1616056149518\"></script><script src=\"/_next/static/chunks/react-refresh.js?ts=1616056149518\"></script><script id=\"__NEXT_DATA__\" type=\"application/json\">{\"props\":{\"pageProps\":{}},\"page\":\"/[post]/[cmnt]\",\"query\":{},\"buildId\":\"development\",\"nextExport\":true,\"autoExport\":true,\"isFallback\":false}</script><script nomodule=\"\" src=\"/_next/static/chunks/webpack.js?ts=1616056149518\"></script><script nomodule=\"\" src=\"/_next/static/chunks/polyfills.js?ts=1616056149518\"></script><script src=\"/_next/static/chunks/webpack.js?ts=1616056149518\"></script><script src=\"/_next/static/chunks/main.js?ts=1616056149518\"></script><script src=\"/_next/static/chunks/pages/_app.js?ts=1616056149518\"></script><script src=\"/_next/static/chunks/pages/%5Bpost%5D/%5Bcmnt%5D.js?ts=1616056149518\"></script><div id=\"__next-build-watcher\" style=\"position: fixed; bottom: 10px; right: 20px; width: 0px; height: 0px; z-index: 99999;\"></div><script src=\"/_next/static/development/_buildManifest.js?ts=1616056149518\"></script><script src=\"/_next/static/development/_ssgManifest.js?ts=1616056149518\"></script><nextjs-portal></nextjs-portal></body>"

  43 |     const browser = await webdriver(appPort, '/zeit/cmnt-2')
  44 |     const html = await browser.eval(`document.documentElement.innerHTML`)
> 45 |     expect(html).toMatch(/\/zeit\/cmnt-2/)
     |                  ^
  46 |   })
  47 |
  48 |   it('should not replace URL with page name while asPath is delayed', async () => {

  at Object.<anonymous> (integration/auto-export/test/index.test.js:45:18)

● Auto Export › dev › should not show hydration warning from mismatching asPath

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

- Expected  -  1
+ Received  + 62

- Array []
+ Array [
+   Array [
+     "Warning: Did not expect server HTML to contain a <%s> in <%s>.",
+     "p",
+     "div",
+   ],
+   Array [
+     "Warning: Did not expect server HTML to contain a <%s> in <%s>.",
+     "p",
+     "div",
+   ],
+   Array [
+     "The above error occurred in the <Page> component:
+
+     at Page (http://localhost:40641/_next/static/chunks/pages/%5Bpost%5D/%5Bcmnt%5D.js?ts=1616056151569:9193:76)
+     at App (http://localhost:40641/_next/static/chunks/pages/_app.js?ts=1616056151569:7978:5)
+     at ErrorBoundary (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42642:47)
+     at ReactDevOverlay (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42746:23)
+     at Container (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:36573:5)
+     at AppContainer (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37062:24)
+     at Root (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37195:24)
+
+ React will try to recreate this component tree from scratch using the error boundary you provided, App.",
+   ],
+   Array [
+     "The above error occurred in the <Page> component:
+
+     at Page (http://localhost:40641/_next/static/chunks/pages/%5Bpost%5D/%5Bcmnt%5D.js?ts=1616056151569:9193:76)
+     at App (http://localhost:40641/_next/static/chunks/pages/_app.js?ts=1616056151569:7978:5)
+     at ErrorBoundary (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42642:47)
+     at ReactDevOverlay (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42746:23)
+     at Container (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:36573:5)
+     at AppContainer (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37062:24)
+     at Root (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37195:24)
+
+ React will try to recreate this component tree from scratch using the error boundary you provided, App.",
+   ],
+   Array [
+     "The above error occurred in the <App> component:
+
+     at App (http://localhost:40641/_next/static/chunks/pages/_app.js?ts=1616056151569:7978:5)
+     at ErrorBoundary (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42642:47)
+     at ReactDevOverlay (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42746:23)
+     at Container (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:36573:5)
+     at AppContainer (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37062:24)
+     at Root (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37195:24)
+
+ React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary.",
+   ],
+   Array [
+     "The above error occurred in the <App> component:
+
+     at App (http://localhost:40641/_next/static/chunks/pages/_app.js?ts=1616056151569:7978:5)
+     at ErrorBoundary (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42642:47)
+     at ReactDevOverlay (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:42746:23)
+     at Container (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:36573:5)
+     at AppContainer (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37062:24)
+     at Root (http://localhost:40641/_next/static/chunks/main.js?ts=1616056151569:37195:24)
+
+ React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundary.",
+   ],
+ ]

  83 |       const browser = await webdriver(appPort, '/zeit/cmnt-1')
  84 |       const caughtWarns = await browser.eval(`window.caughtWarns`)
> 85 |       expect(caughtWarns).toEqual([])
     |                           ^
  86 |     })
  87 |   })
  88 | })

  at Object.<anonymous> (integration/auto-export/test/index.test.js:85:27)

test/integration/basepath-root-catch-all/test/index.test.js

  • dev mode > should use correct data URL for root catch-all
Expand output

● dev mode › should use correct data URL for root catch-all

NoSuchElementError: no such element: Unable to locate element: {"method":"css selector","selector":"#root-catchall-link"}
  (Session info: headless chrome=89.0.4389.82)

  23 |   it('should use correct data URL for root catch-all', async () => {
  24 |     const browser = await webdriver(appPort, '/docs/hello')
> 25 |     await browser.elementByCss('#root-catchall-link').click()
     |     ^
  26 |     await browser.waitForElementByCss('#url')
  27 |
  28 |     const dataUrl = await browser.elementByCss('#url').text()

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at thenableWebDriverProxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.<anonymous> (integration/basepath-root-catch-all/test/index.test.js:25:5)

test/acceptance/ReactRefreshRegression.dev.test.js

  • styled-components hydration mismatch

  • can fast refresh a page with getStaticProps

  • can fast refresh a page with getServerSideProps

  • can fast refresh a page with config

Expand output

● styled-components hydration mismatch

expect(received).toBe(expected) // Object.is equality

Expected: false
Received: true

  64 |
  65 |   // Verify no hydration mismatch:
> 66 |   expect(await session.hasRedbox()).toBe(false)
     |                                     ^
  67 |
  68 |   await cleanup()
  69 | })

  at Object.<anonymous> (acceptance/ReactRefreshRegression.dev.test.js:66:37)

● can fast refresh a page with getStaticProps

JavascriptError: javascript error: Cannot read property 'textContent' of null
  (Session info: headless chrome=89.0.4389.82)

  110 |         const input = arguments[0]
  111 |         if (typeof input === 'function') {
> 112 |           const result = await browser.executeScript(input)
      |                          ^
  113 |           await new Promise((resolve) => setTimeout(resolve, 30))
  114 |           return result
  115 |         } else {

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at Proxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.evaluate (acceptance/helpers.js:112:26)
  at Object.<anonymous> (acceptance/ReactRefreshRegression.dev.test.js:98:5)

● can fast refresh a page with getServerSideProps

JavascriptError: javascript error: Cannot read property 'textContent' of null
  (Session info: headless chrome=89.0.4389.82)

  110 |         const input = arguments[0]
  111 |         if (typeof input === 'function') {
> 112 |           const result = await browser.executeScript(input)
      |                          ^
  113 |           await new Promise((resolve) => setTimeout(resolve, 30))
  114 |           return result
  115 |         } else {

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at Proxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.evaluate (acceptance/helpers.js:112:26)
  at Object.<anonymous> (acceptance/ReactRefreshRegression.dev.test.js:161:5)

● can fast refresh a page with config

JavascriptError: javascript error: Cannot read property 'textContent' of null
  (Session info: headless chrome=89.0.4389.82)

  110 |         const input = arguments[0]
  111 |         if (typeof input === 'function') {
> 112 |           const result = await browser.executeScript(input)
      |                          ^
  113 |           await new Promise((resolve) => setTimeout(resolve, 30))
  114 |           return result
  115 |         } else {

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at Proxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.evaluate (acceptance/helpers.js:112:26)
  at Object.<anonymous> (acceptance/ReactRefreshRegression.dev.test.js:222:5)

test/integration/amphtml/test/index.test.js

  • AMP Usage > AMP dev mode > should add data-ampdevmode to development script tags
Expand output

● AMP Usage › AMP dev mode › should add data-ampdevmode to development script tags

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

- Expected  - 0
+ Received  + 2

  Array [
    "__NEXT_DATA__",
+   "/_next/static/chunks/webpack.js",
    "/_next/static/chunks/react-refresh.js",
+   "/_next/static/chunks/webpack.js",
    "/_next/static/chunks/polyfills.js",
    "/_next/static/chunks/webpack.js",
    "/_next/static/chunks/amp.js",
  ]

  306 |             e.startsWith('/') ? new URL(e, 'http://x.x').pathname : e
  307 |           )
> 308 |       ).toEqual([
      |         ^
  309 |         '__NEXT_DATA__',
  310 |         '/_next/static/chunks/react-refresh.js',
  311 |         '/_next/static/chunks/polyfills.js',

  at Object.<anonymous> (integration/amphtml/test/index.test.js:308:9)
      at runMicrotasks (<anonymous>)

test/acceptance/ReactRefreshLogBox.dev.test.js

  • logbox: can recover from a syntax error without losing state

  • logbox: can recover from a event handler error

  • logbox: anchors links in error messages

  • component props errors
Expand output

● logbox: can recover from a syntax error without losing state

JavascriptError: javascript error: Cannot read property 'click' of null
  (Session info: headless chrome=89.0.4389.82)

  110 |         const input = arguments[0]
  111 |         if (typeof input === 'function') {
> 112 |           const result = await browser.executeScript(input)
      |                          ^
  113 |           await new Promise((resolve) => setTimeout(resolve, 30))
  114 |           return result
  115 |         } else {

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at Proxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.evaluate (acceptance/helpers.js:112:26)
  at Object.<anonymous> (acceptance/ReactRefreshLogBox.dev.test.js:27:3)

● logbox: can recover from a event handler error

JavascriptError: javascript error: Cannot read property 'textContent' of null
  (Session info: headless chrome=89.0.4389.82)

  110 |         const input = arguments[0]
  111 |         if (typeof input === 'function') {
> 112 |           const result = await browser.executeScript(input)
      |                          ^
  113 |           await new Promise((resolve) => setTimeout(resolve, 30))
  114 |           return result
  115 |         } else {

  at Object.throwDecodedError (../node_modules/selenium-webdriver/lib/error.js:550:15)
  at parseHttpResponse (../node_modules/selenium-webdriver/lib/http.js:565:13)
  at Executor.execute (../node_modules/selenium-webdriver/lib/http.js:491:26)
  at Proxy.execute (../node_modules/selenium-webdriver/lib/webdriver.js:700:17)
  at Object.evaluate (acceptance/helpers.js:112:26)
  at Object.<anonymous> (acceptance/ReactRefreshLogBox.dev.test.js:95:5)

● logbox: anchors links in error messages

expect(received).toBe(expected) // Object.is equality

Expected: false
Received: true

  902 |   )
  903 |
> 904 |   expect(await session.hasRedbox()).toBe(false)
      |                                     ^
  905 |   await session.evaluate(() => document.querySelector('button').click())
  906 |   expect(await session.hasRedbox(true)).toBe(true)
  907 |

  at Object.<anonymous> (acceptance/ReactRefreshLogBox.dev.test.js:904:37)

● component props errors

expect(received).toBe(expected) // Object.is equality

Expected: false
Received: true

  1104 |     `
  1105 |   )
> 1106 |   expect(await session.hasRedbox()).toBe(false)
       |                                     ^
  1107 |
  1108 |   await session.patch(
  1109 |     'index.js',

  at Object.<anonymous> (acceptance/ReactRefreshLogBox.dev.test.js:1106:37)

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 12.3s 12.4s ⚠️ +124ms
nodeModulesSize 43.6 MB 43.6 MB -1.71 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.042 2.102 ⚠️ +0.06
/ avg req/sec 1224.29 1189.21 ⚠️ -35.08
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.396 1.333 -0.06
/error-in-render avg req/sec 1790.74 1875.26 +84.52
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 614 B 614 B
link.html gzip 622 B 621 B -1 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB -1 B

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -50,11 +50,11 @@
     </script>
     <script
       nomodule=""
-      src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
+      src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
+      nomodule=""
+      src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
@@ -68,6 +68,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -55,11 +55,11 @@
     </script>
     <script
       nomodule=""
-      src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
+      src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
+      nomodule=""
+      src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
@@ -73,6 +73,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -50,11 +50,11 @@
     </script>
     <script
       nomodule=""
-      src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
+      src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
+      nomodule=""
+      src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
@@ -68,6 +68,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 14.1s 13.9s -250ms
nodeModulesSize 43.6 MB 43.6 MB -1.71 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_error.js 1.02 MB 1.02 MB ⚠️ +434 B
404.html 2.67 kB 2.75 kB ⚠️ +88 B
500.html 2.65 kB 2.74 kB ⚠️ +88 B
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.86 kB 1.95 kB ⚠️ +88 B
hooks.html 1.92 kB 2 kB ⚠️ +88 B
index.js 1.02 MB 1.02 MB ⚠️ +434 B
link.js 1.08 MB 1.08 MB ⚠️ +434 B
routerDirect.js 1.07 MB 1.07 MB ⚠️ +434 B
withRouter.js 1.07 MB 1.07 MB ⚠️ +434 B
Overall change 5.27 MB 5.27 MB ⚠️ +2.52 kB

Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 14.4s 14.4s ⚠️ +66ms
nodeModulesSize 43.6 MB 43.6 MB -1.71 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.104 2.218 ⚠️ +0.11
/ avg req/sec 1188.32 1127.21 ⚠️ -61.11
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.313 1.412 ⚠️ +0.1
/error-in-render avg req/sec 1904.1 1770.25 ⚠️ -133.85
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.1 kB
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.28 kB
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB
amp-127483e4..9cd8.js gzip 560 B 560 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB
routerDirect..4d90.js gzip 333 B 333 B
withRouter-0..60b0.js gzip 329 B 329 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 324 B 324 B
Overall change 324 B 324 B
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 587 B 589 B ⚠️ +2 B
link.html gzip 594 B 595 B ⚠️ +1 B
withRouter.html gzip 582 B 584 B ⚠️ +2 B
Overall change 1.76 kB 1.77 kB ⚠️ +5 B

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,18 +43,18 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "m7lnAxYKnm7IxiZm_oIjE",
+        "buildId": "Bm88YlFeoy9OD0Z45kxlP",
         "isFallback": false,
         "gip": true
       }
     </script>
     <script
       nomodule=""
-      src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
+      src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
+      nomodule=""
+      src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
@@ -68,6 +68,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +81,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/m7lnAxYKnm7IxiZm_oIjE/_buildManifest.js"
+      src="/_next/static/Bm88YlFeoy9OD0Z45kxlP/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/m7lnAxYKnm7IxiZm_oIjE/_ssgManifest.js"
+      src="/_next/static/Bm88YlFeoy9OD0Z45kxlP/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -48,18 +48,18 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "m7lnAxYKnm7IxiZm_oIjE",
+        "buildId": "Bm88YlFeoy9OD0Z45kxlP",
         "isFallback": false,
         "gip": true
       }
     </script>
     <script
       nomodule=""
-      src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
+      src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
+      nomodule=""
+      src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
@@ -73,6 +73,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -82,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/m7lnAxYKnm7IxiZm_oIjE/_buildManifest.js"
+      src="/_next/static/Bm88YlFeoy9OD0Z45kxlP/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/m7lnAxYKnm7IxiZm_oIjE/_ssgManifest.js"
+      src="/_next/static/Bm88YlFeoy9OD0Z45kxlP/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,18 +43,18 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "m7lnAxYKnm7IxiZm_oIjE",
+        "buildId": "Bm88YlFeoy9OD0Z45kxlP",
         "isFallback": false,
         "gip": true
       }
     </script>
     <script
       nomodule=""
-      src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
+      src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
     ></script>
     <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
+      nomodule=""
+      src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
@@ -68,6 +68,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +81,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/m7lnAxYKnm7IxiZm_oIjE/_buildManifest.js"
+      src="/_next/static/Bm88YlFeoy9OD0Z45kxlP/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/m7lnAxYKnm7IxiZm_oIjE/_ssgManifest.js"
+      src="/_next/static/Bm88YlFeoy9OD0Z45kxlP/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: f2356b7

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 11.4s 11s -333ms
nodeModulesSize 43.6 MB 43.6 MB -1.23 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 1.978 1.831 -0.15
/ avg req/sec 1264.19 1365.31 +101.12
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.227 1.157 -0.07
/error-in-render avg req/sec 2037.36 2161.24 +123.88
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 614 B 613 B -1 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB -1 B

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -57,10 +57,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -73,6 +69,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 12.9s 12.7s -215ms
nodeModulesSize 43.6 MB 43.6 MB -1.23 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_error.js 1.02 MB 1.02 MB ⚠️ +384 B
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.02 MB 1.02 MB ⚠️ +384 B
link.js 1.08 MB 1.08 MB ⚠️ +384 B
routerDirect.js 1.07 MB 1.07 MB ⚠️ +384 B
withRouter.js 1.07 MB 1.07 MB ⚠️ +384 B
Overall change 5.27 MB 5.27 MB ⚠️ +1.92 kB

Webpack 5 Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 12.6s 12.7s ⚠️ +82ms
nodeModulesSize 43.6 MB 43.6 MB -1.23 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.016 1.968 -0.05
/ avg req/sec 1240.16 1270.47 +30.31
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.177 1.17 -0.01
/error-in-render avg req/sec 2123.41 2137.49 +14.08
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.1 kB
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.28 kB
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB
amp-127483e4..9cd8.js gzip 560 B 560 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB
routerDirect..4d90.js gzip 333 B 333 B
withRouter-0..60b0.js gzip 329 B 329 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 324 B 324 B
Overall change 324 B 324 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 587 B 587 B
link.html gzip 594 B 594 B
withRouter.html gzip 582 B 582 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "ha7Rp2YjGyTNP2HRzZ-_q",
+        "buildId": "hME_KXj703bjxgcJ-t-uB",
         "isFallback": false,
         "gip": true
       }
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/ha7Rp2YjGyTNP2HRzZ-_q/_buildManifest.js"
+      src="/_next/static/hME_KXj703bjxgcJ-t-uB/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/ha7Rp2YjGyTNP2HRzZ-_q/_ssgManifest.js"
+      src="/_next/static/hME_KXj703bjxgcJ-t-uB/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "ha7Rp2YjGyTNP2HRzZ-_q",
+        "buildId": "hME_KXj703bjxgcJ-t-uB",
         "isFallback": false,
         "gip": true
       }
@@ -57,10 +57,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -73,6 +69,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/ha7Rp2YjGyTNP2HRzZ-_q/_buildManifest.js"
+      src="/_next/static/hME_KXj703bjxgcJ-t-uB/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/ha7Rp2YjGyTNP2HRzZ-_q/_ssgManifest.js"
+      src="/_next/static/hME_KXj703bjxgcJ-t-uB/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "ha7Rp2YjGyTNP2HRzZ-_q",
+        "buildId": "hME_KXj703bjxgcJ-t-uB",
         "isFallback": false,
         "gip": true
       }
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/ha7Rp2YjGyTNP2HRzZ-_q/_buildManifest.js"
+      src="/_next/static/hME_KXj703bjxgcJ-t-uB/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/ha7Rp2YjGyTNP2HRzZ-_q/_ssgManifest.js"
+      src="/_next/static/hME_KXj703bjxgcJ-t-uB/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 96f4f7d

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Failing test suites

Commit: 96f4f7d

test/integration/amphtml/test/index.test.js

  • AMP Usage > AMP dev mode > should add data-ampdevmode to development script tags
  • AMP Usage > AMP dev mode > should detect changes and refresh an AMP page
  • AMP Usage > AMP dev mode > should detect changes to component and refresh an AMP page
  • AMP Usage > AMP dev mode > should not reload unless the page is edited for an AMP page
  • AMP Usage > AMP dev mode > should detect changes and refresh a hybrid AMP page
  • AMP Usage > AMP dev mode > should detect changes and refresh an AMP page at root pages/
Expand output

● AMP Usage › AMP dev mode › should add data-ampdevmode to development script tags

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

- Expected  - 1
+ Received  + 0

  Array [
    "__NEXT_DATA__",
    "/_next/static/chunks/react-refresh.js",
    "/_next/static/chunks/polyfills.js",
-   "/_next/static/chunks/webpack.js",
    "/_next/static/chunks/amp.js",
  ]

  306 |             e.startsWith('/') ? new URL(e, 'http://x.x').pathname : e
  307 |           )
> 308 |       ).toEqual([
      |         ^
  309 |         '__NEXT_DATA__',
  310 |         '/_next/static/chunks/react-refresh.js',
  311 |         '/_next/static/chunks/polyfills.js',

  at Object.<anonymous> (integration/amphtml/test/index.test.js:308:9)

● AMP Usage › AMP dev mode › should detect changes and refresh an AMP page

expect(received).toBe(expected) // Object.is equality

Expected: "I'm an AMP page!"
Received: ""

  361 |         browser = await webdriver(dynamicAppPort, '/hmr/amp')
  362 |         const text = await browser.elementByCss('p').text()
> 363 |         expect(text).toBe(`I'm an AMP page!`)
      |                      ^
  364 |
  365 |         const hmrTestPagePath = join(__dirname, '../', 'pages', 'hmr', 'amp.js')
  366 |

  at Object.<anonymous> (integration/amphtml/test/index.test.js:363:22)

● AMP Usage › AMP dev mode › should detect changes to component and refresh an AMP page

TIMED OUT: /hello/

  385 |
  386 |   if (hardError) {
> 387 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content)
      |           ^
  388 |   }
  389 |   return false
  390 | }

  at check (lib/next-test-utils.js:387:11)
  at Object.<anonymous> (integration/amphtml/test/index.test.js:389:7)

● AMP Usage › AMP dev mode › should not reload unless the page is edited for an AMP page

TIMED OUT: /I'm an AMP page!/

  385 |
  386 |   if (hardError) {
> 387 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content)
      |           ^
  388 |   }
  389 |   return false
  390 | }

  at check (lib/next-test-utils.js:387:11)
  at Object.<anonymous> (integration/amphtml/test/index.test.js:409:9)

● AMP Usage › AMP dev mode › should detect changes and refresh a hybrid AMP page

expect(received).toBe(expected) // Object.is equality

Expected: "I'm a hybrid AMP page!"
Received: ""

  466 |         browser = await webdriver(dynamicAppPort, '/hmr/hybrid?amp=1')
  467 |         const text = await browser.elementByCss('p').text()
> 468 |         expect(text).toBe(`I'm a hybrid AMP page!`)
      |                      ^
  469 |
  470 |         const hmrTestPagePath = join(
  471 |           __dirname,

  at Object.<anonymous> (integration/amphtml/test/index.test.js:468:22)

● AMP Usage › AMP dev mode › should detect changes and refresh an AMP page at root pages/

expect(received).toBe(expected) // Object.is equality

Expected: "I'm an AMP page!"
Received: ""

  501 |         browser = await webdriver(dynamicAppPort, '/root-hmr')
  502 |         const text = await browser.elementByCss('p').text()
> 503 |         expect(text).toBe(`I'm an AMP page!`)
      |                      ^
  504 |
  505 |         const hmrTestPagePath = join(__dirname, '../', 'pages', 'root-hmr.js')
  506 |

  at Object.<anonymous> (integration/amphtml/test/index.test.js:503:22)

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 12.2s 12.1s -73ms
nodeModulesSize 43.6 MB 43.6 MB -1.03 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.184 2.115 -0.07
/ avg req/sec 1144.73 1181.78 +37.05
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.469 1.377 -0.09
/error-in-render avg req/sec 1701.83 1815.68 +113.85
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 614 B 613 B -1 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB -1 B

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -57,10 +57,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -73,6 +69,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 14.2s 14s -170ms
nodeModulesSize 43.6 MB 43.6 MB -1.03 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_error.js 1.02 MB 1.02 MB ⚠️ +384 B
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.02 MB 1.02 MB ⚠️ +384 B
link.js 1.08 MB 1.08 MB ⚠️ +384 B
routerDirect.js 1.07 MB 1.07 MB ⚠️ +384 B
withRouter.js 1.07 MB 1.07 MB ⚠️ +384 B
Overall change 5.27 MB 5.27 MB ⚠️ +1.92 kB

Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 14s 13.9s -44ms
nodeModulesSize 43.6 MB 43.6 MB -1.03 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.082 2.145 ⚠️ +0.06
/ avg req/sec 1200.7 1165.68 ⚠️ -35.02
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.367 1.346 -0.02
/error-in-render avg req/sec 1828.75 1857.91 +29.16
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.1 kB
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.28 kB
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB
amp-127483e4..9cd8.js gzip 560 B 560 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB
routerDirect..4d90.js gzip 333 B 333 B
withRouter-0..60b0.js gzip 329 B 329 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 324 B 324 B
Overall change 324 B 324 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 587 B 587 B
link.html gzip 594 B 594 B
withRouter.html gzip 582 B 582 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "6U3zZL1GFxebhsvH8xYoG",
+        "buildId": "JhiZu_FxLTxNqrvzW-_ES",
         "isFallback": false,
         "gip": true
       }
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/6U3zZL1GFxebhsvH8xYoG/_buildManifest.js"
+      src="/_next/static/JhiZu_FxLTxNqrvzW-_ES/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/6U3zZL1GFxebhsvH8xYoG/_ssgManifest.js"
+      src="/_next/static/JhiZu_FxLTxNqrvzW-_ES/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "6U3zZL1GFxebhsvH8xYoG",
+        "buildId": "JhiZu_FxLTxNqrvzW-_ES",
         "isFallback": false,
         "gip": true
       }
@@ -57,10 +57,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -73,6 +69,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/6U3zZL1GFxebhsvH8xYoG/_buildManifest.js"
+      src="/_next/static/JhiZu_FxLTxNqrvzW-_ES/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/6U3zZL1GFxebhsvH8xYoG/_ssgManifest.js"
+      src="/_next/static/JhiZu_FxLTxNqrvzW-_ES/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "6U3zZL1GFxebhsvH8xYoG",
+        "buildId": "JhiZu_FxLTxNqrvzW-_ES",
         "isFallback": false,
         "gip": true
       }
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/6U3zZL1GFxebhsvH8xYoG/_buildManifest.js"
+      src="/_next/static/JhiZu_FxLTxNqrvzW-_ES/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/6U3zZL1GFxebhsvH8xYoG/_ssgManifest.js"
+      src="/_next/static/JhiZu_FxLTxNqrvzW-_ES/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: bfcf3c5

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Failing test suites

Commit: bfcf3c5

test/integration/amphtml/test/index.test.js

  • AMP Usage > AMP dev mode > should add data-ampdevmode to development script tags
  • AMP Usage > AMP dev mode > should detect changes and refresh an AMP page
  • AMP Usage > AMP dev mode > should detect changes to component and refresh an AMP page
  • AMP Usage > AMP dev mode > should not reload unless the page is edited for an AMP page
  • AMP Usage > AMP dev mode > should detect changes and refresh a hybrid AMP page
  • AMP Usage > AMP dev mode > should detect changes and refresh an AMP page at root pages/
Expand output

● AMP Usage › AMP dev mode › should add data-ampdevmode to development script tags

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

- Expected  - 1
+ Received  + 0

  Array [
    "__NEXT_DATA__",
    "/_next/static/chunks/react-refresh.js",
    "/_next/static/chunks/polyfills.js",
-   "/_next/static/chunks/webpack.js",
    "/_next/static/chunks/amp.js",
  ]

  306 |             e.startsWith('/') ? new URL(e, 'http://x.x').pathname : e
  307 |           )
> 308 |       ).toEqual([
      |         ^
  309 |         '__NEXT_DATA__',
  310 |         '/_next/static/chunks/react-refresh.js',
  311 |         '/_next/static/chunks/polyfills.js',

  at Object.<anonymous> (integration/amphtml/test/index.test.js:308:9)

● AMP Usage › AMP dev mode › should detect changes and refresh an AMP page

expect(received).toBe(expected) // Object.is equality

Expected: "I'm an AMP page!"
Received: ""

  361 |         browser = await webdriver(dynamicAppPort, '/hmr/amp')
  362 |         const text = await browser.elementByCss('p').text()
> 363 |         expect(text).toBe(`I'm an AMP page!`)
      |                      ^
  364 |
  365 |         const hmrTestPagePath = join(__dirname, '../', 'pages', 'hmr', 'amp.js')
  366 |

  at Object.<anonymous> (integration/amphtml/test/index.test.js:363:22)

● AMP Usage › AMP dev mode › should detect changes to component and refresh an AMP page

TIMED OUT: /hello/

  385 |
  386 |   if (hardError) {
> 387 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content)
      |           ^
  388 |   }
  389 |   return false
  390 | }

  at check (lib/next-test-utils.js:387:11)
  at Object.<anonymous> (integration/amphtml/test/index.test.js:389:7)

● AMP Usage › AMP dev mode › should not reload unless the page is edited for an AMP page

TIMED OUT: /I'm an AMP page!/

  385 |
  386 |   if (hardError) {
> 387 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content)
      |           ^
  388 |   }
  389 |   return false
  390 | }

  at check (lib/next-test-utils.js:387:11)
  at Object.<anonymous> (integration/amphtml/test/index.test.js:409:9)

● AMP Usage › AMP dev mode › should detect changes and refresh a hybrid AMP page

expect(received).toBe(expected) // Object.is equality

Expected: "I'm a hybrid AMP page!"
Received: ""

  466 |         browser = await webdriver(dynamicAppPort, '/hmr/hybrid?amp=1')
  467 |         const text = await browser.elementByCss('p').text()
> 468 |         expect(text).toBe(`I'm a hybrid AMP page!`)
      |                      ^
  469 |
  470 |         const hmrTestPagePath = join(
  471 |           __dirname,

  at Object.<anonymous> (integration/amphtml/test/index.test.js:468:22)

● AMP Usage › AMP dev mode › should detect changes and refresh an AMP page at root pages/

expect(received).toBe(expected) // Object.is equality

Expected: "I'm an AMP page!"
Received: ""

  501 |         browser = await webdriver(dynamicAppPort, '/root-hmr')
  502 |         const text = await browser.elementByCss('p').text()
> 503 |         expect(text).toBe(`I'm an AMP page!`)
      |                      ^
  504 |
  505 |         const hmrTestPagePath = join(__dirname, '../', 'pages', 'root-hmr.js')
  506 |

  at Object.<anonymous> (integration/amphtml/test/index.test.js:503:22)

@ijjk
Copy link
Member

ijjk commented Mar 18, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 11.9s 11.9s ⚠️ +4ms
nodeModulesSize 43.6 MB 43.6 MB -1.18 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.199 2.214 ⚠️ +0.02
/ avg req/sec 1137.05 1129.2 ⚠️ -7.85
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.488 1.437 -0.05
/error-in-render avg req/sec 1679.86 1739.59 +59.73
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 614 B 613 B -1 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB -1 B

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -57,10 +57,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -73,6 +69,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
+      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.c2766659ac6e6a63ca79.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
+      href="/_next/static/chunks/main-4f9c7555c56736311904.js"
       as="script"
     />
     <link
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-becabbdf5d4df28a038e.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3f42defbaad29e58243f.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-4f9c7555c56736311904.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-a24430c6b07ae4b780ba.js"
       async=""

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 13.4s 13.5s ⚠️ +106ms
nodeModulesSize 43.6 MB 43.6 MB -1.18 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-fde3324..9dd1.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-e6cee42..49eb.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 vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles Overall increase ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_error.js 1.02 MB 1.02 MB ⚠️ +384 B
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.02 MB 1.02 MB ⚠️ +384 B
link.js 1.08 MB 1.08 MB ⚠️ +384 B
routerDirect.js 1.07 MB 1.07 MB ⚠️ +384 B
withRouter.js 1.07 MB 1.07 MB ⚠️ +384 B
Overall change 5.27 MB 5.27 MB ⚠️ +1.92 kB

Webpack 5 Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
buildDuration 13.3s 13.7s ⚠️ +339ms
nodeModulesSize 43.6 MB 43.6 MB -1.18 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
/ failed reqs 0 0
/ total time (seconds) 2.032 2.227 ⚠️ +0.19
/ avg req/sec 1230.17 1122.7 ⚠️ -107.47
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.458 1.48 ⚠️ +0.02
/error-in-render avg req/sec 1715.13 1688.95 ⚠️ -26.18
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.1 kB
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js bugfix/entrypoint 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 vercel/next.js bugfix/entrypoint Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.28 kB
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB
amp-127483e4..9cd8.js gzip 560 B 560 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB
routerDirect..4d90.js gzip 333 B 333 B
withRouter-0..60b0.js gzip 329 B 329 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
_buildManifest.js gzip 324 B 324 B
Overall change 324 B 324 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js bugfix/entrypoint Change
index.html gzip 587 B 587 B
link.html gzip 594 B 594 B
withRouter.html gzip 582 B 582 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "jwBxzvaGe6gMFwW2T7Wr5",
+        "buildId": "SUHvKG8x9tA4z-2J3SOus",
         "isFallback": false,
         "gip": true
       }
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/jwBxzvaGe6gMFwW2T7Wr5/_buildManifest.js"
+      src="/_next/static/SUHvKG8x9tA4z-2J3SOus/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/jwBxzvaGe6gMFwW2T7Wr5/_ssgManifest.js"
+      src="/_next/static/SUHvKG8x9tA4z-2J3SOus/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "jwBxzvaGe6gMFwW2T7Wr5",
+        "buildId": "SUHvKG8x9tA4z-2J3SOus",
         "isFallback": false,
         "gip": true
       }
@@ -57,10 +57,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -73,6 +69,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/jwBxzvaGe6gMFwW2T7Wr5/_buildManifest.js"
+      src="/_next/static/SUHvKG8x9tA4z-2J3SOus/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/jwBxzvaGe6gMFwW2T7Wr5/_ssgManifest.js"
+      src="/_next/static/SUHvKG8x9tA4z-2J3SOus/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -7,22 +7,22 @@
     <noscript data-n-css=""></noscript>
     <link
       rel="preload"
-      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
+      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/framework.dc46d8e6c07122d5fb16.js"
+      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       as="script"
     />
     <link
       rel="preload"
-      href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
+      href="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
       as="script"
     />
     <link
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "jwBxzvaGe6gMFwW2T7Wr5",
+        "buildId": "SUHvKG8x9tA4z-2J3SOus",
         "isFallback": false,
         "gip": true
       }
@@ -52,10 +52,6 @@
       nomodule=""
       src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
     ></script>
-    <script
-      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
-      async=""
-    ></script>
     <script
       src="/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js"
       async=""
@@ -68,6 +64,10 @@
       src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf6d753e84db9064a2e7.js"
       async=""
     ></script>
+    <script
+      src="/_next/static/chunks/main-b4fb9ca7d620b49b9351.js"
+      async=""
+    ></script>
     <script
       src="/_next/static/chunks/pages/_app-fde3324f7822e8719dd1.js"
       async=""
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/jwBxzvaGe6gMFwW2T7Wr5/_buildManifest.js"
+      src="/_next/static/SUHvKG8x9tA4z-2J3SOus/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/jwBxzvaGe6gMFwW2T7Wr5/_ssgManifest.js"
+      src="/_next/static/SUHvKG8x9tA4z-2J3SOus/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: a399b72

@kodiakhq kodiakhq bot merged commit a408416 into canary Mar 18, 2021
@kodiakhq kodiakhq bot deleted the bugfix/entrypoint branch March 18, 2021 11:14
flybayer pushed a commit to blitz-js/next.js that referenced this pull request Apr 29, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants