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

Method parse_string

bench/bench.cpp:644–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642 {}
643
644 clock_type::duration
645 parse_string(file_item const& fi, std::size_t repeat) const override
646 {
647 auto const start = clock_type::now();
648 while(repeat--)
649 {
650 monotonic_resource mr;
651 storage_ptr sp;
652 if( is_pool_ )
653 sp = &mr;
654
655 auto jv = json::parse(
656 fi.text, std::move(sp), get_parse_options() );
657 (void)jv;
658 }
659 return clock_type::now() - start;
660 }
661
662 clock_type::duration
663 parse_file(file_item const& fi, std::size_t repeat) const override

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected