Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasabi.Bench

This project uses BenchmarkDotnet to measure performance of parts of Wasabi implementation.

Clone the repo

git clone https://github.com/zkSNACKs/WasabiBenchmark.git
ln -s <your_wasabi_repo_directory> WalletWasabi

Analyzing performance in Windows:

You can generate flamegraph to view with PerfView on Windows with the following command:

dotnet run -c Release --project ./Wasabi.Bench/WalletWasabi.Bench.csproj -- --runtimes net6.0 --filter TransactionProcessorBench --profiler ETW

Where TransactionProcessorBench is the name of the benchmark class you are insterested in.

Generating flamegraph on linux:

COMPlus_PerfMapEnabled=1 ~/GitHub/WalletWasabi/WalletWasabi.Bench/bin/Release/netcoreapp3.1/WalletWasabi.Bench &
sudo perf record -p $! -g
sudo perf script -f | ~/GitHub/FlameGraph/stackcollapse-perf.pl | ~/GitHub/FlameGraph/flamegraph.pl > flame.svg
python3 -m http.server &
firefox http://127.0.0.1:8000/

And there you can pick the flamegraph.

About

Benchmark project for Wasabi wallet

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages