Bug 247748

Summary: [SOUP] Network requests take very long time to complete on cnn.com
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, kdwkleung, mcatanzaro, nekohayo
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=251336
Bug Depends on:    
Bug Blocks: 245783    
Attachments:
Description Flags
Epiphany
none
Firefox
none
Network timings in web inspector none

Michael Catanzaro
Reported 2022-11-10 10:05:28 PST
Created attachment 463480 [details] Epiphany I'm going to attach two screencasts. In the first screencast, I load cnn.com in today's Epiphany Tech Preview and time how long it takes. It needs about 33 seconds to finish loading. In the second screencast, I load cnn.com in Firefox 106.0.1 and time how long it takes. It mostly finishes loading more or less instantly, almost before I'm able to start the timer, but let's say it required 3 seconds to load. (I accidentally took this screencast with uBlock Origin enabled, which might be a better adblocker than Epiphany's adblocker, but I repeated the test with it disabled and it didn't make much difference.) So we seem to be 10x slower, which seems excessive. This issue is certainly not limited to cnn.com, but that seems like a good test case to us.
Attachments
Epiphany (1.02 MB, video/webm)
2022-11-10 10:05 PST, Michael Catanzaro
no flags
Firefox (1.67 MB, video/webm)
2022-11-10 10:05 PST, Michael Catanzaro
no flags
Network timings in web inspector (94.58 KB, image/png)
2022-11-10 10:11 PST, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2022-11-10 10:05:42 PST
Michael Catanzaro
Comment 2 2022-11-10 10:11:07 PST
Created attachment 463482 [details] Network timings in web inspector This screenshot shows that WebKit is spending all its time in network requests. Everything else happens more or less immediately. I also notice that the web inspector's timeline export feature is broken (the button is insensitive).
Michael Catanzaro
Comment 3 2023-01-18 13:42:52 PST
I'm not sure, but I suspect this may be related to bug #247057.
Kdwk
Comment 4 2023-01-19 03:23:22 PST
I'm not able to reproduce this on one of my machines with WebKitGTK 2.39.4. On my 2015 MacBook Pro with dual-core i5, cnn.com takes about 6 seconds to load only (still very slow but not 33 seconds long), FireFox takes around 2.5 seconds on the same machine. However, my i7-9700 took 20 seconds to load cnn.com fully, although the website is usable and looks fully loaded long before that.
Michael Catanzaro
Comment 5 2023-01-19 06:39:40 PST
(In reply to kdwkleung from comment #4) > However, my i7-9700 took 20 seconds to load cnn.com fully, although the > website is usable and looks fully loaded long before that. I just recorded 19 seconds, which matches your experience here. I tried to take a second recording to see when the web page became usable, but the web inspector itself hung. I guess the inspector web process is unresponsive.
Michael Catanzaro
Comment 6 2023-07-06 05:37:05 PDT
Much more detail in bug #251336. *** This bug has been marked as a duplicate of bug 251336 ***
Note You need to log in before you can comment on or make changes to this bug.