tweak benchmark script
This commit is contained in:
parent
fcc4a3ad6c
commit
2bb5bd2d5b
|
@ -10,4 +10,11 @@ tmux send-keys Enter
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
tmux new-window 'hyperfine --warmup 5 "bin/tmux-fingers start %0 self" --export-markdown /tmp/benchmark-output'
|
echo "Running benchmarks ..."
|
||||||
|
tmux new-window 'hyperfine --warmup 5 --runs 1000 "bin/tmux-fingers start %0 self" --export-markdown /tmp/benchmark-output'
|
||||||
|
|
||||||
|
echo "Waiting for results ..."
|
||||||
|
|
||||||
|
timeout 60 bash -c 'while [[ ! -s /tmp/benchmark-output ]]; do sleep 1; done'
|
||||||
|
|
||||||
|
cat /tmp/benchmark-output
|
||||||
|
|
Loading…
Reference in New Issue