-
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
Babel Turbo Loader, Part 2 #24078
Merged
Merged
Babel Turbo Loader, Part 2 #24078
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
divmain
requested review from
ijjk,
lfades,
shuding and
timneutkens
as code owners
April 14, 2021 21:07
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 12.5s | 12.4s | -108ms |
nodeModulesSize | 46.2 MB | 46.2 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.264 | 2.246 | -0.02 |
/ avg req/sec | 1104.02 | 1113.11 | +9.09 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.205 | 1.186 | -0.02 |
/error-in-render avg req/sec | 2074.25 | 2108.43 | +34.18 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-9c11a899..1178.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 609 B | 609 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 15.5s | 15.4s | -149ms |
nodeModulesSize | 46.2 MB | 46.2 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-9c11a899..1178.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Serverless bundles Overall decrease ✓
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_error.js | 1.39 MB | 1.39 MB | ✓ |
404.html | 2.76 kB | 2.76 kB | ✓ |
500.html | 2.75 kB | 2.75 kB | ✓ |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.96 kB | 1.96 kB | ✓ |
hooks.html | 2.01 kB | 2.01 kB | ✓ |
index.js | 1.39 MB | 1.39 MB | ✓ |
link.js | 1.45 MB | 1.45 MB | -2 B |
routerDirect.js | 1.44 MB | 1.44 MB | ✓ |
withRouter.js | 1.44 MB | 1.44 MB | ✓ |
Overall change | 7.14 MB | 7.14 MB | -2 B |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 13s | 12.3s | -713ms |
nodeModulesSize | 46.2 MB | 46.2 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.269 | 2.162 | -0.11 |
/ avg req/sec | 1101.57 | 1156.13 | +54.56 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.195 | 1.109 | -0.09 |
/error-in-render avg req/sec | 2092.32 | 2255.18 | +162.86 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-3f457946..288d.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-9c11a899..1178.js gzip | 7.05 kB | 7.05 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.03 kB | 9.03 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 349 B | 349 B | ✓ |
Overall change | 349 B | 349 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 609 B | 609 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for index.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "2uMoAX8lx8AALwvcHAAfB",
+ "buildId": "mTfoQcbfleqvlk57hBj3I",
"isFallback": false,
"gip": true
}
@@ -86,11 +86,11 @@
async=""
></script>
<script
- src="/_next/static/2uMoAX8lx8AALwvcHAAfB/_buildManifest.js"
+ src="/_next/static/mTfoQcbfleqvlk57hBj3I/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/2uMoAX8lx8AALwvcHAAfB/_ssgManifest.js"
+ src="/_next/static/mTfoQcbfleqvlk57hBj3I/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -53,7 +53,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "2uMoAX8lx8AALwvcHAAfB",
+ "buildId": "mTfoQcbfleqvlk57hBj3I",
"isFallback": false,
"gip": true
}
@@ -91,11 +91,11 @@
async=""
></script>
<script
- src="/_next/static/2uMoAX8lx8AALwvcHAAfB/_buildManifest.js"
+ src="/_next/static/mTfoQcbfleqvlk57hBj3I/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/2uMoAX8lx8AALwvcHAAfB/_ssgManifest.js"
+ src="/_next/static/mTfoQcbfleqvlk57hBj3I/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "2uMoAX8lx8AALwvcHAAfB",
+ "buildId": "mTfoQcbfleqvlk57hBj3I",
"isFallback": false,
"gip": true
}
@@ -86,11 +86,11 @@
async=""
></script>
<script
- src="/_next/static/2uMoAX8lx8AALwvcHAAfB/_buildManifest.js"
+ src="/_next/static/mTfoQcbfleqvlk57hBj3I/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/2uMoAX8lx8AALwvcHAAfB/_ssgManifest.js"
+ src="/_next/static/mTfoQcbfleqvlk57hBj3I/_ssgManifest.js"
async=""
></script>
</body>
Failing test suitesCommit: 9d8a492 test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
|
timneutkens
reviewed
Apr 19, 2021
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 14.3s | 14.6s | |
buildDurationCached | 4.8s | 5s | |
nodeModulesSize | 46.6 MB | 46.6 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.477 | 2.501 | |
/ avg req/sec | 1009.11 | 999.48 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.258 | 1.295 | |
/error-in-render avg req/sec | 1987.95 | 1930.21 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-ce2d8ad2..a2d3.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-ee4f51be..fb74.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
css-ba062d31..3e65.js gzip | 363 B | 363 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.4 kB | 9.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 610 B | 610 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 17.9s | 18.1s | |
buildDurationCached | 6.8s | 6.9s | |
nodeModulesSize | 46.6 MB | 46.6 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-ce2d8ad2..a2d3.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-ee4f51be..fb74.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
css-ba062d31..3e65.js gzip | 363 B | 363 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.4 kB | 9.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_error.js | 1.39 MB | 1.39 MB | |
404.html | 2.76 kB | 2.76 kB | ✓ |
500.html | 2.75 kB | 2.75 kB | ✓ |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.96 kB | 1.96 kB | ✓ |
css.html | 2.13 kB | 2.13 kB | ✓ |
hooks.html | 2.01 kB | 2.01 kB | ✓ |
index.js | 1.39 MB | 1.39 MB | ✓ |
link.js | 1.45 MB | 1.45 MB | ✓ |
routerDirect.js | 1.44 MB | 1.44 MB | ✓ |
withRouter.js | 1.44 MB | 1.44 MB | ✓ |
Overall change | 7.15 MB | 7.15 MB |
Webpack 5 Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 14.5s | 14.4s | -23ms |
buildDurationCached | 4.9s | 4.5s | -366ms |
nodeModulesSize | 46.6 MB | 46.6 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.532 | 2.504 | -0.03 |
/ avg req/sec | 987.36 | 998.29 | +10.93 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.266 | 1.216 | -0.05 |
/error-in-render avg req/sec | 1974.06 | 2056.34 | +82.28 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-ce2d8ad2..a2d3.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-ee4f51be..fb74.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
css-ba062d31..3e65.js gzip | 363 B | 363 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.4 kB | 9.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 610 B | 610 B | ✓ |
link.html gzip | 616 B | 616 B | ✓ |
withRouter.html gzip | 605 B | 605 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for index.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "oXuOeZipcWVDsVNwojV3_",
+ "buildId": "zRJ9yLmTBMkA8l0kRT1gK",
"isFallback": false,
"gip": true
}
@@ -86,11 +86,11 @@
async=""
></script>
<script
- src="/_next/static/oXuOeZipcWVDsVNwojV3_/_buildManifest.js"
+ src="/_next/static/zRJ9yLmTBMkA8l0kRT1gK/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/oXuOeZipcWVDsVNwojV3_/_ssgManifest.js"
+ src="/_next/static/zRJ9yLmTBMkA8l0kRT1gK/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -53,7 +53,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "oXuOeZipcWVDsVNwojV3_",
+ "buildId": "zRJ9yLmTBMkA8l0kRT1gK",
"isFallback": false,
"gip": true
}
@@ -91,11 +91,11 @@
async=""
></script>
<script
- src="/_next/static/oXuOeZipcWVDsVNwojV3_/_buildManifest.js"
+ src="/_next/static/zRJ9yLmTBMkA8l0kRT1gK/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/oXuOeZipcWVDsVNwojV3_/_ssgManifest.js"
+ src="/_next/static/zRJ9yLmTBMkA8l0kRT1gK/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "oXuOeZipcWVDsVNwojV3_",
+ "buildId": "zRJ9yLmTBMkA8l0kRT1gK",
"isFallback": false,
"gip": true
}
@@ -86,11 +86,11 @@
async=""
></script>
<script
- src="/_next/static/oXuOeZipcWVDsVNwojV3_/_buildManifest.js"
+ src="/_next/static/zRJ9yLmTBMkA8l0kRT1gK/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/oXuOeZipcWVDsVNwojV3_/_ssgManifest.js"
+ src="/_next/static/zRJ9yLmTBMkA8l0kRT1gK/_ssgManifest.js"
async=""
></script>
</body>
timneutkens
reviewed
Apr 20, 2021
timneutkens
reviewed
Apr 20, 2021
timneutkens
reviewed
Apr 20, 2021
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 17.7s | 17.3s | -357ms |
buildDurationCached | 5.7s | 6.2s | |
nodeModulesSize | 46.6 MB | 46.6 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 3.153 | 3.058 | -0.1 |
/ avg req/sec | 792.91 | 817.57 | +24.66 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.849 | 1.787 | -0.06 |
/error-in-render avg req/sec | 1351.96 | 1399.21 | +47.25 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-ce2d8ad2..a2d3.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-c0d3b055..b452.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
css-ba062d31..3e65.js gzip | 363 B | 363 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.4 kB | 9.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 609 B | 609 B | ✓ |
link.html gzip | 614 B | 614 B | ✓ |
withRouter.html gzip | 603 B | 603 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 22.1s | 22s | -94ms |
buildDurationCached | 8s | 8.2s | |
nodeModulesSize | 46.6 MB | 46.6 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-ce2d8ad2..a2d3.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-c0d3b055..b452.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
css-ba062d31..3e65.js gzip | 363 B | 363 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.4 kB | 9.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Serverless bundles
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_error.js | 1.39 MB | 1.39 MB | ✓ |
404.html | 2.76 kB | 2.76 kB | ✓ |
500.html | 2.75 kB | 2.75 kB | ✓ |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.96 kB | 1.96 kB | ✓ |
css.html | 2.13 kB | 2.13 kB | ✓ |
hooks.html | 2.01 kB | 2.01 kB | ✓ |
index.js | 1.39 MB | 1.39 MB | ✓ |
link.js | 1.45 MB | 1.45 MB | ✓ |
routerDirect.js | 1.44 MB | 1.44 MB | ✓ |
withRouter.js | 1.44 MB | 1.44 MB | ✓ |
Overall change | 7.15 MB | 7.15 MB | ✓ |
Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 17.9s | 17.9s | -16ms |
buildDurationCached | 5.8s | 5.6s | -273ms |
nodeModulesSize | 46.6 MB | 46.6 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 3.073 | 3.085 | |
/ avg req/sec | 813.42 | 810.27 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.723 | 1.869 | |
/error-in-render avg req/sec | 1450.74 | 1337.61 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-ce2d8ad2..a2d3.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-c0d3b055..b452.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-5cc66b2..6f03.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-55112..054d.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-89a5460c..567f.js gzip | 558 B | 558 B | ✓ |
css-ba062d31..3e65.js gzip | 363 B | 363 B | ✓ |
hooks-8c2e74..be37.js gzip | 924 B | 924 B | ✓ |
index-fec729..83b2.js gzip | 243 B | 243 B | ✓ |
link-dd34d9b..0ade.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..5759.js gzip | 336 B | 336 B | ✓ |
withRouter-1..98bf.js gzip | 334 B | 334 B | ✓ |
Overall change | 9.4 kB | 9.4 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 609 B | 609 B | ✓ |
link.html gzip | 614 B | 614 B | ✓ |
withRouter.html gzip | 603 B | 603 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Diffs
Diff for index.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "OSSA9NBj_Ykf6pq29mhmr",
+ "buildId": "9hhSqHS16mlcwORfEXY6N",
"isFallback": false,
"gip": true
}
@@ -86,11 +86,11 @@
async=""
></script>
<script
- src="/_next/static/OSSA9NBj_Ykf6pq29mhmr/_buildManifest.js"
+ src="/_next/static/9hhSqHS16mlcwORfEXY6N/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/OSSA9NBj_Ykf6pq29mhmr/_ssgManifest.js"
+ src="/_next/static/9hhSqHS16mlcwORfEXY6N/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -53,7 +53,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "OSSA9NBj_Ykf6pq29mhmr",
+ "buildId": "9hhSqHS16mlcwORfEXY6N",
"isFallback": false,
"gip": true
}
@@ -91,11 +91,11 @@
async=""
></script>
<script
- src="/_next/static/OSSA9NBj_Ykf6pq29mhmr/_buildManifest.js"
+ src="/_next/static/9hhSqHS16mlcwORfEXY6N/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/OSSA9NBj_Ykf6pq29mhmr/_ssgManifest.js"
+ src="/_next/static/9hhSqHS16mlcwORfEXY6N/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "OSSA9NBj_Ykf6pq29mhmr",
+ "buildId": "9hhSqHS16mlcwORfEXY6N",
"isFallback": false,
"gip": true
}
@@ -86,11 +86,11 @@
async=""
></script>
<script
- src="/_next/static/OSSA9NBj_Ykf6pq29mhmr/_buildManifest.js"
+ src="/_next/static/9hhSqHS16mlcwORfEXY6N/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/OSSA9NBj_Ykf6pq29mhmr/_ssgManifest.js"
+ src="/_next/static/9hhSqHS16mlcwORfEXY6N/_ssgManifest.js"
async=""
></script>
</body>
timneutkens
approved these changes
Apr 20, 2021
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 15.5s | 15.4s | -48ms |
buildDurationCached | 5s | 4.8s | -248ms |
nodeModulesSize | 46.6 MB | 46.6 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.7 | 2.854 | |
/ avg req/sec | 926.09 | 876.09 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.555 | 1.538 | -0.02 |
/error-in-render avg req/sec | 1608.13 | 1624.98 | +16.85 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-HASH.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-HASH.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework-HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-HASH.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-HASH.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-HASH.js gzip | 558 B | 558 B | ✓ |
css-HASH.js gzip | 363 B | 363 B | ✓ |
hooks-HASH.js gzip | 924 B | 924 B | ✓ |
index-HASH.js gzip | 243 B | 243 B | ✓ |
link-HASH.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..HASH.js gzip | 336 B | 336 B | ✓ |
withRouter-HASH.js gzip | 334 B | 334 B | ✓ |
99a142a5cfae..804.css gzip | 125 B | 125 B | ✓ |
Overall change | 9.52 kB | 9.52 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 609 B | 609 B | ✓ |
link.html gzip | 614 B | 614 B | ✓ |
withRouter.html gzip | 603 B | 603 B | ✓ |
Overall change | 1.83 kB | 1.83 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 19.6s | 19.2s | -421ms |
buildDurationCached | 7.1s | 7.2s | |
nodeModulesSize | 46.6 MB | 46.6 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
597-HASH.js gzip | 13.3 kB | 13.3 kB | ✓ |
778-HASH.js gzip | 7.08 kB | 7.08 kB | ✓ |
framework-HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 151 B | 151 B | ✓ |
webpack-HASH.js gzip | 993 B | 993 B | ✓ |
Overall change | 60.8 kB | 60.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-HASH.js gzip | 1.3 kB | 1.3 kB | ✓ |
_error-HASH.js gzip | 3.68 kB | 3.68 kB | ✓ |
amp-HASH.js gzip | 558 B | 558 B | ✓ |
css-HASH.js gzip | 363 B | 363 B | ✓ |
hooks-HASH.js gzip | 924 B | 924 B | ✓ |
index-HASH.js gzip | 243 B | 243 B | ✓ |
link-HASH.js gzip | 1.66 kB | 1.66 kB | ✓ |
routerDirect..HASH.js gzip | 336 B | 336 B | ✓ |
withRouter-HASH.js gzip | 334 B | 334 B | ✓ |
99a142a5cfae..804.css gzip | 125 B | 125 B | ✓ |
Overall change | 9.52 kB | 9.52 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 390 B | 390 B | ✓ |
Overall change | 390 B | 390 B | ✓ |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_error.js | 1.39 MB | 1.39 MB | ✓ |
404.html | 2.76 kB | 2.76 kB | ✓ |
500.html | 2.75 kB | 2.75 kB | ✓ |
amp.amp.html | 10.7 kB | 10.7 kB | ✓ |
amp.html | 1.96 kB | 1.96 kB | ✓ |
css.html | 2.13 kB | 2.13 kB | ✓ |
hooks.html | 2.01 kB | 2.01 kB | ✓ |
index.js | 1.39 MB | 1.39 MB | ✓ |
link.js | 1.45 MB | 1.45 MB | |
routerDirect.js | 1.44 MB | 1.44 MB | ✓ |
withRouter.js | 1.44 MB | 1.44 MB | ✓ |
Overall change | 7.15 MB | 7.15 MB |
Webpack 4 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
buildDuration | 12.8s | 12.9s | |
buildDurationCached | 5.4s | 5.2s | -216ms |
nodeModulesSize | 46.6 MB | 46.6 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.672 | 2.725 | |
/ avg req/sec | 935.7 | 917.34 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.5 | 1.55 | |
/error-in-render avg req/sec | 1666.36 | 1613.28 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
677f882d2ed8..HASH.js gzip | 13.4 kB | 13.4 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 7.16 kB | 7.16 kB | ✓ |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 60.2 kB | 60.2 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | divmain/next.js babel-loader-part-2 | 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 | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_app-HASH.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-HASH.js gzip | 3.71 kB | 3.71 kB | ✓ |
amp-HASH.js gzip | 536 B | 536 B | ✓ |
css-HASH.js gzip | 339 B | 339 B | ✓ |
hooks-HASH.js gzip | 887 B | 887 B | ✓ |
index-HASH.js gzip | 227 B | 227 B | ✓ |
link-HASH.js gzip | 1.65 kB | 1.65 kB | ✓ |
routerDirect..HASH.js gzip | 303 B | 303 B | ✓ |
withRouter-HASH.js gzip | 302 B | 302 B | ✓ |
21c68fa65a48..217.css gzip | 125 B | 125 B | ✓ |
Overall change | 9.36 kB | 9.36 kB | ✓ |
Client Build Manifests
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
_buildManifest.js gzip | 419 B | 419 B | ✓ |
Overall change | 419 B | 419 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | divmain/next.js babel-loader-part-2 | Change | |
---|---|---|---|
index.html gzip | 612 B | 612 B | ✓ |
link.html gzip | 619 B | 619 B | ✓ |
withRouter.html gzip | 606 B | 606 B | ✓ |
Overall change | 1.84 kB | 1.84 kB | ✓ |
SokratisVidros
pushed a commit
to SokratisVidros/next.js
that referenced
this pull request
Apr 20, 2021
This PR addresses the potential for memory leakage with the previous caching scheme; it should also be more efficient, resulting in fewer instances where a fresh Babel config must be generated. Documentation has been added, and `overrides` have been removed in favor of conditional plugins for consistency. This approach is easier to break, in that `CharacteristicsGermaneToCaching` must be correct for all cases. However, it means that <= 8 configs will need to be generated within the context of a single thread, and the config-caching is about as fast as we can get it.
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.
This PR addresses the potential for memory leakage with the previous caching scheme; it should also be more efficient, resulting in fewer instances where a fresh Babel config must be generated. Documentation has been added, and
overrides
have been removed in favor of conditional plugins for consistency.This approach is easier to break, in that
CharacteristicsGermaneToCaching
must be correct for all cases. However, it means that <= 8 configs will need to be generated within the context of a single thread, and the config-caching is about as fast as we can get it.