MCPcopy Create free account
hub / github.com/acl-dev/acl / simdjson_test

Function simdjson_test

lib_acl_cpp/samples/benchmark/json/main.cpp:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47#ifdef HAS_SIMDJSON
48static 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

Callers 1

mainFunction · 0.85

Calls 2

c_strMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…