MCPcopy Create free account
hub / github.com/boost-ext/ut / main

Function main

example/benchmark.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51} // namespace benchmark
52
53int main() {
54 using namespace boost::ut;
55 using namespace benchmark;
56
57 "string creation"_benchmark = [] {
58 std::string created_string{"hello"};
59 do_not_optimize(created_string);
60 };
61}

Callers

nothing calls this directly

Calls 1

do_not_optimizeFunction · 0.85

Tested by

no test coverage detected