Bug 1867382 - Huge performance degradation on Firefox 79 when opening web pages
Summary: Huge performance degradation on Firefox 79 when opening web pages
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-09 13:10 UTC by zrzut01
Modified: 2024-04-11 05:21 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-03 20:59:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
First mozregressoion log (11.54 KB, text/plain)
2020-08-13 21:04 UTC, zrzut01
no flags Details
Second mozregressoion log (24.70 KB, text/plain)
2020-08-13 21:05 UTC, zrzut01
no flags Details

Description zrzut01 2020-08-09 13:10:10 UTC
Version-Release number of selected component (if applicable):
79.0-5

How reproducible:
Open i.e. https://www.picuki.com/profile/justinchapple

Steps to Reproduce:
1. Open i.e. https://www.picuki.com/profile/justinchapple

Actual result
It takes very long to open some web pages on Firefox 79. Rendering of the page stalls and one Web Content process uses 99% of one CPU core. It takes ~3 min or longer to finally render the page. Same web page on same machine with latest Chromium or Firefox 75 takes ~2s. I tried to run Firefox 79 with fresh profile without any results. The machine is AMD E-350 with 16GB of RAM.


Expected results:
The web page should be rendered no longer than on previous Firefox version.

Additional info:
It worked properly on last Firefox 78.x version as well. The bug was files in Mozilla Bugzilla as well 1658198.

Comment 1 Martin Stransky 2020-08-10 07:51:34 UTC
I see. So this looks like a regression between firefox 78 and 79. Please use mozregression tool to find a particular change which broke it.

run on terminal:
$pip install mozregression
$mozregression -g 78 -b 79

The mozregression tool will run various firefox versions between 78 and 79 and will ask you if the build is correct or on. More info is here - https://mozilla.github.io/mozregression/
Thanks.

Comment 2 zrzut01 2020-08-10 18:30:20 UTC
I have executed more test also with use of the tool you had mentioned. The tool downloaded and used versions 78a1 and 79a1 of Nightly, not a production ones. Both worked without any hangs in wayland and x11 modes. But still those are not the versions that were released and cannot be treated as reference here.

Then I downloaded 79 from mozilla.org and this version failed in wayland and x11 modes in same way as I described in the bug report.

After that I downloaded 78.1.0esr from mozilla.org and it works super fast and stable.

Comment 3 Martin Stransky 2020-08-12 11:11:23 UTC
(In reply to zrzut01 from comment #2)
> I have executed more test also with use of the tool you had mentioned. The
> tool downloaded and used versions 78a1 and 79a1 of Nightly, not a production
> ones. Both worked without any hangs in wayland and x11 modes. But still
> those are not the versions that were released and cannot be treated as
> reference here.
> 
> Then I downloaded 79 from mozilla.org and this version failed in wayland and
> x11 modes in same way as I described in the bug report.
> 
> After that I downloaded 78.1.0esr from mozilla.org and it works super fast
> and stable.

In that case please try:

$mozregression -g 78 -b 80

it should find the releases around 79. The tool tests unreleased versions to distinguish actual changes.

The tool also use a new profile. Please try to create a new profile ($firefox -P on terminal) for your recent Firefox 79.

Thanks.

Comment 4 zrzut01 2020-08-13 21:04:56 UTC
Created attachment 1711395 [details]
First mozregressoion log

Comment 5 zrzut01 2020-08-13 21:05:36 UTC
Created attachment 1711396 [details]
Second mozregressoion log

Comment 6 zrzut01 2020-08-13 21:07:23 UTC
I tried twice but mozregression crashed at the end as shown in the two above attached logs from those two sessions. Anyway it narrowed builds much as you can see in the logs.

Comment 7 zrzut01 2020-08-14 17:32:44 UTC
Updated information can be found on Mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=1658198

Comment 8 Martin Stransky 2020-08-17 07:23:10 UTC
Thanks, we should take the patch for FF80 which is coming out next week.

Comment 9 zrzut01 2020-09-04 12:57:40 UTC
This bug can be closed as Mozilla fixed it in 80.

Comment 10 Red Hat Bugzilla 2023-09-14 06:05:30 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days

Comment 11 SSYoutube 2024-04-11 05:21:51 UTC
If Firefox 79 is slowing down when opening web pages, and you're also using a YouTube downloader - https://ssyoutube.online/, here's what you can do:

Disable Extension: Turn off the YouTube downloader extension temporarily to see if it's causing the slowdown.

Check for Updates: Ensure the extension is up-to-date; updates often fix performance issues.

Alternative Download Methods: Try using online video download services or standalone software instead of the extension.

Monitor Resource Usage: Keep an eye on Firefox's task manager to see if the extension is consuming excessive resources.

Review Permissions: Check the permissions granted to the extension and limit them if necessary.

Consider Alternatives: If the extension continues to slow down Firefox, explore alternative download methods.

Feedback to Developer: Provide feedback to the extension developer about the performance issues.


Note You need to log in before you can comment on or make changes to this bug.