Skip to content

Astralane/solana-shred-perf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

solana-shred-perf

Sample code to test and compare performance between any two Shreds.

How to use?

Build

cargo build

Run

export RUST_LOG=info && cargo run -- --name-0 <Shred1's name> --port-0 <Port to receive Shred1> --name-1 <Shred2's name> --port-1 <Port to receive Shred2>

Where:

  • <Shred1's name> is an arbitrary name for Shred1, used to distinguish it in printed output.
  • <Port to receive Shred1> is the port to receive Shred1.
  • <Shred2's name> is an arbitrary name for Shred2, used to distinguish it in printed output.
  • <Port to receive Shred2> is the port to receive Shred2.

For example:

export RUST_LOG=info && cargo run -- --name-0 uk --port-0 20001 --name-1 de --port-1 20002

This compares a shred named uk with a data receiving port of 20001 to a shred named de with a data receiving port of 20002. Normal execution outputs data as follows:

image

About

Sample code to test and compare performance between any two Shreds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%