aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-02-03 18:16:45 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-02-03 18:16:45 +0300
commitfab13389f17b1dc08f080bef4e0143f3d59d104c (patch)
tree08d23451a0920b0b9d5896f8908a2aafef949194 /internal
parent3b2fa36cd6fd34ccd764f410013d91440db180f4 (diff)
remove profiling instrumentation
Diffstat (limited to 'internal')
-rw-r--r--internal/worker.zsh6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/worker.zsh b/internal/worker.zsh
index a7db4596..ce38af98 100644
--- a/internal/worker.zsh
+++ b/internal/worker.zsh
@@ -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
;;