Skip to content
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

UI performance issues on Chrome with >5k blocks #6654

Open
cpcallen opened this issue Nov 22, 2022 · 4 comments
Open

UI performance issues on Chrome with >5k blocks #6654

cpcallen opened this issue Nov 22, 2022 · 4 comments
Labels
component: rendering issue: bug Describes why the code or behaviour is wrong

Comments

@cpcallen
Copy link
Contributor

Describe the bug

A user in the Blockly forum reports Blockly being unusable with >5k blocks.

@NeilFraser made an initial investigation and reported:

First finding is that it's lightning quick in Firefox. No issues there. Likewise, Safari is smooth.

Google Chrome on the other hand is problematic. First it's very choppy (but usable). An examination of the console shows that most of the CPU is going to 'rendering', not Blockly's JavaScript. But leave the page alone for a few minutes, and it becomes utterly unusable.

To Reproduce

See discussion in linked forum post above.

Desktop (please complete the following information):

  • OS:
  • Browser: Chrome
  • Version: 9.1.0
@cpcallen cpcallen added issue: bug Describes why the code or behaviour is wrong component: rendering labels Nov 22, 2022
@cpcallen
Copy link
Contributor Author

Possibly related to #5025.

@ewpatton
Copy link
Contributor

We've seen this behavior for quite a while in App Inventor and we're using a (really) old version of Blockly. Firefox performs much better for some reason and it seems as though it is a regression in Chrome. I could probably go back in our community history to find the point at which the performance degraded, but it's been an issue generally for a while.

@cpcallen
Copy link
Contributor Author

Another report in the forum, noting that poor performance is observed with ~2k blocks (see 3rd message in thread).

@cpcallen
Copy link
Contributor Author

cpcallen commented Jan 26, 2023

Another report in the forum, noting poor performance in Chrome (but not Firefox) with as few as ~1.7k blocks in Blockly v9.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: rendering issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

No branches or pull requests

2 participants