Skip to content

Latest commit

 

History

History

benchmark

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Benchmarking tree-gateway

The long-term goal of these scripts and documentation is to provide a consistent and well understood benchmarking process for tree-gateway so that performance does not degrade over time.

Pre-requisites

All benchmarking shall be done with loadtest

Make sure you have loadtest installed before continuing.

Benchmarks

  1. Simple HTTP benchmark

Simple HTTP

This benchmark requires three terminals running:

  1. A gateway server: node dist/app.js
  2. A target API: node benchmark/scripts/hello.js
  3. A wrk process: `loadtest -c 20 -n 20000 -k http://localhost:8000/benchmark/hello