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

Method serialize_string

bench/bench.cpp:908–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906 }
907
908 clock_type::duration
909 serialize_string(file_item const& fi, std::size_t repeat) const override
910 {
911 auto jv = nlohmann::json::parse( fi.text.begin(), fi.text.end() );
912
913 auto const start = clock_type::now();
914 while(repeat--)
915 auto st = jv.dump();
916 return clock_type::now() - start;
917 }
918};
919#endif // BOOST_JSON_HAS_NLOHMANN_JSON
920

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected