Skip to content

Commit

Permalink
fix typo (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuHy authored Jul 2, 2022
1 parent 5d14230 commit ab70389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo_example/async_echo_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async_simple::coro::Lazy<void> start(asio::io_context &io_context,
// handle read data as your wish.
}

std::cout << "Finished send and recieve " << count
std::cout << "Finished send and receive " << count
<< " messages, client will close.\n";
std::error_code ignore_ec;
socket.shutdown(asio::ip::tcp::socket::shutdown_both, ignore_ec);
Expand Down

1 comment on commit ab70389

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++ Benchmark

Benchmark suite Current: ab70389 Previous: 5d14230 Ratio
Future_chain 21472.10826522117 ns/iter 22603.987491905464 ns/iter 0.95
Future_collectAll 12986495.267605726 ns/iter 13210211.959459443 ns/iter 0.98
async_simple_Lazy_chain 23633.551411186214 ns/iter 23469.399548152465 ns/iter 1.01
async_simple_Lazy_collectAll 9144738.29166656 ns/iter 9924868.044117663 ns/iter 0.92
RescheduleLazy_chain 51141.21427959739 ns/iter 47870.890689801134 ns/iter 1.07
RescheduleLazy_collectAll 23329121.090999987 ns/iter 23023846.203999996 ns/iter 1.01
Uthread_switch 103946695.85714462 ns/iter 103395775.42857066 ns/iter 1.01
Uthread_async 103947667.28571524 ns/iter 103913969.00000213 ns/iter 1.00
Uthread_await 103381675.57142697 ns/iter 104533462.1428578 ns/iter 0.99
Uthread_collectAll 11198340.828125097 ns/iter 11163707.671874689 ns/iter 1.00
ThreadPool_noWorkSteal 644776359.4999998 ns/iter 914300863.500003 ns/iter 0.71
ThreadPool_withWorkSteal 71926337.33333291 ns/iter 86323164.63636222 ns/iter 0.83

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.