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
Use single webpack runtimeChunk for Node.js compilation #14722
Merged
kodiakhq
merged 18 commits into
vercel:canary
from
timneutkens:add/webpack-5-single-runtimechunk
Jul 1, 2020
Merged
Use single webpack runtimeChunk for Node.js compilation #14722
kodiakhq
merged 18 commits into
vercel:canary
from
timneutkens:add/webpack-5-single-runtimechunk
Jul 1, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sokra
requested changes
Jun 30, 2020
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 13.1s | 12.9s | -198ms |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.142 | 2.102 | -0.04 |
/ avg req/sec | 1167.03 | 1189.49 | +22.46 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.296 | 1.295 | 0 |
/error-in-render avg req/sec | 1928.58 | 1929.77 | +1.19 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 951 B | 951 B | ✓ |
link.html gzip | 960 B | 960 B | ✓ |
withRouter.html gzip | 943 B | 943 B | ✓ |
Overall change | 2.85 kB | 2.85 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 13.6s | 13.8s | |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_error.js | 875 kB | 875 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 | 915 kB | ✓ |
routerDirect.js | 907 kB | 907 kB | ✓ |
withRouter.js | 907 kB | 907 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | ✓ |
…ingle-runtimechunk
…tkens/next.js into add/webpack-5-single-runtimechunk
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 12.3s | 12.4s | |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.083 | 2.059 | -0.02 |
/ avg req/sec | 1199.99 | 1213.93 | +13.94 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.242 | 1.256 | |
/error-in-render avg req/sec | 2012.85 | 1990.06 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 962 B | 962 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 13.3s | 13.2s | -124ms |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_error.js | 875 kB | 875 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 | 915 kB | ✓ |
routerDirect.js | 907 kB | 907 kB | ✓ |
withRouter.js | 907 kB | 907 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | ✓ |
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 13.5s | 13.5s | -45ms |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.358 | 2.321 | -0.04 |
/ avg req/sec | 1060.19 | 1077.04 | +16.85 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.53 | 1.525 | -0.01 |
/error-in-render avg req/sec | 1633.9 | 1639.85 | +5.95 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 962 B | 962 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 14.3s | 14.6s | |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_error.js | 875 kB | 875 kB | -2 B |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | -2 B |
link.js | 915 kB | 915 kB | -2 B |
routerDirect.js | 907 kB | 907 kB | -2 B |
withRouter.js | 907 kB | 907 kB | -2 B |
Overall change | 4.49 MB | 4.49 MB | -10 B |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 11.6s | 11.7s | |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 1.995 | 1.985 | -0.01 |
/ avg req/sec | 1253.4 | 1259.39 | +5.99 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.173 | 1.183 | |
/error-in-render avg req/sec | 2130.55 | 2114.11 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 962 B | 962 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 12.8s | 12.8s | |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_error.js | 875 kB | 875 kB | -2 B |
404.html | 4.17 kB | 4.17 kB | ✓ |
hooks.html | 3.79 kB | 3.79 kB | ✓ |
index.js | 876 kB | 876 kB | -2 B |
link.js | 915 kB | 915 kB | -2 B |
routerDirect.js | 907 kB | 907 kB | -2 B |
withRouter.js | 907 kB | 907 kB | -2 B |
Overall change | 4.49 MB | 4.49 MB | -10 B |
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 12.5s | 12.4s | -83ms |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.09 | 1.984 | -0.11 |
/ avg req/sec | 1196.43 | 1259.8 | +63.37 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.226 | 1.257 | |
/error-in-render avg req/sec | 2039.02 | 1988.6 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 962 B | 962 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 13.5s | 13.4s | -40ms |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_error.js | 875 kB | 875 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 | 915 kB | ✓ |
routerDirect.js | 907 kB | 907 kB | ✓ |
withRouter.js | 907 kB | 907 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | ✓ |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 14.1s | 14.2s | |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.432 | 2.484 | |
/ avg req/sec | 1027.82 | 1006.34 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.583 | 1.716 | |
/error-in-render avg req/sec | 1579.45 | 1456.89 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 962 B | 962 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 17.5s | 18.5s | |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_error.js | 875 kB | 875 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 | 915 kB | ✓ |
routerDirect.js | 907 kB | 907 kB | ✓ |
withRouter.js | 907 kB | 907 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | ✓ |
Timer
approved these changes
Jul 1, 2020
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 12.1s | 12.5s | |
nodeModulesSize | 66 MB | 66 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.032 | 2.047 | |
/ avg req/sec | 1230.58 | 1221.45 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.229 | 1.217 | -0.01 |
/error-in-render avg req/sec | 2033.53 | 2054.01 | +20.48 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
index.html gzip | 953 B | 953 B | ✓ |
link.html gzip | 962 B | 962 B | ✓ |
withRouter.html gzip | 946 B | 946 B | ✓ |
Overall change | 2.86 kB | 2.86 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
buildDuration | 13.2s | 13.4s | |
nodeModulesSize | 66 MB | 66 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.js gzip | 6.59 kB | 6.59 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
19b7e98f51cc..769f.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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
main-HASH.module.js gzip | 5.68 kB | 5.68 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | timneutkens/next.js add/webpack-5-single-runtimechunk | Change | |
---|---|---|---|
_buildManifest.js gzip | 268 B | 268 B | ✓ |
_buildManife..dule.js gzip | 272 B | 272 B | ✓ |
Overall change | 540 B | 540 B | ✓ |
Serverless bundles
vercel/next.js canary | timneutkens/next.js add/webpack-5-single-runtimechunk | 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 | 915 kB | ✓ |
routerDirect.js | 908 kB | 908 kB | ✓ |
withRouter.js | 908 kB | 908 kB | ✓ |
Overall change | 4.49 MB | 4.49 MB | ✓ |
@@ -660,7 +660,9 @@ export default async function getBaseWebpackConfig( | |||
nodeEnv: false, | |||
splitChunks: isServer ? false : splitChunksConfig, | |||
runtimeChunk: isServer | |||
? undefined | |||
? isWebpack5 && !isLikeServerless |
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.
pretty sure this might have been what was biting me when trying to connect remote containers for SSR
9 tasks
rokinsky
pushed a commit
to rokinsky/next.js
that referenced
this pull request
Jul 11, 2020
Webpack 5 supports a single runtimechunk for the Node.js compilation, this solves sharing modules between entrypoints.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Webpack 5 supports a single runtimechunk for the Node.js compilation, this solves sharing modules between entrypoints.