| 571 | {} |
| 572 | |
| 573 | clock_type::duration |
| 574 | parse_string(file_item const& fi, std::size_t repeat) const override |
| 575 | { |
| 576 | auto const start = clock_type::now(); |
| 577 | null_parser p( get_parse_options() ); |
| 578 | while(repeat--) |
| 579 | { |
| 580 | p.reset(); |
| 581 | system::error_code ec; |
| 582 | p.write(fi.text.data(), fi.text.size(), ec); |
| 583 | if( ec.failed() ) |
| 584 | throw system::system_error( ec ); |
| 585 | } |
| 586 | return clock_type::now() - start; |
| 587 | } |
| 588 | |
| 589 | clock_type::duration |
| 590 | parse_file(file_item const& fi, std::size_t repeat) const override |
nothing calls this directly
no test coverage detected