|
23 | 23 | #pragma once |
24 | 24 |
|
25 | 25 | #include "jsonifier.hpp" |
| 26 | +#include "simdjson.hpp" |
26 | 27 | #include "glaze.hpp" |
27 | 28 |
|
28 | 29 | namespace tests { |
@@ -605,7 +606,7 @@ namespace tests { |
605 | 606 | return r; |
606 | 607 | } |
607 | 608 | }; |
608 | | - /* |
| 609 | + |
609 | 610 | template<pod_type test_data_type, bool minified, size_t iterations, const bnch_swt::string_literal test_name_new> |
610 | 611 | struct json_test_helper<json_library::simdjson, test_type::parse_and_serialize, test_data_type, minified, iterations, test_name_new> { |
611 | 612 | JSONIFIER_INLINE static auto run(const test_data_type& test_data_new) { |
@@ -776,7 +777,7 @@ namespace tests { |
776 | 777 | return r; |
777 | 778 | } |
778 | 779 | }; |
779 | | - */ |
| 780 | + |
780 | 781 | #if JSONIFIER_PLATFORM_MAC |
781 | 782 | constexpr bnch_swt::string_literal table_header = bnch_swt::string_literal{ |
782 | 783 | R"( |
@@ -868,7 +869,7 @@ In contrast, hash-based solutions offer a viable alternative by circumventing th |
868 | 869 | results_data glaze_results{}; |
869 | 870 |
|
870 | 871 | #if !defined(ASAN_ENABLED) |
871 | | - //simdjson_results = json_test_helper<json_library::simdjson, type, test_data_type, minified, iterations, test_name>::run(json_data_new); |
| 872 | + simdjson_results = json_test_helper<json_library::simdjson, type, test_data_type, minified, iterations, test_name>::run(json_data_new); |
872 | 873 | if constexpr (!std::is_same_v<test_data_type, partial_test<partial_test_struct>> && !std::is_same_v<test_data_type, twitter_partial_message>) { |
873 | 874 | glaze_results = json_test_helper<json_library::glaze, type, test_data_type, minified, iterations, test_name>::run(json_data_new); |
874 | 875 | json_results.results.emplace_back(glaze_results); |
@@ -934,7 +935,7 @@ In contrast, hash-based solutions offer a viable alternative by circumventing th |
934 | 935 | results_data simdjson_results{}; |
935 | 936 | results_data glaze_results{}; |
936 | 937 | #if !defined(ASAN_ENABLED) |
937 | | - //simdjson_results = json_test_helper<json_library::simdjson, test_type::minify, std::string, false, iterations, test_name>::run(json_data_new); |
| 938 | + simdjson_results = json_test_helper<json_library::simdjson, test_type::minify, std::string, false, iterations, test_name>::run(json_data_new); |
938 | 939 | glaze_results = json_test_helper<json_library::glaze, test_type::minify, std::string, false, iterations, test_name>::run(json_data_new); |
939 | 940 | #endif |
940 | 941 | jsonifier_results = json_test_helper<json_library::jsonifier, test_type::minify, std::string, false, iterations, test_name>::run(json_data_new); |
|
0 commit comments