Open kjozwiak opened 2 years ago
Some extra info: the CPU usage is triggered by continuous page recalculating styles (to see it do: Devtool->Performance->Record) Bad:
Good:
Also in Chrome 98.0.4758.54 beta + uBlock the CPU usage is the same as in Brave with Shield on. And again a lot of "Recalculating Styles".
Description
It looks the CPU spikes to about
~30-60%
on both Chrome & Brave when visiting https://wallet.uphold.com/dashboard. However, whenBrave Shields
is enabled, the CPU increases to~100-130%
consistently. Once this happens, depending on the machine you have, it can cause issues with performance including PC performance.There's definitely an optimization that Uphold and do regarding https://wallet.uphold.com/dashboard but we need to find out why Brave goes to 100% when shields are enabled.
Steps to Reproduce
Cases below assumes you have a brand new profile with no tabs (easiest way to see the CPU spikes due to a single tab/website)
100%
while shields are enabled~60%
or so~2-3%
Actual result:
Shields Enabled on Dashboard
Shields Disabled on Dashboard
Navigated away form Dashboard
You can see that CPU is reaching max clock speed when https://wallet.uphold.com/dashboard is opened:
Dashboard opened
Dashboard closed
Expected result:
The website should be optimized by Uphold but Brave should be performing the same when shields are enabled. Meaning that the CPU should be spiking to
~30-60%
and not staying at ~100-120%` the entire time and hogging recourses.Reproduces how often:
100% reproducible using the STR/Cases outlined above.
Brave version (brave://version info)
Version/Channel Information:
Yes
Yes
Yes
Other Additional Information:
Yes
(CPU doesn't spike and stay at 100% as mentioned above)N/A
Yes
(in terms of CPU spiking when the dashboard is opened)Miscellaneous Information: