Skip to content

Commit a75ef43

Browse files
committed
Refreshing.
1 parent e77c212 commit a75ef43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

benchmark/minifiercompetition.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ int main(int argc, char *argv[]) {
138138
printf("failed to allocate memory\n");
139139
return EXIT_FAILURE;
140140
}
141-
BEST_TIME("json_parse orig", json_parse((const u8*)buffer, p.size(), pj), true, memcpy(buffer, p.data(), p.size()), repeat, volume, !justdata);
141+
BEST_TIME("simdjson orig", json_parse((const u8*)buffer, p.size(), pj), true, memcpy(buffer, p.data(), p.size()), repeat, volume, !justdata);
142142

143143
ParsedJson pj2;
144144
bool isallocok2 = pj2.allocateCapacity(p.size(), 1024);
@@ -147,7 +147,7 @@ int main(int argc, char *argv[]) {
147147
return EXIT_FAILURE;
148148
}
149149

150-
BEST_TIME("json_parse despaced", json_parse((const u8*)buffer, minisize, pj2), true, memcpy(buffer, minibuffer, p.size()), repeat, volume, !justdata);
150+
BEST_TIME("simdjson despaced", json_parse((const u8*)buffer, minisize, pj2), true, memcpy(buffer, minibuffer, p.size()), repeat, volume, !justdata);
151151
free((void*)p.data());
152152
free(buffer);
153153
free(ast_buffer);

0 commit comments

Comments
 (0)