1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-26 00:41:57 +00:00

remove profiling instrumentation

This commit is contained in:
romkatv 2020-02-03 16:16:45 +01:00
parent 3b2fa36cd6
commit fab13389f1

View file

@ -135,12 +135,6 @@ function _p9k_worker_receive() {
fi
;;
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 }
(( reset > max_reset )) && max_reset=reset
;;