Skip to content

Commit 3e56be3

Browse files
authored
chore: fix benchmark (#78)
1 parent 201249c commit 3e56be3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/bench_command.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ def bench_get
4040
end
4141
end
4242

43+
def bench_pipeline_ping
44+
assert_performance_linear do |n|
45+
@client.pipelined do |pi|
46+
n.times do
47+
pi.call('PING')
48+
end
49+
end
50+
end
51+
end
52+
4353
def bench_pipeline_set
4454
assert_performance_linear do |n|
4555
@client.pipelined do |pi|

0 commit comments

Comments
 (0)