Date: Aug 22, 2021
Author: Frank Gu <[email protected]>
- Set up a
credentials.json
file in this directory with the following format:
{
"mongoUrl": "",
"pgHost": "",
"pgUser": "",
"pgPort": 1234,
"pgDbname": "",
"pgPassword": "",
"s3Bucket": ""
}
- Run
yarn generate
to generate thesentences.txt
seed data (5M entries) to ensure data consistency between tests. - Run
yarn benchmark
to run the benchmark
Comment/Uncomment the corresponding harness in the index.ts
to change database backend under test.