Bug 250988

Summary: [GTK] Slow scrolling of the Tiki website frontpage
Product: WebKit Reporter: Jeff Fortin <nekohayo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, kdwkleung
Priority: P2 Keywords: Performance
Version: Other   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 245783    
Attachments:
Description Flags
Sysprof 47 capture on HiDPI screen
none
Sysprof 47 capture - flamegraph screenshot
none
Sysprof 47 capture - WebKit marks screenshot none

Description Jeff Fortin 2023-01-22 14:16:06 PST
Here's site that can serve as a (reasonably light) benchmark: https://tiki.org

This video shows how EpiphanyDevel "technology preview" (flatpak version from gnome-nightly), shown on the left, struggles to scroll smoothly and to follow the mousewheel's events (or the mouse cursor's drag on the scrollbar), whereas Firefox (shown on the right) has no problem and remains butter-smooth: https://youtu.be/O6ixlqzSDwA

The difference is more subtle than bug #215045 or bug #221738, but the jankiness can still be felt.
Comment 1 Kdwk 2023-04-27 02:25:10 PDT
This can no longer be observed in Gnome Web 44.2/ WebKitGTK 2.40.1. Perhaps fixed already?
Comment 2 Kdwk 2024-05-14 21:23:59 PDT
It might be worth retesting now with Skia
Comment 3 Jeff Fortin 2024-10-04 17:24:05 PDT
Created attachment 472817 [details]
Sysprof 47 capture on HiDPI screen

It's better, though the problem is still noticeable (i.e. not 60-fps-smooth) on a 4K HiDPI display with Intel Kabylake graphics on Fedora 41.

Here's a sysprof 47 recording launching this command:

/usr/libexec/webkitgtk-6.0/MiniBrowser --private https://tiki.org

...and scrolling with the touchpad.
Comment 4 Jeff Fortin 2024-10-04 17:26:39 PDT
Created attachment 472818 [details]
Sysprof 47 capture - flamegraph screenshot
Comment 5 Jeff Fortin 2024-10-04 17:28:29 PDT
Created attachment 472819 [details]
Sysprof 47 capture - WebKit marks screenshot

These marks seem saturated solid, I don't know if that is suspicious…