Skip to content

Commit 51a1bc6

Browse files
updates for simdjson & c-json-parser
1 parent fd39bcd commit 51a1bc6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323

2424
## Speed comparison
2525

26-
| Metric | simdjson | c-json-parser(*) | c-json-parser | c-json-parser | json-c |
27-
| :---------------------------------------| ------------------: | ------------------: | ------------------: | ------------------: | ------------------: |
28-
| execution time (100K run) | 00:00:00.393 | 00:00:00.180 | 00:00:00.225 | 00:00:01.182 | 00:00:04.093 |
29-
| execution time (1M runs) | 00:00:03.959 | 00:00:00.891 | 00:00:00.895 | 00:00:11.838 | 00:00:42.702 |
30-
| allocation calls (100K runs) | - | 0 | 0 | 20,000,000 | 52,900,000 |
31-
| allocation calls (1M runs) | - | 0 | 0 | 200,000,000 | 529,000,000 |
32-
| total heap usage (100K runs) | - | 0 | 0 | 806,400,000 | 4,179,600,000 |
33-
| total heap usage (1M runs) | - | 0 | 0 | 8,064,000,000 | 41,796,000,000 |
26+
| Metric | simdjson | c-json-parser(*) | c-json-parser | json-c |
27+
| :---------------------------------------| ------------------: | ------------------: | ------------------: | ------------------: |
28+
| execution time (100K run) | 00:00:00.476 | 00:00:00.179 | 00:00:00.236 | 00:00:04.093 |
29+
| execution time (1M runs) | 00:00:04.798 | 00:00:00.930 | 00:00:00.945 | 00:00:42.702 |
30+
| allocation calls (100K runs) | - | 0 | 0 | 52,900,000 |
31+
| allocation calls (1M runs) | - | 0 | 0 | 529,000,000 |
32+
| total heap usage (100K runs) | - | 0 | 0 | 4,179,600,000 |
33+
| total heap usage (1M runs) | - | 0 | 0 | 41,796,000,000 |
3434

3535
(*) - version without string literal validation (`./perf.sh perf-c-json-parser-no-string-validation`)
3636

0 commit comments

Comments
 (0)