remove profiling instrumentation

pull/471/head
romkatv 5 years ago
parent 3b2fa36cd6
commit fab13389f1

@ -135,12 +135,6 @@ function _p9k_worker_receive() {
fi fi
;; ;;
e) e)
if (( start_time )); then
local -F end_time=EPOCHREALTIME
local -F3 latency=$((1000*(end_time-start_time)))
echo "latency: $latency ms" >>/tmp/log
start_time=0
fi
() { eval $arg } () { eval $arg }
(( reset > max_reset )) && max_reset=reset (( reset > max_reset )) && max_reset=reset
;; ;;

Loading…
Cancel
Save