Skip to content

Commit c2e4f66

Browse files
committed
Actualize performance testing
1 parent 754bafe commit c2e4f66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/speed_test_async_multi.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
//
22
//
3-
// Copyright (c) 2017 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com)
3+
// Copyright (c) 2017-2019 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com)
44
//
55
// Distributed under the MIT Software License
66
//
77
// mimics performance measurements from
88
// https://github.com/hmartiro/redox/blob/master/examples/speed_test_async_multi.cpp
99
//
10-
// Results (1 thread, Intel Core i7-4800MQ, linux)
10+
// Results (1 thread, Intel Core i7-8550U, void-linux, gcc 8.3.0)
1111
//
1212
// bredis (commands/s) | redox (commands/s)
1313
// -----------------------+-----------------------
14-
// 1.30257e+06 | 1.19214e+06
14+
// 1.59325e+06 | 0.999375+06
1515
//
1616
// Results are not completely fair, because of usage of different semantics in
1717
// APIs; however they are still interesting, as there are used different
@@ -51,7 +51,7 @@ int main(int argc, char **argv) {
5151
using Buffer = boost::asio::streambuf;
5252
using Iterator = typename r::to_iterator<Buffer>::iterator_t;
5353

54-
if (argc < 1) {
54+
if (argc < 2) {
5555
std::cout << "Usage : " << argv[0] << " ip:port \n";
5656
return 1;
5757
}

0 commit comments

Comments
 (0)