[vorbis] Performance tests

Jack Moffitt jack at xiph.org
Tue Oct 16 17:50:18 PDT 2001

> If you really want to be accurate with CPU usage, I'd use the
> following procedure:
> $ cat test.ogg > /dev/null ; time xiph-cvs/vorbis/examples/decoder_example < test.ogg > /dev/null
> $ cat test.mp3 > /dev/null ; time mpg123 <decode and write to /dev/null, not just test decode> test.mp3
> $ cat test.mp3 > /dev/null ; time mpg321 <decode and write to /dev/null, not just test decode> test.mp3

This is slightly wrong.  decoder_example is slow.  vorbisfile_example is
much faster, because of the inline asm that does float->int conversion.

use vorbisfile_example, since that's also what most players use.


--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Vorbis mailing list