From fab13389f17b1dc08f080bef4e0143f3d59d104c Mon Sep 17 00:00:00 2001 From: romkatv Date: Mon, 3 Feb 2020 16:16:45 +0100 Subject: [PATCH] remove profiling instrumentation --- internal/worker.zsh | 6 ------ 1 file changed, 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 ;;