Bug 468554

Summary: Significant browser performance hit when plasma integration is enabled
Product: [Plasma] plasma-browser-integration Reporter: Lucas <lcsprz>
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lucas 2023-04-16 04:11:53 UTC
SUMMARY

The extension being enabled on Firefox seems to have a significant impact in the browser benchmark Speedometer 2.1 - https://browserbench.org/Speedometer2.1/.

I'm consistently getting 150+ points with it disabled and nearly 30 points less with it enabled, I can't see why such slow down would be needed to perform normal operations. As a reference, uBlock Origin actively applying cosmetic filters as the test runs has less of an impact (136± 2.6 points).

STEPS TO REPRODUCE

1. Go to https://browserbench.org/Speedometer2.1/
2. Run the test once with the extension enabled.
3. Disable extension and run it again.

OBSERVED RESULT

Extension disabled: 152± 4.0
Extension enabled: 127± 3.4

EXPECTED RESULT

Similar benchmark results regardless of the extension state.

SOFTWARE/OS VERSIONS
OS: Kubuntu 22.10
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION

Firefox version 113 beta. Similar results observed in 112 stable.
Comment 1 Lucas 2023-04-16 04:26:48 UTC
I was able to narrow down the loss in performance to the "Media Controls" option in the extension preferences. Unchecking the "Enhanced Media Controls" had no effect.