| 628 | } |
| 629 | |
| 630 | clock_type::duration |
| 631 | serialize(file_item const& fi, std::size_t repeat) const override |
| 632 | { |
| 633 | monotonic_resource mr; |
| 634 | storage_ptr sp; |
| 635 | if(is_pool_) |
| 636 | sp = &mr; |
| 637 | auto jv = boost::json::parse( fi.text, std::move(sp) ); |
| 638 | auto data = construct_data(fi.index, jv); |
| 639 | |
| 640 | auto const start = clock_type::now(); |
| 641 | std::string out; |
| 642 | while(repeat--) |
| 643 | { |
| 644 | mpl::mp_with_index<supported_file_count>( |
| 645 | fi.index, convert_to_value{data, jv}); |
| 646 | out = boost::json::serialize(jv); |
| 647 | } |
| 648 | return clock_type::now() - start; |
| 649 | } |
| 650 | }; |
| 651 | |
| 652 | class boost_operator_impl : public base_boost_impl |
nothing calls this directly
no test coverage detected