We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c44dcfd commit f17e890Copy full SHA for f17e890
1 file changed
integrationtests/src/test_throughput.cpp
@@ -219,7 +219,11 @@ void test_throughput_rpc100MB() {
219
string payload(payloadSize, 'w');
220
payload = "{\"d\":\"" + payload + "\"}";
221
222
+#if defined(__ANDROID__)
223
+ const size_t targetBytes = 20ULL * 1024 * 1024;
224
+#else
225
const size_t targetBytes = 100ULL * 1024 * 1024;
226
+#endif
227
const int messageCount = static_cast<int>(targetBytes / payload.size());
228
const size_t totalBytesSent = payload.size() * messageCount;
229
const size_t totalBytesRoundTrip = totalBytesSent * 2;
0 commit comments