mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
Add two benchmark results for current version.
This commit is contained in:
parent
e2a1983432
commit
0131ec9394
38
tests/benchmark-1.0.18pre16-hendrix
Normal file
38
tests/benchmark-1.0.18pre16-hendrix
Normal file
@ -0,0 +1,38 @@
|
||||
Benchmarking libsndfile-1.0.18pre15
|
||||
-----------------------------------
|
||||
Each test takes a little over 5 seconds.
|
||||
|
||||
Raw write PCM_16 : 103189885 samples per sec
|
||||
Raw read PCM_16 : 660854036 samples per sec
|
||||
|
||||
Native endian I/O :
|
||||
Write short to PCM_16 : 95.08% of raw write
|
||||
Read short from PCM_16 : 96.39% of raw read
|
||||
Write int to PCM_24 : 54.55% of raw write
|
||||
Read int from PCM_24 : 28.50% of raw read
|
||||
Write int to PCM_32 : 46.97% of raw write
|
||||
Read int from PCM_32 : 39.98% of raw read
|
||||
Write float to PCM_16 : 60.85% of raw write
|
||||
Read float from PCM_16 : 27.79% of raw read
|
||||
Write float to PCM_24 : 46.23% of raw write
|
||||
Read float from PCM_24 : 22.62% of raw read
|
||||
Write float to PCM_32 : 35.38% of raw write
|
||||
Read float from PCM_32 : 24.18% of raw read
|
||||
Write float to FLOAT : 47.73% of raw write
|
||||
Read float from FLOAT : 40.62% of raw read
|
||||
|
||||
Endian swapped I/O :
|
||||
Write short to PCM_16 : 79.98% of raw write
|
||||
Read short from PCM_16 : 49.27% of raw read
|
||||
Write int to PCM_24 : 53.80% of raw write
|
||||
Read int from PCM_24 : 28.50% of raw read
|
||||
Write int to PCM_32 : 41.68% of raw write
|
||||
Read int from PCM_32 : 25.89% of raw read
|
||||
Write float to PCM_16 : 61.03% of raw write
|
||||
Read float from PCM_16 : 27.74% of raw read
|
||||
Write float to PCM_24 : 45.10% of raw write
|
||||
Read float from PCM_24 : 22.43% of raw read
|
||||
Write float to PCM_32 : 35.24% of raw write
|
||||
Read float from PCM_32 : 22.37% of raw read
|
||||
Write float to FLOAT : 42.01% of raw write
|
||||
Read float from FLOAT : 28.98% of raw read
|
38
tests/benchmark-1.0.18pre16-mingus
Normal file
38
tests/benchmark-1.0.18pre16-mingus
Normal file
@ -0,0 +1,38 @@
|
||||
Benchmarking libsndfile-1.0.18pre15
|
||||
-----------------------------------
|
||||
Each test takes a little over 5 seconds.
|
||||
|
||||
Raw write PCM_16 : 178237074 samples per sec
|
||||
Raw read PCM_16 : 368885269 samples per sec
|
||||
|
||||
Native endian I/O :
|
||||
Write short to PCM_16 : 98.84% of raw write
|
||||
Read short from PCM_16 : 147.10% of raw read
|
||||
Write int to PCM_24 : 33.74% of raw write
|
||||
Read int from PCM_24 : 30.82% of raw read
|
||||
Write int to PCM_32 : 48.34% of raw write
|
||||
Read int from PCM_32 : 62.43% of raw read
|
||||
Write float to PCM_16 : 41.86% of raw write
|
||||
Read float from PCM_16 : 36.73% of raw read
|
||||
Write float to PCM_24 : 28.38% of raw write
|
||||
Read float from PCM_24 : 19.50% of raw read
|
||||
Write float to PCM_32 : 23.68% of raw write
|
||||
Read float from PCM_32 : 28.76% of raw read
|
||||
Write float to FLOAT : 47.21% of raw write
|
||||
Read float from FLOAT : 60.85% of raw read
|
||||
|
||||
Endian swapped I/O :
|
||||
Write short to PCM_16 : 54.94% of raw write
|
||||
Read short from PCM_16 : 59.03% of raw read
|
||||
Write int to PCM_24 : 33.40% of raw write
|
||||
Read int from PCM_24 : 31.98% of raw read
|
||||
Write int to PCM_32 : 30.89% of raw write
|
||||
Read int from PCM_32 : 33.68% of raw read
|
||||
Write float to PCM_16 : 41.61% of raw write
|
||||
Read float from PCM_16 : 26.76% of raw read
|
||||
Write float to PCM_24 : 25.75% of raw write
|
||||
Read float from PCM_24 : 19.84% of raw read
|
||||
Write float to PCM_32 : 21.29% of raw write
|
||||
Read float from PCM_32 : 21.78% of raw read
|
||||
Write float to FLOAT : 30.82% of raw write
|
||||
Read float from FLOAT : 35.04% of raw read
|
Loading…
Reference in New Issue
Block a user