Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6230eecf3f6be5d63f1e9265d72f9c7570659613
      
https://github.com/WebKit/WebKit/commit/6230eecf3f6be5d63f1e9265d72f9c7570659613
  Author: Pablo Saavedra <[email protected]>
  Date:   2025-11-28 (Fri, 28 Nov 2025)

  Changed paths:
    M Source/WebKit/UIProcess/DisplayLink.h
    M Source/WebKit/UIProcess/glib/DisplayLinkGLib.cpp

  Log Message:
  -----------
  [GTK][WPE] FPS throttling in DisplayLink
https://bugs.webkit.org/show_bug.cgi?id=301860

Reviewed by Nikolas Zimmermann and Carlos Alberto Lopez Perez.

Introduce `WEBKIT_DISPLAY_REFRESH_THROTTLE_FPS` environment variable to
adjust FPS throttling. This variable allows overwrite the refresh rate
used for the observer notifications.

This is particularly useful when running performance benchmarks such as
MotionMark on low-end devices (for example, Raspberry Pi 4). On such devices,
the default frame rate often leads to extremely low scores (1-3 pts), making
it difficult to track performance regressions. By throttling the target
frame rate to a lower value (e.g. 15 FPS), the benchmark produces results in
a more useful range (around 100-600 pts). This improves the comparability and
regression analysis. It also improves the quality of animations by making
their complexity more visible, even if they run at a lower frame rate.

* Source/WebKit/UIProcess/DisplayLink.h:
* Source/WebKit/UIProcess/glib/DisplayLinkGLib.cpp:
(WebKit::DisplayLink::platformInitialize):

Canonical link: https://commits.webkit.org/303622@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to