~/Projects/docquery (benchmark)!🐑 💨 ✨ npm test
> docquery@1.1.0 test /Users/jonmagic/Projects/docquery
> babel src --out-dir lib; mocha --compilers js:mocha-traceur test/*_test.js
src/cli.js -> lib/cli.js
src/docquery.js -> lib/docquery.js
DocQuery
#search
✓ returns search result for query
✓ returns new documents in search results (197ms)
✓ does not return document in search results after it has been deleted (322ms)
#documents
✓ returns all documents
✓ returns documents sorted newest first
✓ returns new documents as they are added (192ms)
✓ does not return document after it has been deleted
✓ ignores files in subfolders when recursive is false (213ms)
Benchmarks
✓ starts up in less than 5 seconds (4441ms)
✓ returns search results in less than 5 seconds (4989ms)
Preparing to try new search engines per https://github.com/seongjaelee/nvatom/issues/35
/cc @seongjaelee