gecko-dev/python/mozperftest
Chun-Min Chang f64dbf04f0 Bug 1920813 - Add performance test for WebCodecs video encoding r=perftest-reviewers,media-playback-reviewers,aosmond,padenot,sparky
This patch introduces performance tests to evaluate the video encoding
performance in two usage scenarios: *Realtime* and *Record*. Each
scenario assesses the encoding using two key metrics:

1. Frame Encoding Latency: The time from encoding a single frame to
   receiving its encoded result
2. Total Encoding Time: The duration from the first encoding request to
   the reception of the last encoded result

In the *Realtime* scenario, minimizing the latency for each frame is
crucial. This metric is essential for applications like live streaming
and video conferencing, where timely delivery of each frame impacts user
experience.

In contrast, the *Record* scenarios prioritizes the total encoding time.
Here, the focus is on processing the entire sequence efficiently to
produce the final output.

By adding these tests, we aim to thoroughly assess and optimize the
encoder's performance under both scenarios, ensuring Gecko provides the
experience users expect.

Differential Revision: https://phabricator.services.mozilla.com/D224999
2024-10-25 21:43:26 +00:00
..
mozperftest Bug 1925273 - Set script type for mochitest using manifest flavor. r=perftest-reviewers,afinder 2024-10-24 11:57:24 +00:00
perfdocs Bug 1920813 - Add performance test for WebCodecs video encoding r=perftest-reviewers,media-playback-reviewers,aosmond,padenot,sparky 2024-10-25 21:43:26 +00:00
.ruff.toml
README.rst
setup.cfg
setup.py

===========
mozperftest
===========

**mozperftest** can be used to run performance tests against browsers.
See the docs directory.