Skip to content

Instantly share code, notes, and snippets.

@lontivero
Created November 26, 2018 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lontivero/089135f48a113f334e85f8a7d7c521c1 to your computer and use it in GitHub Desktop.
Save lontivero/089135f48a113f334e85f8a7d7c521c1 to your computer and use it in GitHub Desktop.
Runs and measure performace
#!/bin/bash
COMPlus_PerfMapEnabled=1 dotnet ~/GitHub/WalletWasabi/WalletWasabi.Gui/bin/Debug/netcoreapp2.1/WalletWasabi.Gui.dll &
sudo perf record -p $! -g
sudo perf script -f | ~/GitHub/FlameGraph/stackcollapse-perf.pl | ~/GitHub/FlameGraph/flamegraph.pl > flame.svg
sudo python -m SimpleHTTPServer 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment