Skip to content

Add Criterion benchmarks - #9

Open
valadaptive wants to merge 2 commits into
dstrub18:mainfrom
valadaptive:benches
Open

valadaptive wants to merge 2 commits into
dstrub18:mainfrom
valadaptive:benches

Conversation

@valadaptive

@valadaptive valadaptive commented Aug 18, 2026

Copy link
Copy Markdown

For optimization, it's nice to have a benchmark suite. This PR adds a couple basic benchmarks for the speech and audio modes.

I also updated the bench profile so it emits and preserves full debug info. This is necessary for performance profiling (I like to use samply).

While working on this, I noticed that while audio_utils::load_as_mono (which returns an AudioSignal) is public, the AudioSignal type itself is not, which makes the API quite awkward to use. Let me know if you want a PR for that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant