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