Track time for constructing the grammar.