Skip to content

ghiliweld/ssz-arena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssz-arena

The arena where ssz crates duke it out!

Installation

cargo build

Usage

Wall Time Benchmarking

cargo bench --bench wall_time

Allocation Benchmarking

cargo bench --bench alloc

Benchmarking Features

Beacon Block benchmarking with lighthouse and grandine crates:

cargo bench --bench <bench> --features block,sigp,grandine

Beacon State benchmarking with grandine:

cargo bench --bench <bench> --features state,grandine

By default, the suite will use the latest checkpoint state served on sync-mainnet.beaconcha.in. However, the requests do add a bit of latency to the benchmarks. Users can override this by adding their own beacon-block.ssz and beacon-state.ssz files to the root directory. This will perform decoding on the provided files.

About

ssz crates duking it out

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages