Massive Performance Regression in Latest Update


Description of the issue:
Since I updated to the latest version of brave-bin on the AUR yesterday, I have noticed much more hitches than usual. I checked top and the results I found were quite suprising to me.

Note, I have an RX 5700xt and a Ryzen 3700x so I definitely don’t have a slow system. I am running on arch linux as well.

PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
920971 user      20   0 1124.7g 249280 110292 S  26.7   0.8   3:27.27 brave

How can this issue be reproduced?
Just open brave

Expected result:
Not try to chug memory and use nearly 30% cpu slwoing down the rest of the system

Brave Version( check About Brave):


Brave	1.41.100 Chromium: 103.0.5060.134 (Official Build) (64-bit) 
Revision	8ec6fce403b3feb0869b0732eda8bd95011d333c-refs/branch-heads/5060@{#1262}
OS	Linux
JavaScript	V8 10.3.174.20
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Command Line	/usr/lib/brave-bin/brave --enable-crashpad --disable-client-side-phishing-detection --disable-domain-reliability --enable-dom-distiller --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --ozone-platform-hint=wayland --flag-switches-end --ozone-platform=wayland
Executable Path	/usr/lib/brave-bin/brave
Profile Path	/home/user/.config/BraveSoftware/Brave-Browser/Default
Active Variations	AdRewardsStudy:NextPaymentDay
AdvertiserSplitTestStudy:GroupB
BraveAds.AdServingStudy:DefaultAdNotificationsPerHour=10/MaximumAdNotificationsPerDay=100/MaximumInlineContentAdsPerHour=12/MaximumInlineContentAdsPerDay=60/AdServingVersion=1
BraveAds.FrequencyCappingStudy:ExcludeAdIfWithinTimeWindow=0h
BraveAds.UserActivityStudy:Triggers=NTPSI/TimeWindow=15m/Threshold=0.0/IdleTimeThreshold=5s
BraveDebounceStudy:Enabled
ConversionsStudy:NewDefaultPattern
Default1pBlockingStudy:Disabled
DisableReduceLanguage:Enabled
EphemeralStorageStudy:Enabled
ExtendedVariationsSafeMode5:SignalAndWriteViaFileUtil5
FirstPartyEphemeralDomainBlockStudy:Enabled
ForceDisableBlinkFeatures:Enabled
PartitionBlinkMemoryCacheStudy:Enabled
PartitionConnectionsByNetworkIsolationKeyStudy:Enabled
PermissionLifetimeReleaseStudy:Enabled
RequestAdsEnabledApiStudy:Enabled
SpeedreaderReleaseStudy:Enabled

Additional Information:

I’m on Win10 64-bit
Version 1.42.86 Chromium: 104.0.5112.81 (Official Build) (64-bit)

And there is a huge CPU usage, everything is lagging and freezing after clicking anything.

same here, opening new tab or clicking on a text box basically if you click the mouse on anything, I will occasionally get 1 CPU thread max at 100% everything in brave freezes (video and audio will continue for a few seconds then stop like they consumed the buffer) can’t click anything else till the cpu goes back to normal then all is fine. Opensuse Tumbleweed KDE, no extensions

Same here. Well, I’m Windows 10 Pro, but yeah…

No issues for me.

Then I went back and opened a couple YouTube videos, this is what I ended up looking at:

Are any of you running extensions? Maybe try disabling or removing extensions and test?\

Oh, btw, if you hit Shift + Escape you’ll pull up Brave’s task manager. It shows everything being used in the browser. You may want to use it to test what’s causing the usage. It’ll look something like you see below:

Task Manager - Brave 8_5_2022 12_21_43 AM

Same but maximized screen

1 Like

46 Processes is quite a few. more toolsTask Manager should show more browser specific threads.

For further troubleshooting, also try disabling all the extensions.

1 Like