Hi,
we use libwebkit2gtk-4.0-37 (2.38.5-1~deb11u1) and a large javascript react page where we communicate via websocket.
Compared to the execution speed in firefox it is very slow (switching between 2 pages with websocket stuff)
To check if it is the webkit we installed Epiphany which is in the official apt repository (epiphany-browser) and it uses also
libwebkit2gtk 2.38.5 as engine. (But static linked)
The speed is nearly as fast as in firefox.
From where comes the speed difference?
libwebkit is exactly the same.
Epiphany uses normal priority also the WebKit process uses normal priority.
Like our PB program.