rsnext/test/.stats-app
JJ Kasper 49b4331e26
Reduce memory/cache overhead from over loader processing (#62005)
In `v14.0.2-canary.1` users started noticing more memory errors
especially with many edge runtime configured pages. After investigation
it seems this can be related to the additional transpiling we configured
in https://github.com/vercel/next.js/pull/59569 and
https://github.com/vercel/next.js/pull/57784

To help alleviate this we are updating the default swc loader to have an
additional check to see if no special features such as `next/font`,
`next/dynamic`, or `use server/client` directives are present and then
no-oping in the loader to avoid additional overhead for a majority of
modules.

For monitoring regressions our `stats-app` has been updated with
repeated edge-ssr routes to hopefully help us keep an eye on memory or
cache size issues.

x-ref: NEXT-2430
x-ref: NEXT-2395
x-ref: NEXT-2299
x-ref: NEXT-2324
x-ref: NEXT-2373

Closes NEXT-2479
2024-02-13 22:40:19 +00:00
..
app Reduce memory/cache overhead from over loader processing (#62005) 2024-02-13 22:40:19 +00:00
components Add additional stats app pages (#27202) 2021-07-16 12:13:04 -05:00
pages Add export runtime test for pages and fully remove experimental.runtime (#48630) 2023-04-20 22:37:38 +00:00
middleware.js Add middleware size stats (#37519) 2022-06-07 17:05:48 +00:00
next.config.js Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
package.json chore: Update pnpm v8.14.2 to 8.15.1 (#61807) 2024-02-09 21:46:19 +00:00
stats-config.js Reduce memory/cache overhead from over loader processing (#62005) 2024-02-13 22:40:19 +00:00