|
WebCFace 3.3.1
Web-based Communication Framework & Dashboard-like UI
|
#include <benchmark/benchmark.h>#include <webcface/client.h>#include <webcface/text.h>#include <webcface/server/server.h>#include <atomic>#include <iostream>#include <memory>Namespaces | |
| namespace | BM_LatencyLongText |
Functions | |
| void | DoSetup (const benchmark::State &) |
| void | DoTeardown (const benchmark::State &) |
| void | LatencyLongText (benchmark::State &state) |
| BENCHMARK (LatencyLongText) -> RangeMultiplier(16) ->Range(1, 1048576) ->Setup(BM_LatencyLongText::DoSetup) ->Teardown(BM_LatencyLongText::DoTeardown) | |
Variables | |
| std::unique_ptr< webcface::server::Server > | server |
| std::unique_ptr< webcface::Client > | wcli1 |
| std::unique_ptr< webcface::Client > | wcli2 |
| std::unique_ptr< std::thread > | sync_thread |
| std::atomic< int > | recv_c |
| unsigned char | c = ' ' |
| BENCHMARK | ( | LatencyLongText | ) | -> RangeMultiplier(16) ->Range(1, 1048576) ->Setup(BM_LatencyLongText::DoSetup) ->Teardown(BM_LatencyLongText::DoTeardown) |
| void LatencyLongText | ( | benchmark::State & | state | ) |