Add class to benchmark build and spot time of trie.