mirror of
https://github.com/Serial-ATA/lofty-rs
synced 2024-11-10 06:34:18 +00:00
.. | ||
create_tag.rs | ||
read_file.rs | ||
README.md |
Benchmarks
There are two categories of benchmarks here:
- File parsing for each of the supported file formats
- Tag creation for each of the supported tag formats
File parsing
The file parsing benchmarks are run on a set of assets that attempt to be representative of files one would find in the wild.
The song used is "TempleOS Hymn Risen (Remix)" by Dave Eddy, licensed under Public Domain.
Links to the song:
The file was originally provided as a FLAC, and has been re-encoded to the other formats.
Some conditions:
- Each file will only make use of their "primary tag".
- The following fields are used (with some possibly left out, depending on the format):
- Title
- Artist
- Album
- Date
- Track number
- Genre
- Picture (Front cover)
- Encoder
Tag creation
The tag creation benchmarks will only create the tags and dump them to a writer, this will not take into account the time it takes to write the tags to a file.
The tags will be created using the same conditions as above, with the exact same data as present in the files.