Conversation
- Create shared audio module (src/audio.rs) with decoding and resampling functions - Add parakeet-bench binary that benchmarks WAV files against CPU performance - Report realtime factor (e.g., 50x means 50 seconds of audio processed in 1 second) - Include CPU information using sysinfo crate - Sequential processing to accurately measure single-stream performance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
parakeet-benchCLI tool for benchmarking transcription performance using real audio samples from the OpenSLR SLR81 test set. Includes download script and multi-threaded parallel processing.Also updates
.gitignoreto exclude downloaded audio files and refactors code by moving transcription logic to dedicated module.Key Changes
parakeet-bench.rs(~240 lines) - benchmarks transcription throughput with configurable parallel workers via rayondownload_samples.sh- automated download of ~2.5GB test audio from AWS S3 (OpenSLR SLR81)main.rsto dedicatedsrc/audio.rsmoduleCargo.tomlandCargo.lockwav_files/directory to.gitignore