github.com/egonelbre/exp@v0.0.0-20240430123955-ed1d3aa93911/audio/benchmark/README.md (about) 1 Package benchmark contains different benchmarks for compiler optimizations. 2 3 *audio* shows two common things you might want to do in audio libraries: 4 5 * Generate a sound for different number of channel counts: 6 - _Dynamic_ benchmarks represents code where the code has least repetition 7 - _Switch_ benchmarks shows where each channel count has different implementation. This becomes extremely repetitive, if you need to do this for each effect and buffer type. 8 - _Baseline_ benchmarks shows the ideal performance (ignoring SIMD optimizations) 9 * Mix two sound buffers together: 10 - _Dynamic_ benchmark shows the code you would usually write in Go 11 - _Baseline_ benchmarks shows the ideal performance (ignoring SIMD optimizations)