-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
13.0.0 fse make safari and chrome to freeze (extremely slow to load) #40357
Comments
I also tried on a very simple page with just header/footer + post title with content and it's also very slow. |
Hi, @MoOx Can you provide more details about your setup? For example, do you use any block library plugins? I'm having a hard time reproducing the issue locally. Site Editor loads in 900ms when I clear cache in Safari, and then 400-500ms. Running on Mac Mini M1 2020. |
I am able to reproduce this with just Gutenberg plugin enabled. Here is my current theme exported I am facing this issue on index & singular template (didn't try other, since it's a pain) |
I'm the Lead Developer for UC Santa Cruz my dev team and I are having the same issue as @MoOx with Gutenberg 13 (apologies if I should be making a new issue bout this but this issue describes what I'm experiencing almost perfectly). The main difference is that we're developing against WP 5.8.4 with the Gutenberg plugin. We're switching to WordPress from a proprietary "university cms" and developing a block theme, intended for launch for the Fall term. We're using CampusPress as our hosting service and they don't plan on upgrading to WP 5.9.X until "mid-Summer" so we're developing against WP 5.8.4, which is CP's most recent version. We're also using Advanced Custom Fields as a plugin and a couple we're developing ourselves but otherwise we're developing our theme using as stock an install of WP as possible: Only using blocks avail for WP 5.8.4/Gutenberg; no additional libraries. We've also tested this behavior with all plugins turned off except Gutenberg and reverted to the "TTBlocks" theme. All members of my dev team are experiencing the behavior described in this issue. If we downgrade to Gutenberg 12.9.0, the issue goes away. We use |
I have the same problem in templates with query block(s). Using: WordPress 5.9.3 |
@MoOx does this only happen locally on the M1 or also on other installations (if you have access to testing that). |
Sorry I only have a M1 macbook atm. |
I am not able to replicate this. Here are my testing scenarios:
I also tested on Chrome Version 100.0.4896.127 (Official Build) (x86_64) and no performance issues. |
I can confirm the issue on my end as well. As soon as Gutenberg plugin was updated to v13 the site editor performance on my more advanced sites dropped to a point where it was almost impossible to work with, as stated by others. I noticed this on local installations as well as online websites. Its not much of a problem on a fresh wordpress install with just the Gutenberg plugin and the default theme, or at least its not as noticable. But as you continue adding blocks and content to your templates and pages the site editor performance and responsivity decreases. And i am not sure this is actually related to the Query Loop block because i'm experiencing this on Header and Footer template parts too - just not as intense as with a whole template. My setup:
|
I was able to reproduce the issue with the latest Gutenberg trunk plugin. I think the problem is the Navigation blocks. Steps
|
Thanks @Mamaduka for the steps. I was able to crash the editor with a large Navigation block that I then duplicated a couple of times. See the video below. editor-crash.mp4 |
I am still seeing a huge performance issue in site editor, when a big navigation block is available on the page we editing. I checked with the latest gutenberg version 13.1.0 |
@uniquesolution, the fixes will ship with Gutenberg 13.2.0. |
Hi, folks The Gutenberg 13.2 has been released this Wednesday; it includes recent performance optimizations to the Navigation block. I would appreciate confirmation if it solved the "freezing" issues mentioned here. |
Yes, the Gutenberg 13.2 update definately fixed the issue for me. I haven't experienced crashes or complete freezes before though, but performance on my end is now as it used to be :) |
Yes, everything looks pretty good on my end with 13.2! |
I confirm that 13.2 make my site editor usable again ! Thanks for everyone involved in the resolution of this issue. |
Yes, speed has improved in site editor using navigation block, but one thing sometime I see that we open navigation block in list view with further seeing its submenu dropdown items, sometime it not appear anything more after that, I mean all the blocks added after it, not shows in the list view (white black space instead). It not happen all time, but sometime happen and sometime not, |
Description
I can't edit my site anymore. Loading https://mysite/wp-admin/themes.php?page=gutenberg-edit-site&postType=wp_template&postId=mytheme/index is horribly slow to load.
Header & Footer are loading, then middle of the website block (contains a query loop).
I can't even disable Gutenberg with WP 5.9.3 since I used stuff not available there (to avoid a bug) and my site crashes without it.
I feel stuck & it's hard to help you to debug.
If I wait several minutes things start to load, but "it depends", most of the time safari crash "this page used too much memory shah blah blah" & chrome is having a hard time to.
Some times, after several minutes, I can use the editor. Sometimes it's probably consuming too much memory and crash.
FYI, I have made a time from the FSE with a very simple theme.json when I started. Minimal functions.php (a few lines).
Step-by-step reproduction instructions
I just need to open the FSE UI on a page with multiple menu, a single query loop with 10 posts with title, categories, date & thumbnail.
Screenshots, screen recording, code snippet
Note that in the video, you can notice that the safari timeline doesn't start immediately, but at 1:50 ! 😱
During this 2 minutes, my computer does nothing. I have MacBook Pro M1 Pro 16, so perf is not an issue there (but Safari consume a CPU at 100%) !
Kapture.2022-04-14.at.18.04.18.mp4
Environment info
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
The text was updated successfully, but these errors were encountered: