rsnext/packages
Shu Ding 5ad1b77704
Restart static paths worker after finishing task (#47716)
Noticed this optimization when debugging something else - we restart
this worker if it's not fresh, to make sure module instances are new
created. This has some perf overhead and it happens right before running
the task and it's blocking the request. This PR changes that to be after
the old task, and the difference is noticeable on dev (~20ms).

Before:

<img width="1363" alt="CleanShot-2023-03-30-jTT9W48H@2x"
src="https://user-images.githubusercontent.com/3676859/228965542-e0d6892f-3989-4da5-96a4-5fc8b4155041.png">

After:

<img width="1363" alt="CleanShot-2023-03-30-PRrYQMg7@2x"
src="https://user-images.githubusercontent.com/3676859/228965566-42e04f8d-0cc3-447c-adc8-3840b23b9fa5.png">
2023-03-31 19:16:48 +02:00
..
create-next-app v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
eslint-config-next v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
eslint-plugin-next v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
font v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next Restart static paths worker after finishing task (#47716) 2023-03-31 19:16:48 +02:00
next-bundle-analyzer v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-codemod v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-env v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-mdx v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-plugin-storybook v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-polyfill-module v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-polyfill-nomodule v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
next-swc remove next-core package.json dev script (#47746) 2023-03-31 17:58:17 +02:00
react-dev-overlay v13.2.5-canary.23 2023-03-31 13:53:10 +00:00
react-refresh-utils v13.2.5-canary.23 2023-03-31 13:53:10 +00:00