8000 Next 15.2 development performance regression · Issue #76937 · vercel/next.js · GitHub
[go: up one dir, main page]

Skip to content
Next 15.2 development performance regression #76937
@mikehdt

Description

@mikehdt

Link to the code that reproduces this issue

https://github.com/mikehdt/nextjs-15-2-perf-issue

To Reproduce

  • pnpm i
  • pnpm dev

Click on some of the buttons and observe performance. There's a lag to the action.

  • Revert next in package.json to 15.1.7
  • pnpm i
  • pnpm dev

The buttons are noticeably more performant.

Current vs. Expected behavior

There should not be a performance regression?

Using the React dev tools profiler, we can see the difference (this is a slice that shows the render time for clicking one of the buttons):

Next.js 15.1.7

Image

Next.js 15.2.1

Image

Provide environment information

Running on Windows 11 / Node 22 but the env shouldn't really be an issue.

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

React, Performance

Which stag 6CE8 e(s) are affected? (Select all that apply)

next dev (local)

Additional context

It took me three days of trying to debug my own code in a personal project before I realised it wasn't me, it was next.js 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformanceAnything with regards to Next.js performance.ReactRelated to React.linear: nextConfirmed issue that is tracked by the Next.js team.locked

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0