From 0456749720eee65b2a97aee705bb7e3cf2bae337 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 27 Dec 2023 22:18:14 +0000 Subject: hide performance debug --- typr.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'typr.sh') diff --git a/typr.sh b/typr.sh index 4517941..1a4c838 100755 --- a/typr.sh +++ b/typr.sh @@ -177,17 +177,17 @@ typr_main () { correct_kp=0 export correct_kp total_kp - fstart=$(date +%s%N) + #fstart=$(date +%s%N) while true; do typr_draw_text # calculate performance - fend=$(date +%s%N) - msperframe=$(((fend-fstart)/1000000)) - printf "%6s" "$msperframe" + #fend=$(date +%s%N) + #msperframe=$(((fend-fstart)/1000000)) + #printf "%6s" "$msperframe" c="$(tty_readc)" - fstart=$(date +%s%N) + #fstart=$(date +%s%N) case "$c" in ''|'') break;; '') -- cgit v1.2.1