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

Javascript slowdown on opening NTP #24103

Open
atuchin-m opened this issue Jul 18, 2022 · 1 comment
Open

Javascript slowdown on opening NTP #24103

atuchin-m opened this issue Jul 18, 2022 · 1 comment
Assignees

Comments

@atuchin-m
Copy link
Contributor

Description

It was found that sometimes NTP javascript/React works extremely slow even on high-end hardware (MBP M1).
The trace analysis showed that the problem in JS code brave_new_tab.bundle.js.
Slack thread: https://bravesoftware.slack.com/archives/C3T9S9WKD/p1657652626908089

Steps to Reproduce

  1. Launch the browser;
  2. Open new tab page.

Actual result:

A significant delay: you see the grey page for more that 2 sec.

Expected result:

NTP is opened quickly.

Reproduces how often:

Unstable, only few people can reproduce.

Brave version (brave://version info)

1.42.x beta, 1.43.x nightly

Miscellaneous Information:

There is a video here: https://bravesoftware.slack.com/archives/C3T9S9WKD/p1657746370715679?thread_ts=1657652626.908089&cid=C3T9S9WKD

image

@atuchin-m
Copy link
Contributor Author

I've found that it's primary the result of using x64 version of M1. Rosseta performance is unpredictable and there is no sense to use x64 instead of arm64 on m1.

@atuchin-m atuchin-m assigned atuchin-m and unassigned petemill Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants