Adding figures.

This commit is contained in:
Daniel Lemire 2018-12-19 01:04:13 -05:00
parent bf74d6ef43
commit 61e9b82af2
5 changed files with 24 additions and 7 deletions

View File

@ -10,6 +10,23 @@ Goal: Speed up the parsing of JSON per se.
- A recent C++ compiler (e.g., GNU GCC or LLVM CLANG)
- Bash (for benchmark scripts)
## Some performance results
We present the time (in cycles per input byte) needed to fully parse a JSON file (with error checking) and to collect some statistics about the document (e.g., the number of integers), for some JSON files. For these tests, we use an Intel processor with a Skylake microarchitecture. All results are single-threaded.
apache_builds.json:
![](doc/apache_builds.jsonparseandstat.png)
github_events.json:
![](doc/github_events.jsonparseandstat.png)
twitter.json:
![](doc/twitter.jsonparseandstat.png)
update-center.json:
![](doc/update-center.jsonparseandstat.png)
## Code example
```C

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB