diff options
author | davidovski <david@davidovski.xyz> | 2023-12-27 22:18:14 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-12-27 22:18:14 +0000 |
commit | 0456749720eee65b2a97aee705bb7e3cf2bae337 (patch) | |
tree | 49f94b114a0b601f4f72d089f39284ad14bc2aae | |
parent | 17dbc958104165cc0ed8acfd55137065f4fdb816 (diff) |
hide performance debug
-rwxr-xr-x | typr.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 "[0;0H%6s" "$msperframe" + #fend=$(date +%s%N) + #msperframe=$(((fend-fstart)/1000000)) + #printf "[0;0H%6s" "$msperframe" c="$(tty_readc)" - fstart=$(date +%s%N) + #fstart=$(date +%s%N) case "$c" in ''|'') break;; '') |