| 706 | {} |
| 707 | |
| 708 | clock_type::duration |
| 709 | parse_string(file_item const& fi, std::size_t repeat) const override |
| 710 | { |
| 711 | std::istringstream is(fi.text); |
| 712 | is.exceptions(std::ios::failbit); |
| 713 | |
| 714 | auto const start = clock_type::now(); |
| 715 | while(repeat--) |
| 716 | { |
| 717 | monotonic_resource mr; |
| 718 | storage_ptr sp; |
| 719 | if( is_pool_ ) |
| 720 | sp = &mr; |
| 721 | |
| 722 | value jv( std::move(sp) ); |
| 723 | is.seekg(0); |
| 724 | is >> get_parse_options() >> jv; |
| 725 | } |
| 726 | return clock_type::now() - start; |
| 727 | } |
| 728 | |
| 729 | clock_type::duration |
| 730 | parse_file(file_item const& fi, std::size_t repeat) const override |
nothing calls this directly
no outgoing calls
no test coverage detected