rsnext/test/e2e/app-dir/app
mknichel ca5bc989d1
Add experimental options for more parallelization in webpack builds (#60177)
This PR introduces 2 experimental options for doing more work in the
webpack build in parallel instead of in serial. These options may
improve the performance of builds at the cost of more memory.

`parallelServerAndEdgeCompiles`: This option kicks off the builds for
both `server` and `edge-server` at the same time instead of waiting for
each to complete before the next one. In applications that have many
server and edge functions, this can increase performance by doing that
work in parallel. This can be used with `next build` or `next
experimental-compile`.

`parallelServerBuildTraces`: This option starts the server build traces
as soon as the server compile completes and runs it in the background
while the other compilations are happening. With this option enabled,
some unnecessary work may be done since ordinarily the client
compilation provides information that can reduce the amount of tracing
necessary. However, since it is in parallel with the other work, it may
still result in a faster build in total at the cost of more memory. This
option is already the default when using `next experimental-compile` but
can now be used when `next build` is used also.

---------

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-01-10 17:11:33 -08:00
..
app fix: <Script> with beforeInteractive strategy ignores additional attributes in App Router (#59779) 2024-01-03 20:48:55 +01:00
pages Fix SSG query with experimental-compile (#56680) 2023-10-11 01:52:36 +00:00
public fix: <Script> with beforeInteractive strategy ignores additional attributes in App Router (#59779) 2024-01-03 20:48:55 +01:00
styles Leverage mini css plugin hmr for app dir (#38830) 2022-07-21 14:38:04 +02:00
experimental-compile.test.ts Add additional handling for experimental-compile (#56224) 2023-09-29 22:11:45 +00:00
index.test.ts fix: <Script> with beforeInteractive strategy ignores additional attributes in App Router (#59779) 2024-01-03 20:48:55 +01:00
middleware.js add test case for CSP with bootstrap scripts and preinit modules (#54348) 2023-08-21 18:49:21 +00:00
next.config.js Add experimental options for more parallelization in webpack builds (#60177) 2024-01-10 17:11:33 -08:00
standalone-gsp.test.ts fix gsp tracing issue (#57766) 2023-10-30 18:24:51 +01:00
standalone.test.ts Redesign nextjs logging (#54713) 2023-09-05 11:40:00 +00:00
useReportWebVitals.test.ts Fix flaky css test and remove unused tests deps (#47806) 2023-04-01 16:58:32 -07:00
vercel-speed-insights.test.ts Update naming for Next.js Analytics (#48618) 2023-04-24 12:14:45 +02:00