-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
basePath: Resolve links against router pathname instead of window.location #14804
Conversation
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 12s | 11.9s | -100ms |
nodeModulesSize | 66 MB | 66 MB | -1.21 kB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.002 | 1.935 | -0.07 |
/ avg req/sec | 1248.56 | 1292.12 | +43.56 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.162 | 1.178 | |
/error-in-render avg req/sec | 2151.06 | 2121.66 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 958 B | -1 B |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | -1 B |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-85ce3c6a45ee465c8213.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-ebd9e092dc6613f88deb.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-ebd9e092dc6613f88deb.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-85ce3c6a45ee465c8213.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-ebd9e092dc6613f88deb.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 12.7s | 12.6s | -66ms |
nodeModulesSize | 66 MB | 66 MB | -1.21 kB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 914 kB | 914 kB | -406 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -406 B |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.915 | 1.896 | -0.02 |
/ avg req/sec | 1305.67 | 1318.38 | +12.71 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.18 | 1.215 | |
/error-in-render avg req/sec | 2118.89 | 2057.21 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 958 B | -1 B |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | -1 B |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-85ce3c6a45ee465c8213.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-ebd9e092dc6613f88deb.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-ebd9e092dc6613f88deb.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-85ce3c6a45ee465c8213.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-ebd9e092dc6613f88deb.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 12.7s | 12.7s | |
nodeModulesSize | 66 MB | 66 MB | -1.21 kB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 914 kB | 914 kB | -406 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -406 B |
Failing test suitesCommit: 5cd19c9 test/integration/basepath/test/index.test.js
Expand output● basePath development › should render error in dev overlay correctly
|
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.983 | 1.953 | -0.03 |
/ avg req/sec | 1260.62 | 1279.75 | +19.13 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.212 | 1.241 | |
/error-in-render avg req/sec | 2062.19 | 2014.79 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 958 B | -1 B |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | -1 B |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-85ce3c6a45ee465c8213.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-ebd9e092dc6613f88deb.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-ebd9e092dc6613f88deb.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-85ce3c6a45ee465c8213.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-ebd9e092dc6613f88deb.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 13.4s | 13.3s | -94ms |
nodeModulesSize | 66 MB | 66 MB | -1.21 kB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 914 kB | 914 kB | -406 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -406 B |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.698 | 1.759 | |
/ avg req/sec | 1471.91 | 1420.99 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.09 | 1.114 | |
/error-in-render avg req/sec | 2293.86 | 2244.27 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 267 B | -1 B |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 539 B | -1 B |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 960 B | |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-27dc99f1cf9e2f8285bf.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-22d5420493a928964b1f.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-22d5420493a928964b1f.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-27dc99f1cf9e2f8285bf.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-22d5420493a928964b1f.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 11.6s | 11.4s | -211ms |
nodeModulesSize | 66 MB | 66 MB | -1.05 kB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 267 B | -1 B |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 539 B | -1 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 914 kB | 914 kB | -402 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -402 B |
Failing test suitesCommit: cbb63b5 test/integration/create-next-app/index.test.js
Expand output● create next app › valid example
● create next app › should allow example with GitHub URL
● create next app › should allow example with GitHub URL and example-path
● create next app › should use --example-path over the file path in the GitHub URL
|
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.192 | 2.173 | -0.02 |
/ avg req/sec | 1140.33 | 1150.44 | +10.11 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.481 | 1.525 | |
/error-in-render avg req/sec | 1687.76 | 1639.2 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 271 B | -1 B |
Overall change | 540 B | 539 B | -1 B |
Rendered Page Sizes
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 959 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-724c96536766536fd91e.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-3f72276743d325d61f71.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-3f72276743d325d61f71.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-724c96536766536fd91e.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-3f72276743d325d61f71.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 14.4s | 14.4s | -17ms |
nodeModulesSize | 66 MB | 66 MB | -974 B |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 271 B | -1 B |
Overall change | 540 B | 539 B | -1 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 914 kB | 914 kB | -382 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -382 B |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.335 | 2.503 | |
/ avg req/sec | 1070.83 | 998.64 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.606 | 1.66 | |
/error-in-render avg req/sec | 1556.48 | 1506.33 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 961 B | |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-d0cd3d2b80934d6c003a.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-5a10d6c964f4c88363cd.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-5a10d6c964f4c88363cd.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-d0cd3d2b80934d6c003a.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-5a10d6c964f4c88363cd.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 14.7s | 14.9s | |
nodeModulesSize | 66 MB | 66 MB | -943 B |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 914 kB | 914 kB | -352 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -352 B |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.184 | 2.298 | |
/ avg req/sec | 1144.81 | 1087.73 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.455 | 1.475 | |
/error-in-render avg req/sec | 1718.72 | 1694.45 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 955 B | 955 B | ✓ |
link.html gzip | 961 B | 962 B | |
withRouter.html gzip | 948 B | 948 B | ✓ |
Overall change | 2.86 kB | 2.87 kB |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-d0cd3d2b80934d6c003a.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-5a10d6c964f4c88363cd.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-5a10d6c964f4c88363cd.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-d0cd3d2b80934d6c003a.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-5a10d6c964f4c88363cd.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 14.7s | 14.2s | -522ms |
nodeModulesSize | 66 MB | 66 MB | -943 B |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..18e4.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.3 kB | 26.3 kB | ✓ |
Overall change | 26.3 kB | 26.3 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 915 kB | 914 kB | -352 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -352 B |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.273 | 2.36 | |
/ avg req/sec | 1099.73 | 1059.42 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.499 | 1.58 | |
/error-in-render avg req/sec | 1667.54 | 1582.12 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..6834.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.4 kB | 26.4 kB | ✓ |
Overall change | 26.4 kB | 26.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 959 B | 960 B | |
withRouter.html gzip | 945 B | 945 B | ✓ |
Overall change | 2.86 kB | 2.86 kB |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-f35cd1774d910f5523ed.js"],
"/_error": ["static\u002Fpages\u002F_error-f39e6723c6acde17325a.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-9e216cd51bf04b309e08.js"],
- "/link": ["static\u002Fpages\u002Flink-4ce0c7178d36c3b390c2.js"],
+ "/link": ["static\u002Fpages\u002Flink-d0cd3d2b80934d6c003a.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-b95d3f54c75949a43da6.js"
],
Diff for _buildManifest.module.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
"/": ["static\u002Fpages\u002Findex-da343bca3b67f1bcf42d.module.js"],
"/_error": ["static\u002Fpages\u002F_error-b3c4c3f8dbb1417657e6.module.js"],
"/hooks": ["static\u002Fpages\u002Fhooks-dc8f274035a2839a1e61.module.js"],
- "/link": ["static\u002Fpages\u002Flink-4c38d18e319a774ec055.module.js"],
+ "/link": ["static\u002Fpages\u002Flink-5a10d6c964f4c88363cd.module.js"],
"/routerDirect": [
"static\u002Fpages\u002FrouterDirect-c62f258dff7fece0a732.module.js"
],
Diff for link.html
@@ -36,7 +36,7 @@
/>
<link
rel="preload"
- href="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ href="/_next/static/pages/link-5a10d6c964f4c88363cd.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -146,13 +146,13 @@
type="module"
></script>
<script
- src="/_next/static/pages/link-4ce0c7178d36c3b390c2.js"
+ src="/_next/static/pages/link-d0cd3d2b80934d6c003a.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/pages/link-4c38d18e319a774ec055.module.js"
+ src="/_next/static/pages/link-5a10d6c964f4c88363cd.module.js"
async=""
crossorigin="anonymous"
type="module"
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
buildDuration | 14.8s | 14.6s | -214ms |
nodeModulesSize | 66.1 MB | 66.1 MB | -943 B |
Client Bundles (main, webpack, commons)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.js gzip | 6.63 kB | 6.63 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..6834.js gzip | 10.7 kB | 10.7 kB | ✓ |
framework.HASH.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 57.2 kB | 57.2 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.71 kB | 5.71 kB | ✓ |
webpack-HASH..dule.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..dule.js gzip | 7.09 kB | 7.09 kB | ✓ |
framework.HA..dule.js gzip | 39.1 kB | 39.1 kB | ✓ |
Overall change | 52.7 kB | 52.7 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 26.4 kB | 26.4 kB | ✓ |
Overall change | 26.4 kB | 26.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | Janpot/next.js refactor-link | Change | |
---|---|---|---|
_error.js | 876 kB | 876 kB | ✓ |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | ✓ |
link.js | 915 kB | 914 kB | -352 B |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | -352 B |
…ation (vercel#14804) Currently following links are broken when using `basePath`: ```jsx // pages/hello.js <Link href="#hashlink"> <a id="hashlink">Hash Link</a> </Link> ``` with `basePath: '/docs'`, this will navigate to `/docs/docs/hello#hashlink` instead of `/docs/hello#hashlink` I have a further optimization that builds on this branch that removes `url.parse` and `url.resolve` in favor for `new URL()` in router and link. Will PR when this gets merged.
? resolve(router.pathname, formatUrl(props.as)) | ||
: resolvedHref, | ||
} | ||
}, [router.pathname, props.href, props.as]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line breaks the component if rendered outside <RouteContext>
, since router
is undefined
.
See #15543
Currently following links are broken when using
basePath
:with
basePath: '/docs'
, this will navigate to/docs/docs/hello#hashlink
instead of/docs/hello#hashlink
I have a further optimization that builds on this branch that removes
url.parse
andurl.resolve
in favor fornew URL()
in router and link. Will PR when this gets merged.