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

Method parse_string

bench/bench.cpp:878–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876 {}
877
878 clock_type::duration
879 parse_string(file_item const& fi, std::size_t repeat) const override
880 {
881 auto const start = clock_type::now();
882 while(repeat--)
883 {
884 auto jv = nlohmann::json::parse( fi.text.begin(), fi.text.end() );
885 }
886 return clock_type::now() - start;
887 }
888
889 clock_type::duration
890 parse_file(file_item const& fi, std::size_t repeat) const override

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected