Add support for benchmarking ML viterbi.