benches: Update for module refactor

This commit is contained in:
Serial 2024-04-14 13:14:04 -04:00 committed by Alex
parent 0b2d82b2c6
commit 9737c84041
2 changed files with 6 additions and 3 deletions

View file

@ -1,11 +1,13 @@
use lofty::ape::ApeTag;
use lofty::config::WriteOptions;
use lofty::id3::v1::Id3v1Tag;
use lofty::id3::v2::Id3v2Tag;
use lofty::iff::aiff::AIFFTextChunks;
use lofty::iff::wav::RIFFInfoList;
use lofty::mp4::Ilst;
use lofty::ogg::VorbisComments;
use lofty::{Accessor, MimeType, Picture, PictureType, TagExt, WriteOptions};
use lofty::picture::{MimeType, Picture, PictureType};
use lofty::tag::{Accessor, TagExt};
use iai_callgrind::{library_benchmark, library_benchmark_group, main};
@ -36,7 +38,7 @@ bench_tag_write!([
(aiff_text_chunks, AIFFTextChunks, |tag| {}),
(apev2, ApeTag, |tag| {
use lofty::ape::ApeItem;
use lofty::ItemValue;
use lofty::tag::ItemValue;
let picture = Picture::new_unchecked(
PictureType::CoverFront,

View file

@ -1,4 +1,5 @@
use lofty::{ParseOptions, Probe};
use lofty::config::ParseOptions;
use lofty::probe::Probe;
use iai_callgrind::{library_benchmark, library_benchmark_group, main};