diff --git a/benchmark/minifiercompetition.cpp b/benchmark/minifiercompetition.cpp index 8cefe74a..589c2403 100644 --- a/benchmark/minifiercompetition.cpp +++ b/benchmark/minifiercompetition.cpp @@ -138,7 +138,7 @@ int main(int argc, char *argv[]) { printf("failed to allocate memory\n"); return EXIT_FAILURE; } - BEST_TIME("json_parse orig", json_parse((const u8*)buffer, p.size(), pj), true, memcpy(buffer, p.data(), p.size()), repeat, volume, !justdata); + BEST_TIME("simdjson orig", json_parse((const u8*)buffer, p.size(), pj), true, memcpy(buffer, p.data(), p.size()), repeat, volume, !justdata); ParsedJson pj2; bool isallocok2 = pj2.allocateCapacity(p.size(), 1024); @@ -147,7 +147,7 @@ int main(int argc, char *argv[]) { return EXIT_FAILURE; } - BEST_TIME("json_parse despaced", json_parse((const u8*)buffer, minisize, pj2), true, memcpy(buffer, minibuffer, p.size()), repeat, volume, !justdata); + BEST_TIME("simdjson despaced", json_parse((const u8*)buffer, minisize, pj2), true, memcpy(buffer, minibuffer, p.size()), repeat, volume, !justdata); free((void*)p.data()); free(buffer); free(ast_buffer);