Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Concurrency is not an option for the single-process, single-thread

version.  Scale down the sample run numbers.
  • Loading branch information...
commit 64113365f432c1d19ddcc9407749596d5f03bb6d 1 parent 2ed5232
@rcaputo authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  echo-poe+mp.pl
  2. +2 −2 echo-poe.pl
View
2  echo-poe+mp.pl
@@ -5,7 +5,7 @@
use strict;
# perl echo-poe.pl
-#./echobench -p 9010 -a 100 -c 100 -h 127.0.0.1 -n 100000
+#./echobench -p 9010 -a 100 -c 100 -h 127.0.0.1 -n 10000
# POE::XS::Queue::Array is automatically loaded if it's installed.
View
4 echo-poe.pl
@@ -8,7 +8,7 @@
# rm -rf nytprof nytprof.out ; perl -d:NYTProf echo-poe.pl ; nytprofhtml
#
# Client:
-#./echobench -p 9010 -a 100 -c 100 -h 127.0.0.1 -n 100000
+#./echobench -p 9010 -a 100 -c 100 -h 127.0.0.1 -n 10000
# POE::XS::Queue::Array is automatically loaded if it's installed.
@@ -23,9 +23,9 @@
my $port = 9010;
my $concurrent = 1;
+# Concurrent isn't an option.
GetOptions(
'port=i' => \$port,
- 'concurrent=i' => \$concurrent,
);
POE::Session->create(
Please sign in to comment.
Something went wrong with that request. Please try again.