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

Download page: Improved performance for chromium based browsers #1907

Merged
merged 4 commits into from
Jul 13, 2019

Conversation

RunDevelopment
Copy link
Member

I have this issue that when I selected all languages on the download page, Chrome freezes for about 12 seconds (!!) while using FireFox/Edge this operation takes an instant.

Btw. CPU: Intel i7-8700K @ 4.2GHz. (On my laptop, Chrome takes about 30sec)

This PR fixes this issue and after the fix, Chome takes less than a 1sec (not ideal but ok). FF and Edge stay fast.

Here are some profiling results (Chrome):

Before

image

TLDR;
Scripting: 177ms
Rendering: 11,485ms

After

image

TLDR;
Scripting: 121ms // no idea why this is suddenly faster
Rendering: 592ms

@RunDevelopment RunDevelopment changed the title Website: Improved performance for chromium based browsers Download page: Improved performance for chromium based browsers May 24, 2019
scripts/download.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants