Skip to content

Instantly share code, notes, and snippets.

@akrito
Created March 11, 2012 23:10
Show Gist options
  • Save akrito/2018582 to your computer and use it in GitHub Desktop.
Save akrito/2018582 to your computer and use it in GitHub Desktop.
> python enron_bench.py /home/alex/python/microsearch/maildir/
Collecting the emails...
Starting indexing 1200 docs...
Indexing complete.
Total time taken: 76.154 seconds
Avg time per doc: 0.063 seconds
Starting searching...
Running query `expert`...
Found 194 results in 0.003 seconds.
Running query `question`...
Found 212 results in 0.003 seconds.
Running query `tax`...
Found 38 results in 0.001 seconds.
Running query `audit`...
Found 22 results in 0.001 seconds.
Running query `tax audit`...
Found 59 results in 0.001 seconds.
Running query `accounting`...
Found 214 results in 0.003 seconds.
Running query `sex`...
Found 5 results in 0.000 seconds.
Running query `enron`...
Found 1135 results in 0.015 seconds.
Searching complete.
Total time taken: 0.029 seconds
Avg time per query: 0.004 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment