root, 'storage/trie/blog.txt'); echoTitle("Starting blog lookups"); runIterations(100000, $r, $blog); runIterations(1000000, $r, $blog); // Github test $r->clear(); $github = readAndAddRoutes('github.txt', $r); writeRoutesToFile($r->root, 'storage/trie/github.txt'); echoTitle("Starting github lookups"); runIterations(10000, $r, $github); runIterations(100000, $r, $github); runIterations(1000000, $r, $github); // Big test $r->clear(); $big = readAndAddRoutes('big.txt', $r); writeRoutesToFile($r->root, 'storage/trie/big.txt'); echoTitle("Starting big lookups"); runIterations(10000, $r, $big); runIterations(100000, $r, $big); runIterations(1000000, $r, $big);