Skip to content

filecoin-saturn/L1-replay-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L1 Replay

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

Usage

$ go run cmd/*.go replay -f sample-logs.ndjson

Use http1 (default):

$ go run cmd/*.go replay --http=1

Use http2

$ go run cmd/*.go replay --http=2

Use L1 ip address

$ go run cmd/*.go replay --ip=1.2.3.4

Limit number of logs.

$ go run cmd/*.go replay -n 100

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

$ go run cmd/*.go replay -d 5

Set number of http clients

$ go run cmd/*.go replay -c=3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages