summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2003-03-22 20:18:05 +0000
committerMarc Laukien <marc@zeroc.com>2003-03-22 20:18:05 +0000
commit2cb282cc18e833da9fa7da818d9182790aaaa5d2 (patch)
tree2ababc222f65ae0747e7d1920ae4eda914af6908 /cpp/demo/Ice/throughput/Client.cpp
parentfixes (diff)
downloadice-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.cpp5
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);