Skip to content

Add experimental Media Performance Workloads - #582

Open
SyedAbuTalib wants to merge 1 commit into
WebKit:mainfrom
SyedAbuTalib:add-media-performance-workloads
Open

Add experimental Media Performance Workloads#582
SyedAbuTalib wants to merge 1 commit into
WebKit:mainfrom
SyedAbuTalib:add-media-performance-workloads

Conversation

@SyedAbuTalib

Copy link
Copy Markdown

This benchmark suite measures the performance, responsiveness, and processing throughput of modern web media APIs.


1. Media-Streaming (streaming.html / streaming.js)

InitialPlayback

Tests standard video playback initialization latency via Media Source Extensions (MSE) to simulate typical streaming user journeys on platforms like YouTube or Vimeo. The time measured is from the play button clicked to the first video frame painted on the screen. We use requestVideoFrameCallback to ensure that the video is painted on the screen.

Seek

Measures the latency of performing a quick skip-ahead action within an already loaded media stream. This simulates a common user interaction, such as scrubbing through a video timeline or double-tapping right to skip forward on a streaming platform. The time measured is from the seek button clicked to the first video frame painted on the screen after seeking. We use requestVideoFrameCallback to ensure that the video is painted on the screen after seeking.


2. Media-Conferencing (conferencing.html / conferencing.js)

VideoChat

Tests real-time video encoding and decoding pipelines using WebCodecs. While the UI simulates a Video Chat call, WebRTC is not tested; the focus is purely on measuring VideoEncoder and VideoDecoder throughput. The time measured is from the video-benchmark button clicked until all video frames have been encoded, decoded, and the session is torn down.

VoiceChat

Tests real-time audio encoding, decoding using WebCodecs and audio routing and effects processing using WebAudio. It measures the browser's efficiency in processing audio streams and applying standard audio nodes. The time measured is from the voice-benchmark button clicked until all audio frames have been encoded/decoded and the WebAudio offline rendering completes.

@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for webkit-speedometer-preview ready!

Name Link
🔨 Latest commit c0c708e
🔍 Latest deploy log https://app.netlify.com/projects/webkit-speedometer-preview/deploys/6a7a42db02586a00082de260
😎 Deploy Preview https://deploy-preview-582--webkit-speedometer-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

…ocessing throughput of modern web media APIs.

---

Tests standard video playback initialization latency via Media Source Extensions (MSE) to simulate typical streaming user journeys on platforms like YouTube or Vimeo. The time measured is from the `play` button clicked to the first video frame painted on the screen. We use `requestVideoFrameCallback` to ensure that the video is painted on the screen.

Measures the latency of performing a quick skip-ahead action within an already loaded media stream. This simulates a common user interaction, such as scrubbing through a video timeline or double-tapping right to skip forward on a streaming platform. The time measured is from the `seek` button clicked to the first video frame painted on the screen after seeking. We use `requestVideoFrameCallback` to ensure that the video is painted on the screen after seeking.

---

Tests real-time video encoding and decoding pipelines using WebCodecs. While the UI simulates a Video Chat call, WebRTC is not tested; the focus is purely on measuring VideoEncoder and VideoDecoder throughput. The time measured is from the `video-benchmark` button clicked until all video frames have been encoded, decoded, and the session is torn down.

Tests real-time audio encoding, decoding using WebCodecs and audio routing and effects processing using WebAudio. It measures the browser's efficiency in processing audio streams and applying standard audio nodes. The time measured is from the `voice-benchmark` button clicked until all audio frames have been encoded/decoded and the WebAudio offline rendering completes.
@SyedAbuTalib
SyedAbuTalib force-pushed the add-media-performance-workloads branch from 9dc7045 to c0c708e Compare August 10, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant