mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-09-14 07:16:17 -04:00
gason benchmark
parent
6e13325711
commit
b41e3efc03
@ -17,3 +17,12 @@ Comparisons
|
|||||||
-----------
|
-----------
|
||||||
* https://blog.thousandeyes.com/efficiency-comparison-c-json-libraries/
|
* https://blog.thousandeyes.com/efficiency-comparison-c-json-libraries/
|
||||||
* JsonCpp is not built for efficiency, but it does pretty well.
|
* JsonCpp is not built for efficiency, but it does pretty well.
|
||||||
|
* If you need speed, instead of **rapidjson**, consider **gason**, which is much simpler and typically faster. E.g. using its own benchmark suite:
|
||||||
|
```
|
||||||
|
Update Parse Speed
|
||||||
|
- - - ../../data/big.json, 6072199 bytes x 10 runs
|
||||||
|
10.33 850.67 68.07 rapidjson normal
|
||||||
|
6.80 777.43 74.49 rapidjson insitu
|
||||||
|
4.52 563.84 102.70 gason
|
||||||
|
```
|
||||||
|
(The first 2 numbers are time. The third is per unit time. So **gason** is quite fast.)
|
Loading…
x
Reference in New Issue
Block a user