Skip to content

voiceflow/ts-benchmark

Repository files navigation

Time-series Database Comparison

Date: Aug 22, 2021
Author: Frank Gu <[email protected]>

Usage

  1. Set up a credentials.json file in this directory with the following format:
{
  "mongoUrl": "",
  "pgHost": "",
  "pgUser": "",
  "pgPort": 1234,
  "pgDbname": "",
  "pgPassword": "",
  "s3Bucket": ""
}
  1. Run yarn generate to generate the sentences.txt seed data (5M entries) to ensure data consistency between tests.
  2. Run yarn benchmark to run the benchmark

Changing database backends

Comment/Uncomment the corresponding harness in the index.ts to change database backend under test.

Releases

No releases published

Packages

No packages published