Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles
Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📎 Tarball URL |
|
I remember @timneutkens investigating this some time ago as well. There was some Vite/Vitest blog post about this how they made their tool faster by dropping this name set call. |
|
yeah i was wondering about that. sigh... i can drop this, but perhaps a 10ms hit is acceptible? or i could do it in a worker_thread 😆 |
|
IMO this amount of overhead doesn't really matter for Maybe just leave a note that this isn't super critical and can be removed if it turns out that the performance cost is noticeable? |
|
Yeah it's about 10ms. Not a big deal for this case. For dev it was in the hot path for logging bootup time. |
When `next dev` is running we change the process name, we should do the same thing for builds. This is a small performance hit on MacOs, about 10ms, (See node issue: nodejs/node#59678), but not on other platforms. `process.title` is also apparently not implemented on `Bun` or `Deno` 🤦
When `next dev` is running we change the process name, we should do the same thing for builds. This is a small performance hit on MacOs, about 10ms, (See node issue: nodejs/node#59678), but not on other platforms. `process.title` is also apparently not implemented on `Bun` or `Deno` 🤦

When
next devis running we change the process name, we should do the same thing for builds.This is a small performance hit on MacOs, about 10ms, (See node issue: nodejs/node#59678), but not on other platforms.
process.titleis also apparently not implemented onBunorDeno🤦