| 46 | |
| 47 | #ifdef HAS_SIMDJSON |
| 48 | static int simdjson_test(const acl::string& in, int count) { |
| 49 | int i; |
| 50 | |
| 51 | std::string data =in.c_str(); |
| 52 | for (i = 0; i < count; i++) { |
| 53 | simdjson::dom::parser parser; |
| 54 | parser.parse(data); |
| 55 | } |
| 56 | |
| 57 | return i; |
| 58 | } |
| 59 | #endif |
| 60 | |
| 61 |