Sha256: cc32885f348a987ec7e6f6ba56d543ca08bd6bc75413b449f099288f4a52ea5c
Contents?: true
Size: 861 Bytes
Versions: 6
Compression:
Stored size: 861 Bytes
Contents
require 'integration_helper' module GameMachine describe "basic" do let(:client) {Client.new(:seed01)} describe "udt" do it "stress with small payload" do measure(10,10000) do Thread.current['bytes'] ||= client_message.to_byte_array Thread.current['s'] ||= Clients::Client.connect_udt result = Clients::Client.send_udt(Thread.current['s'],Thread.current['bytes']) ClientMessage.parse_from(result) end end it "stress with large payload" do measure(10,10000) do Thread.current['bytes'] ||= client_message.to_byte_array Thread.current['s'] ||= Clients::Client.connect_udt result = Clients::Client.send_udt(Thread.current['s'],Thread.current['bytes']) ClientMessage.parse_from(result) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems