Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 587 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 587 Bytes

L1 Replay

A tool that replays requests to an L1 and outputs performance metrics.

Installation

$ npm install

Usage

$ node index.js replay -f sample-logs.ndjson

Use http1 (default):

$ node index.js replay --http=1

Use http2

$ node index.js replay --http=2

Use L1 ip address

$ node index.js replay --ip=1.2.3.4

Limit number of logs.

$ node index.js replay -n 100

Limit number of logs by duration. -d 5 means "Replay 5 minutes of logs from the start of the log file".

$ node index.js replay -d 5