Skip to content

RTC: WordPress 7.0 critical performance drop in save function #76352

Closed

Description

@wpsoul

Description

I found that latest beta 7.0-beta3-61869 has huge performance issue that will kill performance of almost every site in editor

Currently, it's rerendering everything that in save function near 80 times per each block

https://cleanshot.com/share/1xMjMNVJ

Condition - no plugins, except test plugin, 7.0 beta, any theme

code of plugin for testing is simple, just console.log in edit and save function.

(function (blocks, element) {
    var el = element.createElement;

    blocks.registerBlockType('simple/text-block', {
        title: 'Simple Text Block',
        icon: 'universal-access-alt',
        apiVersion: 3,
        category: 'common',

        edit: function (props) {
            console.log('Block properties:', props);
            return el('p', {}, 'This is a simple text block.');
        },

        save: function (props) {
            console.log(props)
            return el('p', {}, 'This is a simple text block.');
        }
    });
})(
    window.wp.blocks,
    window.wp.element
);

Step-by-step reproduction instructions

  1. Install 7.0 beta 3
  2. Create simple gutenberg custom block with only console.log in edit and save
  3. Add test block and save post
  4. Reload and check console.log
  5. It will show near 70-80 logs from save function (not normal), and near 2-3 from edit function (normal)

Switching back to 6.9 will return everything to normal

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] Bug
    on Mar 10, 2026
  2. added
    Needs Testing
    on Mar 10, 2026
  3. added
    [Feature] Block API
    [Feature] Real-time Collaboration
    on Mar 10, 2026
  4. Mamaduka commented on Mar 10, 2026

    @Mamaduka
    Member

    Thanks for reporting the issue, @wpsoul!

    This seems to be an RTC feature-related issue. I can reproduce the problem when the Collaboration feature is disabled.

    Screenshot

    Image
  5. wpsoul commented on Mar 10, 2026

    @wpsoul
    Author

    @Mamaduka I can confirm that disabling the collaboration feature made it back to normal (2 for edit and 2 for save console).

  6. changed the title [-]WordPress 7.0 critical performance drop in save function[/-] [+]RTC: WordPress 7.0 critical performance drop in save function[/+] on Mar 10, 2026
  7. added theissue type on Mar 10, 2026
  8. self-assigned this
    on Mar 10, 2026
  9. moved this to 🏗️ In Progress in WordPress 7.0 Editor Taskson Mar 11, 2026
  10. moved this from 🏗️ In Progress to ✅ Done in WordPress 7.0 Editor Taskson Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs Testing[Feature] Block API[Feature] Real-time Collaboration[Type] Bug

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions