| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected