To measure end-to-end translation speed using pycdec, per-sentence grammars are first extracted for a batch of sentences and written to disk, then read from disk during decoding.
we report times separately for grammar extraction, disk I/O, and decoding (which includes time for reading the grammar files from disk back into memory).