WebCFace 2.9.0
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
sync-text.cc File Reference
#include <benchmark/benchmark.h>
#include <webcface/client.h>
#include <webcface/text.h>
#include <webcface/server/server.h>
#include <iostream>
Include dependency graph for sync-text.cc:

Namespaces

namespace  BM_SyncLongText
 

Functions

void DoSetup (const benchmark::State &)
 
void DoTeardown (const benchmark::State &)
 
void SyncLongText (benchmark::State &state)
 
 BENCHMARK (SyncLongText) -> RangeMultiplier(16) ->Range(1, 1048576) ->Setup(BM_SyncLongText::DoSetup) ->Teardown(BM_SyncLongText::DoTeardown)
 

Variables

std::unique_ptr< webcface::Clientwcli1
 
unsigned char c = ' '
 

Function Documentation

◆ BENCHMARK()

BENCHMARK ( SyncLongText  ) -> RangeMultiplier(16) ->Range(1, 1048576) ->Setup(BM_SyncLongText::DoSetup) ->Teardown(BM_SyncLongText::DoTeardown)

◆ SyncLongText()

void SyncLongText ( benchmark::State &  state)