No, the numbers were not zero, I'm not sure even why I omitted them... Here's the output from few more runs on the C2D machine :
Code: Select all
nocash mp3 decoder v1.1, 2024 martin korth, press ctrl+c to quit, BDS now
file: pisse.mp3
file size: 2,584,725, id3 size: 110,602, tag size: 0
input: 44100 hz, 2 channels, 234 kbit/s
output: 44100 hz, 2 channels, 16 bit
audio duration 84,584 milliseconds, decoded in 207 milliseconds
clock cycles per second:
read header 3,928
read extra 2,980
read granule 18,663
append main 48,217
read scalefac 50,035
xlat scalefac 50,614
read huffman 1,477,371
ms stereo 138,346
i stereo 0
reorder 9,026
antialias 314,674
imdct 1,010,725
imdct36 885,331
imdct12 12,404
imdct0 59,068
synth/dct 4,806,772
synth.dct32 1,302,770
synth.output 3,290,673
total 7,988,837
audio duration 84,584 milliseconds, decoded in 210 milliseconds
clock cycles per second:
read header 3,905
read extra 2,992
read granule 18,527
append main 47,841
read scalefac 50,911
xlat scalefac 50,431
read huffman 1,468,208
ms stereo 137,987
i stereo 0
reorder 9,437
antialias 313,572
imdct 1,006,136
imdct36 887,092
imdct12 12,400
imdct0 57,673
synth/dct 4,844,779
synth.dct32 1,330,984
synth.output 3,301,224
total 8,008,334
audio duration 84,584 milliseconds, decoded in 265 milliseconds
clock cycles per second:
read header 4,010
read extra 3,035
read granule 18,659
append main 48,508
read scalefac 49,681
xlat scalefac 50,455
read huffman 1,468,441
ms stereo 135,293
i stereo 0
reorder 9,019
antialias 318,171
imdct 1,009,841
imdct36 889,603
imdct12 13,251
imdct0 58,153
synth/dct 4,844,708
synth.dct32 1,306,638
synth.output 3,324,020
total 8,014,242
There can be significant variability in the decode time, I even saw times as low as 310ms.
You could do unreal mode, and not even have to return to DOS, at least for benchmarking purposes although I am not totally sure about getting file read to memory first for further processing... trying out unreal mode is in my todo list.