added cli support for -p (perf) option