Skip to content

next-server (v15.2.2) process idles high with high cpu #77192

Description

@SuperNiceDev

Link to the code that reproduces this issue

https://github.com/SuperNiceDev/nextjs-server-cpu-issue

To Reproduce

1 . Install Next.js (15.2.2) project and run dev mode on macOS (Sequoia) with node v22.14.0
2. Open project in browser (http://localhost:3000/)
3. Open macOS process monitor and search for next-server (v15.2.2)
4. See next-server (v15.2.2) process idles from 15% to 20% cpu usage

Image

Current vs. Expected behavior

next-server (v14.2.8) process idles from 0% to 3% cpu usage

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.3.0: Thu Jan  2 20:24:06 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8103
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 22.14.0
  npm: 10.9.2
  Yarn: 1.22.19
  pnpm: 9.14.1
Relevant Packages:
  next: 15.2.2 // Latest available version is detected (15.2.2).
  eslint-config-next: 15.2.2
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.8.2
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Performance

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

Metadata

Metadata

Assignees

Labels

PerformanceAnything with regards to Next.js performance.locked

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions