benchmark-0.0.28 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. erikd@coltrane > tests/benchmark
  2. Benchmarking libsndfile-0.0.28
  3. ------------------------------
  4. Each test takes a little over 5 seconds.
  5. Raw write PCM_16 : 30660117 samples per sec
  6. Raw read PCM_16 : 62788982 samples per sec
  7. Native endian I/O :
  8. Write short to PCM_16 : 83.37% of raw write
  9. Read short from PCM_16 : 83.17% of raw read
  10. Write int to PCM_24 : 30.78% of raw write
  11. Read int from PCM_24 : 32.96% of raw read
  12. Write int to PCM_32 : 42.05% of raw write
  13. Read int from PCM_32 : 41.11% of raw read
  14. Write float to PCM_16 : 17.75% of raw write
  15. Read float from PCM_16 : 43.27% of raw read
  16. Write float to PCM_24 : 15.30% of raw write
  17. Read float from PCM_24 : 28.09% of raw read
  18. Write float to PCM_32 : 14.55% of raw write
  19. Read float from PCM_32 : 34.65% of raw read
  20. Write float to FLOAT : 28.98% of raw write
  21. Read float from FLOAT : 56.71% of raw read
  22. Endian swapped I/O :
  23. Write short to PCM_16 : 43.39% of raw write
  24. Read short from PCM_16 : 49.12% of raw read
  25. Write int to PCM_24 : 29.65% of raw write
  26. Read int from PCM_24 : 33.66% of raw read
  27. Write int to PCM_32 : 19.62% of raw write
  28. Read int from PCM_32 : 21.97% of raw read
  29. Write float to PCM_16 : 17.63% of raw write
  30. Read float from PCM_16 : 31.43% of raw read
  31. Write float to PCM_24 : 14.91% of raw write
  32. Read float from PCM_24 : 27.99% of raw read
  33. Write float to PCM_32 : 13.69% of raw write
  34. Read float from PCM_32 : 22.23% of raw read
  35. Write float to FLOAT : 19.25% of raw write
  36. Read float from FLOAT : 25.66% of raw read