WebCFace 2.9.0
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>
Functions | |
static void | DoSetup (const benchmark::State &) |
static void | DoTeardown (const benchmark::State &) |
static void | LatencyLongText (benchmark::State &state) |
BENCHMARK (LatencyLongText) -> RangeMultiplier(16) ->Range(1, 1048576) ->Setup(DoSetup) ->Teardown(DoTeardown) | |
Variables | |
static std::unique_ptr< webcface::server::Server > | server |
static std::unique_ptr< webcface::Client > | wcli1 |
static std::unique_ptr< webcface::Client > | wcli2 |
static std::unique_ptr< std::thread > | sync_thread |
static std::atomic< int > | recv_c |
static unsigned char | c = ' ' |
BENCHMARK | ( | LatencyLongText | ) | -> RangeMultiplier(16) ->Range(1, 1048576) ->Setup(DoSetup) ->Teardown(DoTeardown) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |