GSoC Week 2: Benchmark Results
Time for another GSoC update. This week I’ll share the memory and time benchmark results, comparing the two approaches mentioned in last week’s post (and it seems like we have a winner).
Memory Benchmark
Tests were made with the hub4wsj_sc_8k english model that can be found in the pocketsphinx-models package in Fedora 20.
Basically, for each approach, I launched 10 instances of a minimal graphical application (that printed out every recognized sentence),and memory measurements were taken with top.
Results are shown in the following table:
Time Benchmark
Again, the hub4wsj_sc_8k was used for benchmarking both approaches in terms of time. In this case, a 40 second voice recording was used, and the time it took for two minimal examples to process this input was measured.
What this test tried to estimate was the cost of the IPC calls. So one example script used D-Bus and the other one received the results directly from the GStreamer pipeline.
The recording contained 10 sentences.The test was run 10 times. That gives a total of 100 recognized sentences. Results are shown in the following table: