Versioning in decoder benchmark entries
Categories
(Core :: Audio/Video: Playback, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: achronop, Assigned: achronop)
References
Details
Attachments
(3 files)
We want to create a kind of versioning for the benchmark entries that are stored in the database. The versioning will be used to verify that a decoder produces entries for the right version. A version will be a number that follows the benchmark entries in the database.
The way that it works is, for example after a decoder update, we may want to mark the new benchmark entries with a new version. Then all the entries corresponding to the previous version will be erased, from the database, and a new version will be assigned to the new entries.
Assignee | ||
Comment 1•5 years ago
|
||
Add a new method in the key-value wrapper (KeyValueStorage) to clear all the entries of a database.
Assignee | ||
Comment 2•5 years ago
|
||
The new protocol method trasfers the database name and the version number from the content to the parent process. Then the parent process retrieves the stored version number from the database and compares it to the provided version number. If they are the same it stops there, otherwise it erases all the entries from the database and stores the new version number.
Assignee | ||
Comment 3•5 years ago
|
||
Introduce a static method to call the CheckVersion method of the IPDL protocol from the content process. Every time a video decoder is initialized, the method is called to verify the version of the stored benchmark entries.
Assignee | ||
Comment 4•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ffe8e72d9f806a63c0167cf58c5b79443a2cafd2
Pushed by achronopoulos@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d2c4b21d1bf Introduce a method to clear all the entries of a database.r=jya https://hg.mozilla.org/integration/autoland/rev/1c3d1685235f Introduce a check version method in the benchmark storage IPDL protocol.r=jya https://hg.mozilla.org/integration/autoland/rev/fab2d14c089f Check the version of the stored benchmarks when a video decoder is initialized.r=jya
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7d2c4b21d1bf
https://hg.mozilla.org/mozilla-central/rev/1c3d1685235f
https://hg.mozilla.org/mozilla-central/rev/fab2d14c089f
Description
•