File: benchmark-latest-coltrane

package info (click to toggle)
libsndfile 1.2.0-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,616 kB
  • sloc: ansic: 55,313; cpp: 1,085; python: 791; sh: 539; makefile: 539; cs: 122
file content (75 lines) | stat: -rw-r--r-- 3,262 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
erikd@coltrane > cat tests/benchmark-0.0.28         
Benchmarking libsndfile-0.0.28
------------------------------
Each test takes a little over 5 seconds.

    Raw write PCM_16  :   31022959 samples per sec
    Raw read  PCM_16  :   63471874 samples per sec

Native endian I/O :
    Write short   to  PCM_16 :  83.19% of raw write
    Read  short  from PCM_16 :  82.28% of raw read
    Write int     to  PCM_24 :  30.81% of raw write
    Read  int    from PCM_24 :  32.92% of raw read
    Write float   to  PCM_16 :  17.70% of raw write
    Read  float  from PCM_16 :  43.64% of raw read
    Write float   to  PCM_24 :  15.09% of raw write
    Read  float  from PCM_24 :  27.79% of raw read
    Write float   to  PCM_32 :  14.32% of raw write
    Read  float  from PCM_32 :  34.42% of raw read
    Write float   to  FLOAT  :  28.64% of raw write
    Read  float  from FLOAT  :  56.77% of raw read

Endian swapped I/O :
    Write short   to  PCM_16 :  44.04% of raw write
    Read  short  from PCM_16 :  49.46% of raw read
    Write int     to  PCM_24 :  28.92% of raw write
    Read  int    from PCM_24 :  33.10% of raw read
    Write float   to  PCM_16 :  17.30% of raw write
    Read  float  from PCM_16 :  31.46% of raw read
    Write float   to  PCM_24 :  14.62% of raw write
    Read  float  from PCM_24 :  27.64% of raw read
    Write float   to  PCM_32 :  13.65% of raw write
    Read  float  from PCM_32 :  22.41% of raw read
    Write float   to  FLOAT  :  19.13% of raw write
    Read  float  from FLOAT  :  26.21% of raw read

erikd@coltrane > tests/benchmark 
Benchmarking libsndfile-1.0.0
-----------------------------
Each test takes a little over 5 seconds.

    Raw write PCM_16  :   29884416 samples per sec
    Raw read  PCM_16  :   63347175 samples per sec

Native endian I/O :
    Write short   to  PCM_16 :  88.24% of raw write
    Read  short  from PCM_16 :  82.76% of raw read
    Write int     to  PCM_24 :  34.95% of raw write
    Read  int    from PCM_24 :  37.17% of raw read
    Write int     to  PCM_32 :  43.86% of raw write
    Read  int    from PCM_32 :  41.22% of raw read
    Write float   to  PCM_16 :  42.07% of raw write
    Read  float  from PCM_16 :  44.25% of raw read
    Write float   to  PCM_24 :  32.43% of raw write
    Read  float  from PCM_24 :  28.93% of raw read
    Write float   to  PCM_32 :  25.60% of raw write
    Read  float  from PCM_32 :  31.10% of raw read
    Write float   to  FLOAT  :  45.55% of raw write
    Read  float  from FLOAT  :  57.41% of raw read

Endian swapped I/O :
    Write short   to  PCM_16 :  43.46% of raw write
    Read  short  from PCM_16 :  43.99% of raw read
    Write int     to  PCM_24 :  35.09% of raw write
    Read  int    from PCM_24 :  37.34% of raw read
    Write int     to  PCM_32 :  24.05% of raw write
    Read  int    from PCM_32 :  19.74% of raw read
    Write float   to  PCM_16 :  40.25% of raw write
    Read  float  from PCM_16 :  32.15% of raw read
    Write float   to  PCM_24 :  31.02% of raw write
    Read  float  from PCM_24 :  28.82% of raw read
    Write float   to  PCM_32 :  23.54% of raw write
    Read  float  from PCM_32 :  23.65% of raw read
    Write float   to  FLOAT  :  24.87% of raw write
    Read  float  from FLOAT  :  20.28% of raw read