Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 409 Bytes

prof.md

File metadata and controls

14 lines (10 loc) · 409 Bytes

collect

  • run this command and then dnsperf.sh
  • after dnsperf.sh end, ctrl+c this command
python -mcProfile -o greendns.profile ../greendns/server.py -r greendns -l warn --lds 192.168.150.3:53 --rds 127.0.0.1:5454 --rfc1918 -f ../etc/greendns/localroute.txt -b ../etc/greendns/iplist.txt > a.log 2>&1

view

gprof2dot -f pstats ./greendns.profile | dot -Tpng -o greendns.png