Skip to content

Commit

Permalink
Update perf tests for 2.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbuchanan committed Jun 5, 2010
1 parent d11835f commit cb96877
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion perf/local_lat.rb
Expand Up @@ -27,7 +27,7 @@
message_size = ARGV[1].to_i
roundtrip_count = ARGV[2].to_i

ctx = ZMQ::Context.new(1, 1, 0)
ctx = ZMQ::Context.new(1)
s = ctx.socket(ZMQ::REP);
s.setsockopt(ZMQ::HWM, 100);
s.bind(bind_to);
Expand Down
2 changes: 1 addition & 1 deletion perf/local_thr.rb
Expand Up @@ -27,7 +27,7 @@
message_size = ARGV[1].to_i
message_count = ARGV[2].to_i

ctx = ZMQ::Context.new(1, 1, 0)
ctx = ZMQ::Context.new(1)
s = ctx.socket(ZMQ::SUB);
s.setsockopt(ZMQ::SUBSCRIBE, "");

Expand Down
2 changes: 1 addition & 1 deletion perf/remote_lat.rb
Expand Up @@ -27,7 +27,7 @@
message_size = ARGV[1].to_i
roundtrip_count = ARGV[2].to_i

ctx = ZMQ::Context.new(1, 1, 0)
ctx = ZMQ::Context.new(1)
s = ctx.socket(ZMQ::REQ);
s.connect(connect_to);

Expand Down
2 changes: 1 addition & 1 deletion perf/remote_thr.rb
Expand Up @@ -27,7 +27,7 @@
message_size = ARGV[1].to_i
message_count = ARGV[2].to_i

ctx = ZMQ::Context.new(1, 1, 0)
ctx = ZMQ::Context.new(1)
s = ctx.socket(ZMQ::PUB);

# Add your socket options here.
Expand Down

0 comments on commit cb96877

Please sign in to comment.