diff options
author | Marc Laukien <marc@zeroc.com> | 2003-03-22 20:18:05 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-03-22 20:18:05 +0000 |
commit | 2cb282cc18e833da9fa7da818d9182790aaaa5d2 (patch) | |
tree | 2ababc222f65ae0747e7d1920ae4eda914af6908 /cpp/demo/Ice/throughput/Client.cpp | |
parent | fixes (diff) | |
download | ice-2cb282cc18e833da9fa7da818d9182790aaaa5d2.tar.bz2 ice-2cb282cc18e833da9fa7da818d9182790aaaa5d2.tar.xz ice-2cb282cc18e833da9fa7da818d9182790aaaa5d2.zip |
some perf improvements
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/throughput/Client.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp index 004b290464f..674314eb1d3 100644 --- a/cpp/demo/Ice/throughput/Client.cpp +++ b/cpp/demo/Ice/throughput/Client.cpp @@ -43,11 +43,10 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) IceUtil::Time tsec = IceUtil::Time::now(); const int repetitions = 100; - const int size = 500000; - cout << "sending and receiving " << repetitions << " sequences of size " << size + cout << "sending and receiving " << repetitions << " sequences of size " << seqSize << " (this may take a while)" << endl; - ByteSeq seq(size, 0); + ByteSeq seq(seqSize, 0); for(int i = 0; i < repetitions; ++i) { throughput->echoByteSeq(seq); |