Skip to content

voiceflow/ts-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0699da2 · Oct 8, 2021

History

12 Commits
Aug 22, 2021
Aug 23, 2021
Aug 22, 2021
Aug 22, 2021
Aug 22, 2021
Aug 22, 2021
Aug 23, 2021
Oct 7, 2021
Aug 22, 2021
Aug 23, 2021
Aug 22, 2021
Aug 21, 2021
Aug 22, 2021

Repository files navigation

Time-series Database Comparison

Date: Aug 22, 2021
Author: Frank Gu <frank@voiceflow.com>

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.