Skip to content

Commit

Permalink
Merge pull request #127 from winebarrel/update_demo
Browse files Browse the repository at this point in the history
Update demo
  • Loading branch information
winebarrel authored Aug 29, 2024
2 parents 140683a + 2960e4d commit fa6b301
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo.tape
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ Set Width 800
Set Height 600
Set Padding 20

Type `echo '{"q":"select 1"}' > data.jsonl` Sleep 100ms Enter
Type `echo '{"q":"select 2"}' >> data.jsonl` Sleep 100ms Enter
Type `echo '{"q":"select 3"}' >> data.jsonl` Sleep 100ms Enter
Type "jq -c . data.jsonl" Sleep 500ms Enter

Sleep 2s

Type "qube -d 'root@tcp(127.0.0.1:13306)/' -t 3s -n 3 -r 100 -f data.jsonl --noop | jq -C | head -n 25" Sleep 500ms Enter
Type "qube -d 'root@tcp(127.0.0.1:13306)/' -t 3s -n 3 -r 100 -f data.jsonl --noop -C | head -n 25" Sleep 500ms Enter

Sleep 5s

Type "qube -d 'root@tcp(127.0.0.1:13306)/' -t 10s -n 3 -r 100 -f data.jsonl | jq -C | head -n 25" Sleep 500ms Enter
Type "qube -d 'root@tcp(127.0.0.1:13306)/' -t 10s -n 3 -r 100 -f data.jsonl -C | head -n 25" Sleep 500ms Enter

Sleep 12s

Type "qube -d 'root@tcp(127.0.0.1:13306)/' -t 10s -n 10 -r 1000 -f data.jsonl | jq -C | head -n 25" Sleep 500ms Enter
Type "qube -d 'root@tcp(127.0.0.1:13306)/' -t 10s -n 10 -r 1000 -f data.jsonl -C | head -n 25" Sleep 500ms Enter

Sleep 12s

0 comments on commit fa6b301

Please sign in to comment.