summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorygorshenin@chromium.org <ygorshenin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 13:41:49 +0000
committerygorshenin@chromium.org <ygorshenin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-27 13:41:49 +0000
commit3b2528815c7a4a2e6ad7f31e43cacc7ac7b920bc (patch)
tree5e37dd861e1d411d161517dcfece44c71e3f6adb
parent63e8b66b4c29b76d89df4d8c84b3c29f527d0ebb (diff)
downloadchromium_src-3b2528815c7a4a2e6ad7f31e43cacc7ac7b920bc.zip
chromium_src-3b2528815c7a4a2e6ad7f31e43cacc7ac7b920bc.tar.gz
chromium_src-3b2528815c7a4a2e6ad7f31e43cacc7ac7b920bc.tar.bz2
Fixed message size and number of iterations.
BUG=154338 TBR=yzshen@chromium.org Review URL: https://codereview.chromium.org/12328139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184946 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/tests/test_udp_socket_private.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/tests/test_udp_socket_private.cc b/ppapi/tests/test_udp_socket_private.cc
index b91f1a9..8168440 100644
--- a/ppapi/tests/test_udp_socket_private.cc
+++ b/ppapi/tests/test_udp_socket_private.cc
@@ -22,11 +22,11 @@ const uint16_t kPortScanTo = 4096;
const size_t kEnglishAlphabetSize = 'z' - 'a' + 1;
-// 4K datagrams for sendto/recvfrom benchmarks.
-const size_t kBenchmarkMessageSize = 1u << 12;
+// 1K datagrams for sendto/recvfrom benchmarks.
+const size_t kBenchmarkMessageSize = 1u << 10;
// Maximum number of datagrams for sendto/recvfrom benchmarks.
-const size_t kBenchmarkMaxNumMessages = 1u << 12;
+const size_t kBenchmarkMaxNumMessages = 1u << 10;
// Assuming that system buffer size for UDP sockets is at least 32K.
const size_t kUDPBufferSize = 32768;