Skip to content

zkSNACKs/WasabiBenchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published