Skip to content

Profiling

Francesc Guasch edited this page Jul 8, 2020 · 2 revisions

One request

sudo PERL5LIB=./lib perl -d:NYTProf script/rvd_back --no-fork --debug --run-request=728

A test

$ sudo bash
# export PERL5LIB=/home/frankie/src/ravada/blib/lib
# perl -w -d:NYTProf t/nodes/60*t

Reporting

After running the profiler get the reports

$ nytprofcg
$ kcachegrind nytprof.callgrind
Clone this wiki locally