Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e97e179b19384936e2402af2edeb74830e936673
https://github.com/WebKit/WebKit/commit/e97e179b19384936e2402af2edeb74830e936673
Author: Alejandro G. Castro <[email protected]>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
A PerformanceTests/Canvas/WebGL-drawArrays-parallel.html
A PerformanceTests/Canvas/WebGL-drawArrays.html
Log Message:
-----------
Add performance tests for WebGL draw call submission
https://bugs.webkit.org/show_bug.cgi?id=321788
Reviewed by Kimmo Kinnunen.
Added two microbenchmarks for WebGL draw call submission.
- WebGL-drawArrays.html measures the throughput of bare drawArrays calls
drawing a small triangle, with the GPU process is dominated by the per-message
cost of the RemoteGraphicsContextGL stream.
- WebGL-drawArrays-parallel.html measures whether submitted draw calls execute
in parallel with script running after their submission: it scales a fragment
shader so a group of draws takes roughly 10 ms of GPU time, then submits the
draws, busy-waits in script for the same time and finishes. A run costs
about one target duration when draw execution overlaps the script, and about
two when the draws only start at the sync point.
* PerformanceTests/Canvas/WebGL-drawArrays-parallel.html: Added.
* PerformanceTests/Canvas/WebGL-drawArrays.html: Added.
Canonical link: https://commits.webkit.org/322262@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications