Bug 250988 - [GTK] Slow scrolling of the Tiki website frontpage
Summary: [GTK] Slow scrolling of the Tiki website frontpage
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Performance
Depends on:
Blocks: GLibPerformance
  Show dependency treegraph
 
Reported: 2023-01-22 14:16 PST by Jeff Fortin
Modified: 2024-10-04 17:28 PDT (History)
2 users (show)

See Also:


Attachments
Sysprof 47 capture on HiDPI screen (8.91 MB, application/x-xz)
2024-10-04 17:24 PDT, Jeff Fortin
no flags Details
Sysprof 47 capture - flamegraph screenshot (699.17 KB, image/png)
2024-10-04 17:26 PDT, Jeff Fortin
no flags Details
Sysprof 47 capture - WebKit marks screenshot (528.98 KB, image/png)
2024-10-04 17:28 PDT, Jeff Fortin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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…