WAIT: 2.4 Beta laggy compared to 2.3.9

Hey guys.

Just some feedback that 2.4.x beta is a lot more laggy than 2.3.9.

Working on making BRXProd compatible and I though I was causing performance issues. It turned out that 2.4 with no plugins activated is slower to render and laggy when clicking between elements.

@alanblair Hi, I noticed the refresh delay is not a delay. if you refresh 2.3, you will notice the loading splash is taking about 2-3 seconds itself. The 2.4 splash screen is taking 1-2 seconds. the overall page load on bot seems identical. Give it a try, maybe i’m wrong about this.

It is not the time that the editor takes to load that is in question. Although it is different.

Once the editor loads 2.4 definitely takes longer to render. But that is not my real concern. It is navigating around the elements, clicking on elements there is a definite delay between click and seeing settings. Also, resizing the preview etc.

Something has definitely negatively affected the builder performance.

Hey @alanblair,

Thanks for the video and detailed report. I see two separate things here:

  1. The initial builder loading behavior
  2. Slower interactions after the builder has loaded, such as selecting elements and resizing the preview

Regarding the initial load: Bricks 2.4 uses a different loading sequence. The builder interface and canvas are shown as soon as the initial builder/iframe boot has enough data, instead of keeping the loading screen visible until every part of the canvas has finished rendering.

This means the builder can appear ready sooner and you can start interacting with the interface while remaining canvas content, especially PHP-rendered or dynamic elements, finishes loading asynchronously. Because of that, the timing can look different from 2.3.9. Rather than waiting behind the loading screen, you may see the builder first and then see the content complete shortly afterwards.

The goal is to make the builder available sooner, not to make the total load time several times slower. So if the canvas itself really takes substantially longer to finish rendering than it does in 2.3.9, we would like to investigate that separately. But according to the video you shared, I would say that time to interaction on canvas is the same or similar, in favor of 2.4.

For the second issue, the slower interactions after everything has loaded, we cannot reproduce this locally so far. In particular, we have not been able to reproduce a noticeable delay when selecting elements or resizing the preview.

Please email us at help@bricksbuilder.io, include a link to this forum thread, and provide temporary access to a staging/development copy of the affected site. This will let us test the same setup and compare the behavior directly against 2.3.9.

Also, please le me know which browser and OS you are using, just in case if this affects is. I’m on MacOS, using Vivaldi.

Thank you,
Matej

might be related to this..

Hey David. I was working with Matje on this..

Strangely, clicking the elements in the Preview I had lag, clicking the same elements in the structure panel had no lag.

More strange, it had no lag in an incognito window. So I disabled all Chrome extensions and the lag went away. I re-enabled extensions one at a time, and the lag did not return.

So at this time it is a complete mystery as to what extension was the cause and why it only affected 2.4 ??

You have got to love this right!

Hmm. watching your video.. I see what you mean :slight_smile: