-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Improving build speed by running it parallel 🚀 #44362
Closed
sanjaiyan-dev
wants to merge
5
commits into
vercel:canary
from
sanjaiyan-dev:sanjaiyan-async-rendering-concurrent
Closed
Improving build speed by running it parallel 🚀 #44362
sanjaiyan-dev
wants to merge
5
commits into
vercel:canary
from
sanjaiyan-dev:sanjaiyan-async-rendering-concurrent
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
sanjaiyan-dev
requested review from
timneutkens,
ijjk,
shuding,
padmaia and
huozhi
as code owners
December 26, 2022 16:49
Stats from current PRDefault Build (Decrease detected ✓)General Overall decrease ✓
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size Overall decrease ✓
Middleware size Overall increase
|
vercel/next.js canary | sanjaiyan-dev/next.js sanjaiyan-async-rendering-concurrent | Change | |
---|---|---|---|
middleware-b..fest.js gzip | 584 B | 585 B | |
middleware-r..fest.js gzip | 145 B | 145 B | ✓ |
middleware.js gzip | 27 kB | 27 kB | ✓ |
edge-runtime..pack.js gzip | 1.83 kB | 1.83 kB | ✓ |
Overall change | 29.6 kB | 29.6 kB |
Diffs
Diff for page.js
@@ -8618,7 +8618,7 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
/***/
},
- /***/ 3584: /***/ (
+ /***/ 1036: /***/ (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -8626,15 +8626,15 @@ Learn More: https://nextjs.org/docs/messages/node-module-in-edge-runtime`;
Promise.resolve(/* import() eager */).then(
__webpack_require__.bind(__webpack_require__, 1210)
);
- Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 9916)
- );
Promise.resolve(/* import() eager */).then(
__webpack_require__.bind(__webpack_require__, 2973)
);
Promise.resolve(/* import() eager */).then(
__webpack_require__.bind(__webpack_require__, 6448)
);
+ Promise.resolve(/* import() eager */).then(
+ __webpack_require__.bind(__webpack_require__, 9916)
+ );
/***/
},
Diff for middleware-b..-manifest.js
@@ -9,7 +9,7 @@ self.__BUILD_MANIFEST = {
rootMainFiles: [
"static/chunks/webpack-c452a3e31b73f504.js",
"static/chunks/152-4025b906f33b8271.js",
- "static/chunks/main-app-ee3c68771bdcd808.js"
+ "static/chunks/main-app-c9a0aaff35eafcb5.js"
],
pages: {
"/": [
Diff for main-app-HASH.js
@@ -1,7 +1,7 @@
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
[744],
{
- /***/ 1432: /***/ function(
+ /***/ 9915: /***/ function(
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -9,15 +9,15 @@
Promise.resolve(/* import() eager */).then(
__webpack_require__.t.bind(__webpack_require__, 429, 23)
);
- Promise.resolve(/* import() eager */).then(
- __webpack_require__.t.bind(__webpack_require__, 9379, 23)
- );
Promise.resolve(/* import() eager */).then(
__webpack_require__.t.bind(__webpack_require__, 1161, 23)
);
Promise.resolve(/* import() eager */).then(
__webpack_require__.t.bind(__webpack_require__, 8138, 23)
);
+ Promise.resolve(/* import() eager */).then(
+ __webpack_require__.t.bind(__webpack_require__, 9379, 23)
+ );
/***/
}
@@ -28,7 +28,7 @@
return __webpack_require__((__webpack_require__.s = moduleId));
};
/******/ __webpack_require__.O(0, [152], function() {
- return __webpack_exec__(7070), __webpack_exec__(1432);
+ return __webpack_exec__(7070), __webpack_exec__(9915);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
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.
Improving build speed by running
async
functions parallel 🚀Improving the performance of
next build
by running certain independent async functions concurrently/parallel.I thought this would improve the build process of Incremental Static Regeneration and build process for SSR & SSG too.
Extremely sorry if I am wrong and made any mistakes :(