summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2005-02-24 17:46:53 +0000
committerMarc Laukien <marc@zeroc.com>2005-02-24 17:46:53 +0000
commit4127c2d7a8c621b8809f3154084bf2aeb104932d (patch)
tree2c7145fff34e940508d496b50412b7445c157480 /cpp/demo/Ice/throughput/Client.cpp
parentvarious performance improvements (diff)
downloadice-4127c2d7a8c621b8809f3154084bf2aeb104932d.tar.bz2
ice-4127c2d7a8c621b8809f3154084bf2aeb104932d.tar.xz
ice-4127c2d7a8c621b8809f3154084bf2aeb104932d.zip
other fixes
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r--cpp/demo/Ice/throughput/Client.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp
index cdb0717e4d8..da68f5d46e6 100644
--- a/cpp/demo/Ice/throughput/Client.cpp
+++ b/cpp/demo/Ice/throughput/Client.cpp
@@ -18,15 +18,19 @@ menu()
{
cout <<
"usage:\n"
- "toggle type of data to send\n"
- " 1: sequence of bytes (default)\n"
- " 2: sequence of strings (\"hello\")\n"
- " 3: sequence of structs with a string (\"hello\") and a double\n"
- "select test to run\n"
- " t: send sequence as twoway\n"
- " o: send sequence as oneway\n"
- " r: receive sequence\n"
- " e: echo (send and receive) sequence\n"
+ "\n"
+ "toggle type of data to send:\n"
+ "1: sequence of bytes (default)\n"
+ "2: sequence of strings (\"hello\")\n"
+ "3: sequence of structs with a string (\"hello\") and a double\n"
+ "\n"
+ "select test to run:\n"
+ "t: Send sequence as twoway\n"
+ "o: Send sequence as oneway\n"
+ "r: Receive sequence\n"
+ "e: Echo (send and receive) sequence\n"
+ "\n"
+ "other commands:\n"
"s: shutdown server\n"
"x: exit\n"
"?: help\n";
@@ -54,7 +58,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
ThroughputPrx throughputOneway = ThroughputPrx::uncheckedCast(throughput->ice_oneway());
int byteSeqSize = 500000;
- int stringSeqSize = 100000;
+ int stringSeqSize = 50000;
int structSeqSize = 50000;
ByteSeq byteSeq(byteSeqSize, 0);