Sha256: 6d1553883a0eac87c8cf8394e29cf65cfac9061af06315db7f2171ea5cb7e1da
Contents?: true
Size: 390 Bytes
Versions: 28
Compression:
Stored size: 390 Bytes
Contents
# encoding: utf-8 ctx = ZMQ::Context.new pair = ctx.socket(:PAIR) sleep 2 pair.connect($runner.endpoint) messages, start_time = 0, nil while (case $runner.encoding when :string pair.recv when :frame pair.recv_frame when :message pair.recv_message end) do start_time ||= Time.now messages += 1 break if messages == $runner.msg_count end $runner.stats(start_time)
Version data entries
28 entries across 28 versions & 1 rubygems