Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Latest commit

 

History

History

benchmarks

IPFS Log benchmark runner

Usage:

From the project root, run:

node --expose-gc benchmarks/runner/index.js [options]

Options

  • --help, -h [boolean] Show this help
  • --baseline, -b [boolean] Run baseline benchmarks only
  • --report, -r [boolean] Output report (Default: false)
  • --list, -l [boolean] List all benchmarks
  • --grep, -g Regular expression used to match benchmarks (Default: /.*/)
  • --stressLimit seconds to run a stress benchmark (Default: 300)
  • --baselineLimit benchmark cycle limit for baseline benchmarks (Default: 1000)
  • --logLimit max log size used for baseline benchmarks (inclusive) (Default: 10000)

Examples:

index.js -r -g append-baseline     Run a single benchmark (append-baseline)
index.js -r -g values-.*-baseline  Run all of the values baseline benchmarks