NOTE: This are old binarys and sources! Use updated binarys and sources from POST #40.
Well as stated in previous posts, I have made some code cleanup and merged new he-jo patch (more info at wiso_changes.txt in src package).
Download updated binarys:
[attachment=2186:attachment]
Download updated sources:
[attachment=2187:attachment]
Do not use anymore binarys and sources from post #1.
Below my test results (only tested one wav file) using new binarys!
NOTE: Tested on Athlon XP 2000+, 512MB RAM, 80GB SATA DISK (8 MB Cache), Windows XP SP2.
Test file: 44kHz/16bit/Stereo, 34 435 676 bytes, 195 seconds
WavPack 4.31 Options Original 4.31 [s] MMX Optimized 4.31 [s] Difference [s] Speedup [%]
-f 2,89 2,92 -0,03 -1,04
3,41 3,45 -0,04 -1,17
-h 6,22 6,13 0,09 1,45
-f -x 32,27 28,30 3,97 12,30
-f -x1 6,34 6,03 0,31 4,89
-f -x2 9,44 8,66 0,78 8,26
-f -x3 9,75 8,95 0,80 8,21
-f -x4 20,55 18,30 2,25 10,95
-f -x5 26,77 23,66 3,11 11,62
-f -x6 32,30 28,30 4,00 12,38
-x 59,19 50,42 8,77 14,82
-x1 9,08 8,45 0,63 6,94
-x2 15,23 13,63 1,60 10,51
-x3 25,08 22,03 3,05 12,16
-x4 59,16 50,33 8,83 14,93
-x5 89,44 75,69 13,75 15,37
-x6 190,55 159,42 31,13 16,34
-h -x 144,02 127,92 16,10 11,18
-h -x1 18,95 17,09 1,86 9,82
-h -x2 33,95 29,76 4,19 12,34
-h -x3 144,03 127,94 16,09 11,17
-h -x4 229,61 199,25 30,36 13,22
-h -x5 331,49 289,81 41,68 12,57
-h -x6 730,89 645,28 85,61 11,71
NOTE: Original is Release Build from provided sources, and MMX Optimized is ReleaseMMX build.
Here is my batch file [test.cmd], used for testing (works on WinXP SP2):
@echo off
rem WavPack MMX OPTIMIZED SPEED TESTS by WISO
rem COMMANDLINE OPTIONS FROM FILE (each line is one test)
set OptionsFile=options.txt
rem INPUT (*.wav) TEST FILE
set InFile=test.wav
rem OUTPUT (*.wv) TEST FILES
set OutFileORG=T_ORG.wv
set OutFileMMX=T_MMX.wv
rem PATH TO ORIGINAL EXE
set ExeFileORG=wavpack_ORG.exe
rem PATH TO MMX OPTIMIZED EXE
set ExeFileMMX=wavpack_MMX.exe
rem RUN SPEED TESTS
FOR /F \"tokens=*\" %%i in (%OptionsFile%) do (
@echo TESTING: %%i
%ExeFileORG% %%i %InFile% %OutFileORG%
%ExeFileMMX% %%i %InFile% %OutFileMMX%
fc /B %OutFileORG% %OutFileMMX%
del %OutFileORG%
del %OutFileMMX%
@echo ################################################################################
)
echo ALL TESTS DONE
pause
and [options.txt] file, note that empty line is not empty, there is one ASCII SPACE char:
-f
-h
-f -x
-f -x1
-f -x2
-f -x3
-f -x4
-f -x5
-f -x6
-x
-x1
-x2
-x3
-x4
-x5
-x6
-h -x
-h -x1
-h -x2
-h -x3
-h -x4
-h -x5
-h -x6
Thats all,
WISO (wisodev @ HA.org).