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 external 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•7 years ago
|
||
Add a new method in the key-value wrapper (KeyValueStorage) to clear all the entries of a database.
| Assignee | ||
Comment 2•7 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•7 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•7 years ago
|
||
Comment 6•7 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
•