Skip to content

aviate-labs/candb-benchmarks

CanDB Benchmarks

To see the requirements that produced these benchmarks, see ./BENCHMARKING.md.

Run

Graphs

npm run dev

Benchmarks

npm run benchmark

NOTE: Skips any tests for which the benchmark file already exists!

Files

See ./BENCHMARKING.md to match each csv file and plot with its respective benchmark requirement.

Name Filename Update/Query/Scan
Small Insertion Batch sib U
Small Retrieval Batch sib_q Q
Small Retrieval S Batch sib_s S
Small Insertion 1 si1 U
Small Update 1 su1 U
Small Deletion 1 sd1 U
Small Insertion Parallel sip U
Medium Insertion Batch mib U
Medium Retrieval Batch mib_q Q
Medium Retrieval S Batch mib_s S
Medium Insertion 1 mi1 U
Medium Deletion 1 md1 U
Large Insertion Batch lib U
Large Retrieval Batch lib_q Q
Large Retrieval S Batch lib_s S
Large Insertion 1 li1 U
Large Deletion 1 ld1 U

Set Up

No Artificial Delay

NOTE: The artificial delay has been set to zero, which means the actual response times might differ.

~/.config/dfx/networks.json

{
  "local": {
    "bind": "127.0.0.1:8000",
    "type": "ephemeral"
  }
}

Install a Specific DFX Version

NOTE: Minimal requirement 0.14.0!

DFX_VERSION=0.14.0 sh -ci "$(curl -sSL https://internetcomputer.org/install.sh)"