nondescript/perf.sh

6 lines
229 B
Bash

# change this to the path to nds and to the path to the program profiled
sudo perf record -g -F 999 /home/user/Projects/nondescript/bin/nds benchmarks/fib.nds
sudo perf script -F +pid > test.perf
# https://profiler.firefox.com/