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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just downloaded the latest version of
pocketsphinx-5prealpha-win32.zipand ran the includedpocketsphinx_continuous.exefile 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.0Processing 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.gzandsphinxbase-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-builtpocketsphinx_continuous.exefile. 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!