Skip to content

[DevTools Bug]: v6.0.0 (9/26/2024) of devtools makes a page extremely slow in dev (even when devtools are closed) #31266

Open

Description

@lauri865

Website or app

difficult to build a repor for now, since

Repro steps

I'm unsure what's the best way to reproduce the issue, but I'm loading a page with React Router v6 with [email protected] (using the latest version of the compiler), and v6.0.0 of devtools. Chrome version 129.0.6668.101 (Official Build) (arm64) on MacOS.

Even with devtools closed, page loads become very sluggish in development. If I run a Chrome performance profiler, it completely stalls on opening a new page for 5 seconds (albeit we're not running the React profiler):
Screenshot 2024-10-15 at 15 52 16

When I turn off React Developer tools, page loads become instant when devtools are closed, and Chrome profiler is also 10x faster.

The problem is so bad that we thought we had a memory leak in our app somewhere, but it was all good in the built version of the app. Turns out devtools had updated in the background and everything became sluggish in development as a result. After we disabled the extensions, everything became supper snappy in development again.

Would love to provide a repro, but I'm not exactly sure what conditions trigger the issue, as a barebones react router setup doesn't seem to do the trick.

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

Activity

  1. added
    Status: Unconfirmed
    on Oct 15, 2024
  2. newfylox commented on Nov 11, 2024

    @newfylox

    I have a similar issue without knowing what's causing this.

    Running React Developer Tools Version 6.0.1 (10/15/2024) on Chrome Version 130.0.6723.116 (Official Build) (64-bit)

    2024-11-11_14-15

  3. lauri865 commented on Nov 12, 2024

    @lauri865
    Author

    I've had to keep the extension turned off for now, unfortunately. Makes the whole developer experience a pain and hides actual performance issues.

    Again, my main gripe with this is that it makes the page slow even when devtools are completely closed (and I don't mean React tab is not open, but no devtools are open at all). I wouldn't care too much if profiling was slow, but it's just profiling all the time by the looks of it, without any developer intent/consent.

  4. lauri865 commented on Dec 20, 2024

    @lauri865
    Author

    Affects sites in production as well. Makes debugging performance issues a real pain. 👀

  5. V3RON commented on Jan 15, 2025

    @V3RON
    Contributor

    @lauri865 @newfylox

    Could you attempt to reproduce it again and then share the profiling dump from Chrome Dev Tools? 🙏

  6. 1valdis commented on Mar 10, 2025

    @1valdis

    My realtime app on WebGL slows down from 70fps to about 45fps only by the fact that React DevTools is enabled in Chrome, without even actually using it, and while Chrome's DevTools are closed completely.

  7. gerardnico commented on May 12, 2026

    @gerardnico

    Ok. My bad. I was passing as prop between a server component and a client component a big array.
    There was therefore a big serialization. Now that I pass only a string and fetch the data client side, it's way smoother.

    Below the original message:

    I'm on 7.0.1 (10/20/2025) and I also disabled it because closing the devtools has no effect.
    
    In a RSC environment, the page is a server page. It has the same client component (a base-ui dialog) repeated multiple times with different props. (A list of 100 buttons that opens a dialog with more info).
    
    I used the extension while trying to debug the performance problem that I experienced without knowing that it was the extension itself.
    
    Clicking on one button to open a dialog takes almost 30 seconds with the React Devtool extension and is instant without it.
    
    You can also hear the CPU going up.
    
    I took a performance dump (ie profiling dump?)
    
    [Trace-slow-dialog-20260512T161335.json.gz](https://github.com/user-attachments/files/27641634/Trace-slow-dialog-20260512T161335.json.gz)
    
    Below is the summary:
    
    <img width="940" height="265" alt="Image" src="https://github.com/user-attachments/assets/8cb3a062-5860-45af-887f-9f67057059d5" />
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Developer ToolsStatus: UnconfirmedType: Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions