[webkit-gtk] Performance issue for some https urls

Antonio antonio at vieiro.net
Thu Jan 19 00:51:49 PST 2023


Hi Michael,

Thanks for your reply. Some comments below.

On 19/1/23 1:56, Michael Catanzaro wrote:
> On Wed, Jan 18 2023 at 09:49:34 PM +0100, Antonio <antonio at vieiro.net> 
> wrote:
>> 1.- Is this a bug or a feature?
> 
> A 12-second delay is certainly not good, but why do you suspect the 
> performance problems you've found have anything to do with certificate 
> validation? That should happen more or less instantaneously. And if 
> DigiCert were not trusted (it surely is) then the page would not load at 
> all. So I suspect something unrelated is wrong.

I was just guessing, since the main difference among the URLs are the 
certificates...

> 
> Since you're investigating a performance problem, be sure to use 
> webkit2gtk-4.1 (libsoup 3, HTTP/2) and not webkit2gtk-4.0 (libsoup 2, 
> HTTP/1.1), although it shouldn't make *that* big of a difference.

... The problem is also reproducible with webkit2gtk-4.1's MiniBrowser 
(both libwebkit2gtk-4.1-0:amd64 and libwebkit2gtk-4.0-37:amd64).

The web inspector shows that network requests are indeed fast, but 
layout & rendering takes two seconds (screenshot at 
https://postimg.cc/21kbCB0g). The MiniBrowser seems to freeze somehow 
during these 12 seconds.

I think I'll create a bug report. Is there any way I can add some 
profiling information to the bug report with the MiniBrowser? (using 
environment variables or similar?).

Thanks again,
Antonio








More information about the webkit-gtk mailing list