You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,12 @@ A C++ library to see how fast we can parse JSON with complete validation.
4
4
5
5
Goal: Speed up the parsing of JSON per se.
6
6
7
+
## Requirements
8
+
9
+
- Linux or macOS (currently)
10
+
- A recent C++ compiler (e.g., GNU GCC or LLVM CLANG)
11
+
- Bash (for benchmark scripts)
12
+
7
13
## Code example
8
14
9
15
```C
@@ -63,15 +69,11 @@ make parse
63
69
Under Linux, the `parse` command gives a detailed analysis of the performance counters.
64
70
65
71
To run comparative benchmarks (with other parsers):
72
+
66
73
```
67
-
make parsingcompetition
68
-
./parsingcompetition jsonexamples/twitter.json
74
+
make benchmark
69
75
```
70
76
71
-
There is also a useful bash script to run `parsingcompetition` on several files at once: invoke `./scripts/parser.sh`.
72
-
73
-
74
-
You can also benchmark the parsing and computation of content statistics over different JSON files using `parseandstatcompetition` as well as the script `./scripts/parseandstat.sh`.
0 commit comments