Daniel Wolf - 2015-10-01

I just downloaded the latest version of pocketsphinx-5prealpha-win32.zip and ran the included pocketsphinx_continuous.exe file like this:

pocketsphinx_continuous -infile "C:\Users\Daniel\Desktop\audio-test\test.raw" -hmm X:/dev/projects/LipSync/lib/pocketsphinx/model/en-us/en-us -allphone X:/dev/projects/LipSync/lib/pocketsphinx/model/en-us/en-us-phone.lm.bin -backtrace yes -beam 1e-20 -pbeam 1e-20 -lw 2.0

Processing a 16-second raw file took only 8 seconds on my machine.

Then I downloaded the latest version of the source code (pocketsphinx-5prealpha.tar.gz and sphinxbase-5prealpha.tar.gz). I built the included VS solutions in Release mode using VS2015. Then I ran the exact same command as before using the newly-built pocketsphinx_continuous.exe file. This time, it took 53 seconds.

I realize that different compilers and settings can have an impact on performance. But I can't imagine why my Release build is 7 (!) times slower than the binary download. Any help is appreciated!