MCPcopy Create free account
hub / github.com/boostorg/json / bench

Method bench

bench/bench-conv.cpp:275–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 virtual ~any_impl() = default;
274
275 clock_type::duration
276 bench(string_view verb, file_item const& fi, std::size_t repeat) const
277 {
278 if( fi.index < 0 )
279 return skip();
280
281 if(verb == "Parse")
282 return parse(fi, repeat);
283
284 BOOST_ASSERT(verb == "Serialize");
285 return serialize(fi, repeat);
286 }
287
288 string_view
289 name() const noexcept

Callers 1

do_testFunction · 0.45

Calls 1

serializeFunction · 0.85

Tested by

no test coverage detected