0. Overall
Library | 1. Parse Time (ms) | 1. Parse Memory (byte) | 1. Parse MemoryPeak (byte) | 1. Parse AllocCount | 2. Stringify Time (ms) | 3. Prettify Time (ms) | 4. Statistics Time (ms) | 5. Sax Round-trip Time (ms) | 6. SaxStatistics Time (ms) | 7. Code size FileSize (byte) |
---|
ArduinoJson (C++) | 354 | 11,226,560 | 11,226,560 | 43 | 77 | 202 | 52 | | | 26,388 |
C++ REST SDK (C++11) | 155 | 6,496,176 | 6,496,352 | 496,964 | 97 | | 2 | | | 18,008 |
CAJUN (C++) | 1,280 | 245,387,936 | 532,769,296 | 4,729,004 | 168 | | 4 | | | 84,920 |
ccan/json (C) | 71 | 8,912,816 | 8,912,816 | 279,061 | 87 | 117 | 1 | | | 25,952 |
cJSON (C) | 27 | 11,483,568 | 11,483,568 | 263,589 | 79 | 81 | 1 | | | 26,596 |
Configuru (C++11) | 100 | 12,060,880 | 12,097,472 | 255,065 | 208 | 221 | 1 | | | 130,396 |
dropbox/json11 (C++11) | 114 | 10,715,808 | 16,078,576 | 499,287 | 96 | | 2 | | | 78,844 |
gason (C++11) | 9 | 8,597,600 | 8,597,600 | 866 | 53 | 116 | 1 | | | 20,184 |
hjiang/JSON++ (C++) | 294 | 11,662,768 | 22,201,808 | 604,443 | 400 | | 1 | | | 92,288 |
Jansson (C) | 141 | 10,208,464 | 10,209,136 | 379,444 | 99 | 107 | 2 | | | 68,300 |
jsmn (C) | 420 | 9,621,552 | 9,621,552 | 9 | | | 1 | | | 15,664 |
json-c (C) | 155 | 29,034,448 | 29,038,368 | 571,890 | 39 | 64 | 2 | | | 56,164 |
JsonBox (C++) | 480 | 7,459,056 | 18,747,696 | 1,337,863 | 293 | 265 | 1 | | | 110,728 |
jsoncons (C++) | 111 | 5,595,088 | 11,311,392 | 283,568 | 112 | 107 | 4 | | | 110,388 |
JsonCpp (C++) | 252 | 12,778,672 | 23,485,840 | 724,151 | 132 | | 2 | | | 248,424 |
JVar (C++) | 115 | 4,451,584 | 4,451,664 | 86,382 | 54 | | 1 | | | 84,692 |
Jzon (C++) | 210 | 15,434,384 | 26,084,048 | 761,389 | 47 | 94 | 2 | | | 107,628 |
mikeando/FastJson (C++) | 19 | 8,380,576 | 13,456,864 | 68 | 85 | | 1 | | | 57,980 |
Nlohmann (C++11) | 89 | 6,853,680 | 6,853,696 | 274,401 | 112 | 159 | 4 | | | 41,620 |
Parson (C) | 103 | 7,441,024 | 7,472,400 | 594,122 | 125 | 121 | 3 | | | 42,628 |
PicoJSON (C++) | 173 | 6,801,008 | 7,349,104 | 859,741 | 108 | | 1 | | | 34,160 |
pjson (C) | | | | | | | | | 8 | 14,964 |
POCO (C++) | 306 | 11,981,008 | 17,147,424 | 1,827,580 | 102 | 258 | 3 | 201 | 124 | 27,516 |
RapidJSON (C++) | 12 | 4,808,576 | 5,122,992 | 115 | 21 | 28 | 1 | 31 | 9 | 31,228 |
RapidJSON_AutoUTF (C++) | 23 | 4,808,624 | 5,123,040 | 115 | 31 | 60 | 1 | 53 | 21 | 34,324 |
RapidJSON_FullPrec (C++) | 23 | 4,808,576 | 5,122,992 | 115 | 22 | 27 | 1 | 42 | 21 | 31,228 |
RapidJSON_Insitu (C++) | 11 | 10,797,952 | 11,110,784 | 104 | 22 | 28 | 1 | 31 | 9 | 31,228 |
sajson (C++) | 11 | 25,178,304 | 25,178,304 | 12 | | | 1 | | | 34,560 |
Scheredom json.h (C) | 19 | 11,444,272 | 11,444,272 | 6 | 35 | 44 | 1 | | | 24,680 |
SimpleJSON (C++) | 102 | 9,959,056 | 28,785,792 | 790,672 | 288 | | 1 | | | 57,552 |
strdup (C) | 0 | 6,385,712 | 6,385,712 | 6 | 0 | | | | | 15,560 |
tunnuz/JSON++ (C++) | 375 | 20,019,984 | 53,083,072 | 1,564,363 | 272 | | 141 | | | 72,468 |
udp/json-parser (C) | 53 | 9,581,312 | 9,581,312 | 294,675 | 55 | 61 | 1 | | | 34,580 |
ujson (C++) | 44 | 27,596,032 | 27,596,544 | 190,523 | 39 | 50 | 3 | | | 137,828 |
ujson4c (C) | 10 | 11,419,696 | 29,863,984 | 29 | | | 2 | | | 30,464 |
Vinenthz/libjson (C) | 115 | 6,561,632 | 6,611,600 | 560,910 | 86 | 86 | 1 | 43 | 32 | 25,548 |
YAJL (C) | 119 | 13,454,176 | 13,465,232 | 768,299 | 98 | 124 | 1 | 159 | 61 | 44,124 |
1. Parse
Time
Library | Time (ms) | Speedup |
---|
ArduinoJson (C++) | 354 | 1.00x |
C++ REST SDK (C++11) | 155 | 2.28x |
CAJUN (C++) | 1,280 | 0.28x |
ccan/json (C) | 71 | 4.97x |
cJSON (C) | 27 | 13.17x |
Configuru (C++11) | 100 | 3.54x |
dropbox/json11 (C++11) | 114 | 3.10x |
gason (C++11) | 9 | 40.80x |
hjiang/JSON++ (C++) | 294 | 1.20x |
Jansson (C) | 141 | 2.51x |
jsmn (C) | 420 | 0.84x |
json-c (C) | 155 | 2.28x |
JsonBox (C++) | 480 | 0.74x |
jsoncons (C++) | 111 | 3.18x |
JsonCpp (C++) | 252 | 1.40x |
JVar (C++) | 115 | 3.07x |
Jzon (C++) | 210 | 1.69x |
mikeando/FastJson (C++) | 19 | 18.18x |
Nlohmann (C++11) | 89 | 3.99x |
Parson (C) | 103 | 3.44x |
PicoJSON (C++) | 173 | 2.05x |
POCO (C++) | 306 | 1.16x |
RapidJSON (C++) | 12 | 30.69x |
RapidJSON_AutoUTF (C++) | 23 | 15.56x |
RapidJSON_FullPrec (C++) | 23 | 15.54x |
RapidJSON_Insitu (C++) | 11 | 31.85x |
sajson (C++) | 11 | 32.60x |
Scheredom json.h (C) | 19 | 18.99x |
SimpleJSON (C++) | 102 | 3.46x |
strdup (C) | 0 | 1,330.44x |
tunnuz/JSON++ (C++) | 375 | 0.94x |
udp/json-parser (C) | 53 | 6.64x |
ujson (C++) | 44 | 8.11x |
ujson4c (C) | 10 | 33.99x |
Vinenthz/libjson (C) | 115 | 3.08x |
YAJL (C) | 119 | 2.98x |
Library | Time (ms) |
---|
ArduinoJson (C++) | 353.89700000000005 |
C++ REST SDK (C++11) | 155.35500000000002 |
CAJUN (C++) | 1280.44 |
ccan/json (C) | 71.189 |
cJSON (C) | 26.869 |
Configuru (C++11) | 100.069 |
dropbox/json11 (C++11) | 114.121 |
gason (C++11) | 8.675 |
hjiang/JSON++ (C++) | 294.088 |
Jansson (C) | 141.01000000000002 |
jsmn (C) | 420.097 |
json-c (C) | 155.261 |
JsonBox (C++) | 479.96099999999996 |
jsoncons (C++) | 111.357 |
JsonCpp (C++) | 252.321 |
JVar (C++) | 115.326 |
Jzon (C++) | 209.563 |
mikeando/FastJson (C++) | 19.471000000000004 |
Nlohmann (C++11) | 88.713 |
Parson (C) | 102.729 |
PicoJSON (C++) | 172.64100000000002 |
POCO (C++) | 306.173 |
RapidJSON (C++) | 11.53 |
RapidJSON_AutoUTF (C++) | 22.751 |
RapidJSON_FullPrec (C++) | 22.78 |
RapidJSON_Insitu (C++) | 11.112 |
sajson (C++) | 10.856 |
Scheredom json.h (C) | 18.638 |
SimpleJSON (C++) | 102.372 |
strdup (C) | 0.266 |
tunnuz/JSON++ (C++) | 375.034 |
udp/json-parser (C) | 53.336000000000006 |
ujson (C++) | 43.638 |
ujson4c (C) | 10.411000000000001 |
Vinenthz/libjson (C) | 115.082 |
YAJL (C) | 118.639 |
1. Parse
Filename | ArduinoJson (C++) | C++ REST SDK (C++11) | CAJUN (C++) | Configuru (C++11) | JVar (C++) | Jansson (C) | JsonBox (C++) | JsonCpp (C++) | Jzon (C++) | Nlohmann (C++11) | POCO (C++) | Parson (C) | PicoJSON (C++) | RapidJSON (C++) | RapidJSON_AutoUTF (C++) | RapidJSON_FullPrec (C++) | RapidJSON_Insitu (C++) | Scheredom json.h (C) | SimpleJSON (C++) | Vinenthz/libjson (C) | YAJL (C) | cJSON (C) | ccan/json (C) | dropbox/json11 (C++11) | gason (C++11) | hjiang/JSON++ (C++) | jsmn (C) | json-c (C) | jsoncons (C++) | mikeando/FastJson (C++) | sajson (C++) | strdup (C) | tunnuz/JSON++ (C++) | udp/json-parser (C) | ujson (C++) | ujson4c (C) |
---|
canada.json | 349.37 | 130.96 | 1068.123 | 72.57 | 90.761 | 100.769 | 360.03 | 224.865 | 144.898 | 67.833 | 223.103 | 76.564 | 123.258 | 7.54 | 11.368 | 18.577 | 7.806 | 11.147 | 42.32 | 81.71 | 90.182 | 16.994 | 58.831 | 86.059 | 5.693 | 230.739 | 400.581 | 127.256 | 97.621 | 12.144 | 7.114 | 0.14 | 238.08 | 31.946 | 29.32 | 6.761 |
citm_catalog.json | 2.528 | 16.75 | 152.883 | 20.37 | 16.82 | 26.43 | 82.844 | 16.797 | 42.968 | 12.196 | 57.134 | 17.658 | 34.672 | 2.48 | 6.551 | 2.706 | 2.198 | 4.982 | 35.891 | 23.322 | 20.412 | 6.099 | 7.514 | 16.11 | 2.025 | 45.38 | 14.852 | 19.582 | 9.108 | 4.791 | 2.752 | 0.093 | 88.372 | 14.897 | 9.138 | 2.392 |
twitter.json | 1.999 | 7.645 | 59.434 | 7.129 | 7.745 | 13.811 | 37.087 | 10.659 | 21.697 | 8.684 | 25.936 | 8.507 | 14.711 | 1.51 | 4.832 | 1.497 | 1.108 | 2.509 | 24.161 | 10.05 | 8.045 | 3.776 | 4.844 | 11.952 | 0.957 | 17.969 | 4.664 | 8.423 | 4.628 | 2.536 | 0.99 | 0.033 | 48.582 | 6.493 | 5.18 | 1.258 |
ujson4c (C)
Memory (byte)
Library | Memory (byte) | Ratio |
---|
ArduinoJson (C++) | 11,226,560 | 1.00x |
C++ REST SDK (C++11) | 6,496,176 | 0.58x |
CAJUN (C++) | 245,387,936 | 21.86x |
ccan/json (C) | 8,912,816 | 0.79x |
cJSON (C) | 11,483,568 | 1.02x |
Configuru (C++11) | 12,060,880 | 1.07x |
dropbox/json11 (C++11) | 10,715,808 | 0.95x |
gason (C++11) | 8,597,600 | 0.77x |
hjiang/JSON++ (C++) | 11,662,768 | 1.04x |
Jansson (C) | 10,208,464 | 0.91x |
jsmn (C) | 9,621,552 | 0.86x |
json-c (C) | 29,034,448 | 2.59x |
JsonBox (C++) | 7,459,056 | 0.66x |
jsoncons (C++) | 5,595,088 | 0.50x |
JsonCpp (C++) | 12,778,672 | 1.14x |
JVar (C++) | 4,451,584 | 0.40x |
Jzon (C++) | 15,434,384 | 1.37x |
mikeando/FastJson (C++) | 8,380,576 | 0.75x |
Nlohmann (C++11) | 6,853,680 | 0.61x |
Parson (C) | 7,441,024 | 0.66x |
PicoJSON (C++) | 6,801,008 | 0.61x |
POCO (C++) | 11,981,008 | 1.07x |
RapidJSON (C++) | 4,808,576 | 0.43x |
RapidJSON_AutoUTF (C++) | 4,808,624 | 0.43x |
RapidJSON_FullPrec (C++) | 4,808,576 | 0.43x |
RapidJSON_Insitu (C++) | 10,797,952 | 0.96x |
sajson (C++) | 25,178,304 | 2.24x |
Scheredom json.h (C) | 11,444,272 | 1.02x |
SimpleJSON (C++) | 9,959,056 | 0.89x |
strdup (C) | 6,385,712 | 0.57x |
tunnuz/JSON++ (C++) | 20,019,984 | 1.78x |
udp/json-parser (C) | 9,581,312 | 0.85x |
ujson (C++) | 27,596,032 | 2.46x |
ujson4c (C) | 11,419,696 | 1.02x |
Vinenthz/libjson (C) | 6,561,632 | 0.58x |
YAJL (C) | 13,454,176 | 1.20x |
Library | Memory (byte) |
---|
ArduinoJson (C++) | 11226560 |
C++ REST SDK (C++11) | 6496176 |
CAJUN (C++) | 245387936 |
ccan/json (C) | 8912816 |
cJSON (C) | 11483568 |
Configuru (C++11) | 12060880 |
dropbox/json11 (C++11) | 10715808 |
gason (C++11) | 8597600 |
hjiang/JSON++ (C++) | 11662768 |
Jansson (C) | 10208464 |
jsmn (C) | 9621552 |
json-c (C) | 29034448 |
JsonBox (C++) | 7459056 |
jsoncons (C++) | 5595088 |
JsonCpp (C++) | 12778672 |
JVar (C++) | 4451584 |
Jzon (C++) | 15434384 |
mikeando/FastJson (C++) | 8380576 |
Nlohmann (C++11) | 6853680 |
Parson (C) | 7441024 |
PicoJSON (C++) | 6801008 |
POCO (C++) | 11981008 |
RapidJSON (C++) | 4808576 |
RapidJSON_AutoUTF (C++) | 4808624 |
RapidJSON_FullPrec (C++) | 4808576 |
RapidJSON_Insitu (C++) | 10797952 |
sajson (C++) | 25178304 |
Scheredom json.h (C) | 11444272 |
SimpleJSON (C++) | 9959056 |
strdup (C) | 6385712 |
tunnuz/JSON++ (C++) | 20019984 |
udp/json-parser (C) | 9581312 |
ujson (C++) | 27596032 |
ujson4c (C) | 11419696 |
Vinenthz/libjson (C) | 6561632 |
YAJL (C) | 13454176 |
1. Parse
MemoryPeak (byte)
Library | MemoryPeak (byte) | Ratio |
---|
ArduinoJson (C++) | 11,226,560 | 1.00x |
C++ REST SDK (C++11) | 6,496,352 | 0.58x |
CAJUN (C++) | 532,769,296 | 47.46x |
ccan/json (C) | 8,912,816 | 0.79x |
cJSON (C) | 11,483,568 | 1.02x |
Configuru (C++11) | 12,097,472 | 1.08x |
dropbox/json11 (C++11) | 16,078,576 | 1.43x |
gason (C++11) | 8,597,600 | 0.77x |
hjiang/JSON++ (C++) | 22,201,808 | 1.98x |
Jansson (C) | 10,209,136 | 0.91x |
jsmn (C) | 9,621,552 | 0.86x |
json-c (C) | 29,038,368 | 2.59x |
JsonBox (C++) | 18,747,696 | 1.67x |
jsoncons (C++) | 11,311,392 | 1.01x |
JsonCpp (C++) | 23,485,840 | 2.09x |
JVar (C++) | 4,451,664 | 0.40x |
Jzon (C++) | 26,084,048 | 2.32x |
mikeando/FastJson (C++) | 13,456,864 | 1.20x |
Nlohmann (C++11) | 6,853,696 | 0.61x |
Parson (C) | 7,472,400 | 0.67x |
PicoJSON (C++) | 7,349,104 | 0.65x |
POCO (C++) | 17,147,424 | 1.53x |
RapidJSON (C++) | 5,122,992 | 0.46x |
RapidJSON_AutoUTF (C++) | 5,123,040 | 0.46x |
RapidJSON_FullPrec (C++) | 5,122,992 | 0.46x |
RapidJSON_Insitu (C++) | 11,110,784 | 0.99x |
sajson (C++) | 25,178,304 | 2.24x |
Scheredom json.h (C) | 11,444,272 | 1.02x |
SimpleJSON (C++) | 28,785,792 | 2.56x |
strdup (C) | 6,385,712 | 0.57x |
tunnuz/JSON++ (C++) | 53,083,072 | 4.73x |
udp/json-parser (C) | 9,581,312 | 0.85x |
ujson (C++) | 27,596,544 | 2.46x |
ujson4c (C) | 29,863,984 | 2.66x |
Vinenthz/libjson (C) | 6,611,600 | 0.59x |
YAJL (C) | 13,465,232 | 1.20x |
Library | MemoryPeak (byte) |
---|
ArduinoJson (C++) | 11226560 |
C++ REST SDK (C++11) | 6496352 |
CAJUN (C++) | 532769296 |
ccan/json (C) | 8912816 |
cJSON (C) | 11483568 |
Configuru (C++11) | 12097472 |
dropbox/json11 (C++11) | 16078576 |
gason (C++11) | 8597600 |
hjiang/JSON++ (C++) | 22201808 |
Jansson (C) | 10209136 |
jsmn (C) | 9621552 |
json-c (C) | 29038368 |
JsonBox (C++) | 18747696 |
jsoncons (C++) | 11311392 |
JsonCpp (C++) | 23485840 |
JVar (C++) | 4451664 |
Jzon (C++) | 26084048 |
mikeando/FastJson (C++) | 13456864 |
Nlohmann (C++11) | 6853696 |
Parson (C) | 7472400 |
PicoJSON (C++) | 7349104 |
POCO (C++) | 17147424 |
RapidJSON (C++) | 5122992 |
RapidJSON_AutoUTF (C++) | 5123040 |
RapidJSON_FullPrec (C++) | 5122992 |
RapidJSON_Insitu (C++) | 11110784 |
sajson (C++) | 25178304 |
Scheredom json.h (C) | 11444272 |
SimpleJSON (C++) | 28785792 |
strdup (C) | 6385712 |
tunnuz/JSON++ (C++) | 53083072 |
udp/json-parser (C) | 9581312 |
ujson (C++) | 27596544 |
ujson4c (C) | 29863984 |
Vinenthz/libjson (C) | 6611600 |
YAJL (C) | 13465232 |
1. Parse
AllocCount
Library | AllocCount | Ratio |
---|
ArduinoJson (C++) | 43 | 1.00x |
C++ REST SDK (C++11) | 496,964 | 11,557.30x |
CAJUN (C++) | 4,729,004 | 109,976.84x |
ccan/json (C) | 279,061 | 6,489.79x |
cJSON (C) | 263,589 | 6,129.98x |
Configuru (C++11) | 255,065 | 5,931.74x |
dropbox/json11 (C++11) | 499,287 | 11,611.33x |
gason (C++11) | 866 | 20.14x |
hjiang/JSON++ (C++) | 604,443 | 14,056.81x |
Jansson (C) | 379,444 | 8,824.28x |
jsmn (C) | 9 | 0.21x |
json-c (C) | 571,890 | 13,299.77x |
JsonBox (C++) | 1,337,863 | 31,113.09x |
jsoncons (C++) | 283,568 | 6,594.60x |
JsonCpp (C++) | 724,151 | 16,840.72x |
JVar (C++) | 86,382 | 2,008.88x |
Jzon (C++) | 761,389 | 17,706.72x |
mikeando/FastJson (C++) | 68 | 1.58x |
Nlohmann (C++11) | 274,401 | 6,381.42x |
Parson (C) | 594,122 | 13,816.79x |
PicoJSON (C++) | 859,741 | 19,993.98x |
POCO (C++) | 1,827,580 | 42,501.86x |
RapidJSON (C++) | 115 | 2.67x |
RapidJSON_AutoUTF (C++) | 115 | 2.67x |
RapidJSON_FullPrec (C++) | 115 | 2.67x |
RapidJSON_Insitu (C++) | 104 | 2.42x |
sajson (C++) | 12 | 0.28x |
Scheredom json.h (C) | 6 | 0.14x |
SimpleJSON (C++) | 790,672 | 18,387.72x |
strdup (C) | 6 | 0.14x |
tunnuz/JSON++ (C++) | 1,564,363 | 36,380.53x |
udp/json-parser (C) | 294,675 | 6,852.91x |
ujson (C++) | 190,523 | 4,430.77x |
ujson4c (C) | 29 | 0.67x |
Vinenthz/libjson (C) | 560,910 | 13,044.42x |
YAJL (C) | 768,299 | 17,867.42x |
Library | AllocCount |
---|
ArduinoJson (C++) | 43 |
C++ REST SDK (C++11) | 496964 |
CAJUN (C++) | 4729004 |
ccan/json (C) | 279061 |
cJSON (C) | 263589 |
Configuru (C++11) | 255065 |
dropbox/json11 (C++11) | 499287 |
gason (C++11) | 866 |
hjiang/JSON++ (C++) | 604443 |
Jansson (C) | 379444 |
jsmn (C) | 9 |
json-c (C) | 571890 |
JsonBox (C++) | 1337863 |
jsoncons (C++) | 283568 |
JsonCpp (C++) | 724151 |
JVar (C++) | 86382 |
Jzon (C++) | 761389 |
mikeando/FastJson (C++) | 68 |
Nlohmann (C++11) | 274401 |
Parson (C) | 594122 |
PicoJSON (C++) | 859741 |
POCO (C++) | 1827580 |
RapidJSON (C++) | 115 |
RapidJSON_AutoUTF (C++) | 115 |
RapidJSON_FullPrec (C++) | 115 |
RapidJSON_Insitu (C++) | 104 |
sajson (C++) | 12 |
Scheredom json.h (C) | 6 |
SimpleJSON (C++) | 790672 |
strdup (C) | 6 |
tunnuz/JSON++ (C++) | 1564363 |
udp/json-parser (C) | 294675 |
ujson (C++) | 190523 |
ujson4c (C) | 29 |
Vinenthz/libjson (C) | 560910 |
YAJL (C) | 768299 |
1. Parse
2. Stringify
Time
Library | Time (ms) | Speedup |
---|
ArduinoJson (C++) | 77 | 1.00x |
C++ REST SDK (C++11) | 97 | 0.79x |
CAJUN (C++) | 168 | 0.46x |
ccan/json (C) | 87 | 0.88x |
cJSON (C) | 79 | 0.97x |
Configuru (C++11) | 208 | 0.37x |
dropbox/json11 (C++11) | 96 | 0.80x |
gason (C++11) | 53 | 1.45x |
hjiang/JSON++ (C++) | 400 | 0.19x |
Jansson (C) | 99 | 0.77x |
json-c (C) | 39 | 1.98x |
JsonBox (C++) | 293 | 0.26x |
jsoncons (C++) | 112 | 0.69x |
JsonCpp (C++) | 132 | 0.58x |
JVar (C++) | 54 | 1.42x |
Jzon (C++) | 47 | 1.64x |
mikeando/FastJson (C++) | 85 | 0.90x |
Nlohmann (C++11) | 112 | 0.69x |
Parson (C) | 125 | 0.62x |
PicoJSON (C++) | 108 | 0.71x |
POCO (C++) | 102 | 0.76x |
RapidJSON (C++) | 21 | 3.63x |
RapidJSON_AutoUTF (C++) | 31 | 2.47x |
RapidJSON_FullPrec (C++) | 22 | 3.57x |
RapidJSON_Insitu (C++) | 22 | 3.46x |
Scheredom json.h (C) | 35 | 2.18x |
SimpleJSON (C++) | 288 | 0.27x |
strdup (C) | 0 | 306.63x |
tunnuz/JSON++ (C++) | 272 | 0.28x |
udp/json-parser (C) | 55 | 1.40x |
ujson (C++) | 39 | 1.97x |
Vinenthz/libjson (C) | 86 | 0.90x |
YAJL (C) | 98 | 0.79x |
Library | Time (ms) |
---|
ArduinoJson (C++) | 76.963 |
C++ REST SDK (C++11) | 96.817 |
CAJUN (C++) | 168.24900000000002 |
ccan/json (C) | 87.461 |
cJSON (C) | 79.33000000000001 |
Configuru (C++11) | 207.536 |
dropbox/json11 (C++11) | 95.756 |
gason (C++11) | 53.234 |
hjiang/JSON++ (C++) | 399.748 |
Jansson (C) | 99.494 |
json-c (C) | 38.928 |
JsonBox (C++) | 293.32800000000003 |
jsoncons (C++) | 111.608 |
JsonCpp (C++) | 132.347 |
JVar (C++) | 54.08 |
Jzon (C++) | 47.035 |
mikeando/FastJson (C++) | 85.114 |
Nlohmann (C++11) | 111.66399999999999 |
Parson (C) | 124.998 |
PicoJSON (C++) | 108.26700000000001 |
POCO (C++) | 101.776 |
RapidJSON (C++) | 21.214999999999996 |
RapidJSON_AutoUTF (C++) | 31.139 |
RapidJSON_FullPrec (C++) | 21.559 |
RapidJSON_Insitu (C++) | 22.227000000000004 |
Scheredom json.h (C) | 35.351 |
SimpleJSON (C++) | 287.637 |
strdup (C) | 0.251 |
tunnuz/JSON++ (C++) | 271.554 |
udp/json-parser (C) | 54.95099999999999 |
ujson (C++) | 39.016999999999996 |
Vinenthz/libjson (C) | 85.918 |
YAJL (C) | 97.928 |
2. Stringify
Filename | ArduinoJson (C++) | C++ REST SDK (C++11) | CAJUN (C++) | Configuru (C++11) | JVar (C++) | Jansson (C) | JsonBox (C++) | JsonCpp (C++) | Jzon (C++) | Nlohmann (C++11) | POCO (C++) | Parson (C) | PicoJSON (C++) | RapidJSON (C++) | RapidJSON_AutoUTF (C++) | RapidJSON_FullPrec (C++) | RapidJSON_Insitu (C++) | Scheredom json.h (C) | SimpleJSON (C++) | Vinenthz/libjson (C) | YAJL (C) | cJSON (C) | ccan/json (C) | dropbox/json11 (C++11) | gason (C++11) | hjiang/JSON++ (C++) | json-c (C) | jsoncons (C++) | mikeando/FastJson (C++) | strdup (C) | tunnuz/JSON++ (C++) | udp/json-parser (C) | ujson (C++) |
---|
canada.json | 53.964 | 88.776 | 133.544 | 200.268 | 44.303 | 91.571 | 224.335 | 117.783 | 33.175 | 96.606 | 73.111 | 92.865 | 99.016 | 18.894 | 25.965 | 19.228 | 19.696 | 30.184 | 228.584 | 77.055 | 91.168 | 56.22 | 80.381 | 87.396 | 34.825 | 312.808 | 21.392 | 104.483 | 77.335 | 0.124 | 197.527 | 46.178 | 31.147 |
citm_catalog.json | 11.926 | 4.743 | 17.822 | 5.351 | 7.178 | 5.04 | 39.967 | 8.242 | 8.04 | 9.41 | 14.922 | 19.62 | 5.955 | 1.394 | 2.795 | 1.39 | 1.516 | 4.139 | 40.327 | 4.976 | 4.46 | 14.906 | 4.945 | 4.846 | 11.66 | 61.085 | 11.868 | 4.449 | 5.403 | 0.094 | 48.207 | 7.037 | 5.326 |
twitter.json | 11.073 | 3.298 | 16.883 | 1.917 | 2.599 | 2.883 | 29.026 | 6.322 | 5.82 | 5.648 | 13.743 | 12.513 | 3.296 | 0.927 | 2.379 | 0.941 | 1.015 | 1.028 | 18.726 | 3.887 | 2.3 | 8.204 | 2.135 | 3.514 | 6.749 | 25.855 | 5.668 | 2.676 | 2.376 | 0.033 | 25.82 | 1.736 | 2.544 |
ujson (C++)
3. Prettify
Time
Library | Time (ms) | Speedup |
---|
ArduinoJson (C++) | 202 | 1.00x |
ccan/json (C) | 117 | 1.72x |
cJSON (C) | 81 | 2.51x |
Configuru (C++11) | 221 | 0.91x |
gason (C++11) | 116 | 1.74x |
Jansson (C) | 107 | 1.88x |
json-c (C) | 64 | 3.14x |
JsonBox (C++) | 265 | 0.76x |
jsoncons (C++) | 107 | 1.89x |
Jzon (C++) | 94 | 2.16x |
Nlohmann (C++11) | 159 | 1.27x |
Parson (C) | 121 | 1.67x |
POCO (C++) | 258 | 0.78x |
RapidJSON (C++) | 28 | 7.23x |
RapidJSON_AutoUTF (C++) | 60 | 3.38x |
RapidJSON_FullPrec (C++) | 27 | 7.39x |
RapidJSON_Insitu (C++) | 28 | 7.29x |
Scheredom json.h (C) | 44 | 4.61x |
udp/json-parser (C) | 61 | 3.34x |
ujson (C++) | 50 | 4.03x |
Vinenthz/libjson (C) | 86 | 2.34x |
YAJL (C) | 124 | 1.64x |
Library | Time (ms) |
---|
ArduinoJson (C++) | 202.13500000000002 |
ccan/json (C) | 117.49900000000001 |
cJSON (C) | 80.557 |
Configuru (C++11) | 221.15099999999998 |
gason (C++11) | 116.32500000000002 |
Jansson (C) | 107.425 |
json-c (C) | 64.46199999999999 |
JsonBox (C++) | 264.728 |
jsoncons (C++) | 107.061 |
Jzon (C++) | 93.637 |
Nlohmann (C++11) | 158.732 |
Parson (C) | 121.084 |
POCO (C++) | 258.071 |
RapidJSON (C++) | 27.954 |
RapidJSON_AutoUTF (C++) | 59.830999999999996 |
RapidJSON_FullPrec (C++) | 27.36 |
RapidJSON_Insitu (C++) | 27.735 |
Scheredom json.h (C) | 43.808 |
udp/json-parser (C) | 60.57 |
ujson (C++) | 50.199 |
Vinenthz/libjson (C) | 86.25500000000001 |
YAJL (C) | 123.587 |
3. Prettify
Filename | ArduinoJson (C++) | Configuru (C++11) | Jansson (C) | JsonBox (C++) | Jzon (C++) | Nlohmann (C++11) | POCO (C++) | Parson (C) | RapidJSON (C++) | RapidJSON_AutoUTF (C++) | RapidJSON_FullPrec (C++) | RapidJSON_Insitu (C++) | Scheredom json.h (C) | Vinenthz/libjson (C) | YAJL (C) | cJSON (C) | ccan/json (C) | gason (C++11) | json-c (C) | jsoncons (C++) | udp/json-parser (C) | ujson (C++) |
---|
canada.json | 152.247 | 208.745 | 97.483 | 200.271 | 68.869 | 133.774 | 194.276 | 88.879 | 24.182 | 49.058 | 23.652 | 23.967 | 37.534 | 77.205 | 110.982 | 56.372 | 105.046 | 86.736 | 40.284 | 100.052 | 51.578 | 40.799 |
citm_catalog.json | 31.832 | 8.647 | 6.582 | 35.33 | 16.554 | 17.017 | 43.813 | 19.659 | 2.373 | 7.254 | 2.243 | 2.373 | 5.028 | 5.043 | 9.17 | 15.67 | 9.259 | 20.433 | 17.245 | 4.368 | 7.265 | 6.402 |
twitter.json | 18.056 | 3.759 | 3.36 | 29.127 | 8.214 | 7.941 | 19.982 | 12.546 | 1.399 | 3.519 | 1.465 | 1.395 | 1.246 | 4.007 | 3.435 | 8.515 | 3.194 | 9.156 | 6.933 | 2.641 | 1.727 | 2.998 |
ujson (C++)
4. Statistics
Time
Library | Time (ms) | Speedup |
---|
ArduinoJson (C++) | 52 | 1.00x |
C++ REST SDK (C++11) | 2 | 29.78x |
CAJUN (C++) | 4 | 12.14x |
ccan/json (C) | 1 | 55.35x |
cJSON (C) | 1 | 64.16x |
Configuru (C++11) | 1 | 37.53x |
dropbox/json11 (C++11) | 2 | 34.33x |
gason (C++11) | 1 | 46.49x |
hjiang/JSON++ (C++) | 1 | 58.79x |
Jansson (C) | 2 | 28.84x |
jsmn (C) | 1 | 75.98x |
json-c (C) | 2 | 21.66x |
JsonBox (C++) | 1 | 67.06x |
jsoncons (C++) | 4 | 14.07x |
JsonCpp (C++) | 2 | 21.26x |
JVar (C++) | 1 | 39.77x |
Jzon (C++) | 2 | 31.79x |
mikeando/FastJson (C++) | 1 | 79.84x |
Nlohmann (C++11) | 4 | 13.97x |
Parson (C) | 3 | 16.50x |
PicoJSON (C++) | 1 | 68.03x |
POCO (C++) | 3 | 15.78x |
RapidJSON (C++) | 1 | 73.30x |
RapidJSON_AutoUTF (C++) | 1 | 71.29x |
RapidJSON_FullPrec (C++) | 1 | 74.25x |
RapidJSON_Insitu (C++) | 1 | 72.59x |
sajson (C++) | 1 | 54.48x |
Scheredom json.h (C) | 1 | 79.84x |
SimpleJSON (C++) | 1 | 52.76x |
tunnuz/JSON++ (C++) | 141 | 0.37x |
udp/json-parser (C) | 1 | 64.48x |
ujson (C++) | 3 | 16.08x |
ujson4c (C) | 2 | 27.18x |
Vinenthz/libjson (C) | 1 | 69.11x |
YAJL (C) | 1 | 43.46x |
Library | Time (ms) |
---|
ArduinoJson (C++) | 51.973000000000006 |
C++ REST SDK (C++11) | 1.7449999999999999 |
CAJUN (C++) | 4.282 |
ccan/json (C) | 0.9390000000000001 |
cJSON (C) | 0.81 |
Configuru (C++11) | 1.385 |
dropbox/json11 (C++11) | 1.5139999999999998 |
gason (C++11) | 1.1179999999999999 |
hjiang/JSON++ (C++) | 0.884 |
Jansson (C) | 1.8019999999999998 |
jsmn (C) | 0.6839999999999999 |
json-c (C) | 2.4 |
JsonBox (C++) | 0.7749999999999999 |
jsoncons (C++) | 3.6940000000000004 |
JsonCpp (C++) | 2.445 |
JVar (C++) | 1.307 |
Jzon (C++) | 1.6350000000000002 |
mikeando/FastJson (C++) | 0.6509999999999999 |
Nlohmann (C++11) | 3.72 |
Parson (C) | 3.15 |
PicoJSON (C++) | 0.764 |
POCO (C++) | 3.294 |
RapidJSON (C++) | 0.7090000000000001 |
RapidJSON_AutoUTF (C++) | 0.7290000000000001 |
RapidJSON_FullPrec (C++) | 0.7000000000000001 |
RapidJSON_Insitu (C++) | 0.716 |
sajson (C++) | 0.9540000000000001 |
Scheredom json.h (C) | 0.651 |
SimpleJSON (C++) | 0.985 |
tunnuz/JSON++ (C++) | 141.238 |
udp/json-parser (C) | 0.8059999999999998 |
ujson (C++) | 3.232 |
ujson4c (C) | 1.912 |
Vinenthz/libjson (C) | 0.7519999999999999 |
YAJL (C) | 1.1960000000000002 |
4. Statistics
Filename | ArduinoJson (C++) | C++ REST SDK (C++11) | CAJUN (C++) | Configuru (C++11) | JVar (C++) | Jansson (C) | JsonBox (C++) | JsonCpp (C++) | Jzon (C++) | Nlohmann (C++11) | POCO (C++) | Parson (C) | PicoJSON (C++) | RapidJSON (C++) | RapidJSON_AutoUTF (C++) | RapidJSON_FullPrec (C++) | RapidJSON_Insitu (C++) | Scheredom json.h (C) | SimpleJSON (C++) | Vinenthz/libjson (C) | YAJL (C) | cJSON (C) | ccan/json (C) | dropbox/json11 (C++11) | gason (C++11) | hjiang/JSON++ (C++) | jsmn (C) | json-c (C) | jsoncons (C++) | mikeando/FastJson (C++) | sajson (C++) | tunnuz/JSON++ (C++) | udp/json-parser (C) | ujson (C++) | ujson4c (C) |
---|
canada.json | 50.496 | 1.194 | 3.833 | 0.755 | 0.83 | 0.878 | 0.47 | 1.47 | 0.722 | 1.084 | 1.937 | 1.123 | 0.457 | 0.506 | 0.514 | 0.496 | 0.508 | 0.444 | 0.56 | 0.485 | 0.707 | 0.461 | 0.559 | 1 | 0.646 | 0.547 | 0.382 | 1.723 | 2.18 | 0.442 | 0.677 | 89.092 | 0.563 | 2.027 | 1.266 |
citm_catalog.json | 0.865 | 0.377 | 0.358 | 0.477 | 0.334 | 0.571 | 0.214 | 0.458 | 0.354 | 1.188 | 0.816 | 0.967 | 0.19 | 0.146 | 0.155 | 0.147 | 0.145 | 0.145 | 0.283 | 0.173 | 0.365 | 0.19 | 0.237 | 0.368 | 0.294 | 0.236 | 0.223 | 0.519 | 0.869 | 0.137 | 0.197 | 32.054 | 0.174 | 0.823 | 0.43 |
twitter.json | 0.612 | 0.174 | 0.091 | 0.153 | 0.143 | 0.353 | 0.091 | 0.517 | 0.559 | 1.448 | 0.541 | 1.06 | 0.117 | 0.057 | 0.06 | 0.057 | 0.063 | 0.062 | 0.142 | 0.094 | 0.124 | 0.159 | 0.143 | 0.146 | 0.178 | 0.101 | 0.079 | 0.158 | 0.645 | 0.072 | 0.08 | 20.092 | 0.069 | 0.382 | 0.216 |
ujson4c (C)
5. Sax Round-trip
Time
Library | Time (ms) | Speedup |
---|
POCO (C++) | 201 | 1.00x |
RapidJSON (C++) | 31 | 6.52x |
RapidJSON_AutoUTF (C++) | 53 | 3.81x |
RapidJSON_FullPrec (C++) | 42 | 4.74x |
RapidJSON_Insitu (C++) | 31 | 6.55x |
Vinenthz/libjson (C) | 43 | 4.71x |
YAJL (C) | 159 | 1.26x |
Library | Time (ms) |
---|
POCO (C++) | 200.649 |
RapidJSON (C++) | 30.759999999999998 |
RapidJSON_AutoUTF (C++) | 52.605999999999995 |
RapidJSON_FullPrec (C++) | 42.297 |
RapidJSON_Insitu (C++) | 30.637 |
Vinenthz/libjson (C) | 42.641 |
YAJL (C) | 159.033 |
5. Sax Round-trip
Filename | POCO (C++) | RapidJSON (C++) | RapidJSON_AutoUTF (C++) | RapidJSON_FullPrec (C++) | RapidJSON_Insitu (C++) | Vinenthz/libjson (C) | YAJL (C) |
---|
canada.json | 147.684 | 25.471 | 37.407 | 36.774 | 25.532 | 20.055 | 144.82 |
citm_catalog.json | 32.954 | 3.182 | 8.701 | 3.434 | 3.144 | 14.841 | 10.063 |
twitter.json | 20.011 | 2.107 | 6.498 | 2.089 | 1.961 | 7.745 | 4.15 |
YAJL (C)
6. SaxStatistics
Time
Library | Time (ms) | Speedup |
---|
pjson (C) | 8 | 1.00x |
POCO (C++) | 124 | 0.06x |
RapidJSON (C++) | 9 | 0.89x |
RapidJSON_AutoUTF (C++) | 21 | 0.38x |
RapidJSON_FullPrec (C++) | 21 | 0.39x |
RapidJSON_Insitu (C++) | 9 | 0.92x |
Vinenthz/libjson (C) | 32 | 0.25x |
YAJL (C) | 61 | 0.13x |
Library | Time (ms) |
---|
pjson (C) | 8.011 |
POCO (C++) | 123.75999999999999 |
RapidJSON (C++) | 8.974 |
RapidJSON_AutoUTF (C++) | 20.838 |
RapidJSON_FullPrec (C++) | 20.761 |
RapidJSON_Insitu (C++) | 8.696 |
Vinenthz/libjson (C) | 32.399 |
YAJL (C) | 61.058 |
6. SaxStatistics
Filename | POCO (C++) | RapidJSON (C++) | RapidJSON_AutoUTF (C++) | RapidJSON_FullPrec (C++) | RapidJSON_Insitu (C++) | Vinenthz/libjson (C) | YAJL (C) | pjson (C) |
---|
canada.json | 94.697 | 5.885 | 10.494 | 17.499 | 6.013 | 16.375 | 53.286 | 3.758 |
citm_catalog.json | 19.719 | 1.917 | 6.008 | 2.091 | 1.697 | 11.659 | 5.72 | 2.996 |
twitter.json | 9.344 | 1.172 | 4.336 | 1.171 | 0.986 | 4.365 | 2.052 | 1.257 |
pjson (C)
7. Code size
FileSize (byte)
Library | FileSize (byte) | Ratio |
---|
ArduinoJson (C++) | 26,388 | 1.00x |
C++ REST SDK (C++11) | 18,008 | 0.68x |
CAJUN (C++) | 84,920 | 3.22x |
ccan/json (C) | 25,952 | 0.98x |
cJSON (C) | 26,596 | 1.01x |
Configuru (C++11) | 130,396 | 4.94x |
dropbox/json11 (C++11) | 78,844 | 2.99x |
gason (C++11) | 20,184 | 0.76x |
hjiang/JSON++ (C++) | 92,288 | 3.50x |
Jansson (C) | 68,300 | 2.59x |
jsmn (C) | 15,664 | 0.59x |
json-c (C) | 56,164 | 2.13x |
JsonBox (C++) | 110,728 | 4.20x |
jsoncons (C++) | 110,388 | 4.18x |
JsonCpp (C++) | 248,424 | 9.41x |
JVar (C++) | 84,692 | 3.21x |
Jzon (C++) | 107,628 | 4.08x |
mikeando/FastJson (C++) | 57,980 | 2.20x |
Nlohmann (C++11) | 41,620 | 1.58x |
Parson (C) | 42,628 | 1.62x |
PicoJSON (C++) | 34,160 | 1.29x |
pjson (C) | 14,964 | 0.57x |
POCO (C++) | 27,516 | 1.04x |
RapidJSON (C++) | 31,228 | 1.18x |
RapidJSON_AutoUTF (C++) | 34,324 | 1.30x |
RapidJSON_FullPrec (C++) | 31,228 | 1.18x |
RapidJSON_Insitu (C++) | 31,228 | 1.18x |
sajson (C++) | 34,560 | 1.31x |
Scheredom json.h (C) | 24,680 | 0.94x |
SimpleJSON (C++) | 57,552 | 2.18x |
strdup (C) | 15,560 | 0.59x |
tunnuz/JSON++ (C++) | 72,468 | 2.75x |
udp/json-parser (C) | 34,580 | 1.31x |
ujson (C++) | 137,828 | 5.22x |
ujson4c (C) | 30,464 | 1.15x |
Vinenthz/libjson (C) | 25,548 | 0.97x |
YAJL (C) | 44,124 | 1.67x |
Library | FileSize (byte) |
---|
ArduinoJson (C++) | 26388 |
C++ REST SDK (C++11) | 18008 |
CAJUN (C++) | 84920 |
ccan/json (C) | 25952 |
cJSON (C) | 26596 |
Configuru (C++11) | 130396 |
dropbox/json11 (C++11) | 78844 |
gason (C++11) | 20184 |
hjiang/JSON++ (C++) | 92288 |
Jansson (C) | 68300 |
jsmn (C) | 15664 |
json-c (C) | 56164 |
JsonBox (C++) | 110728 |
jsoncons (C++) | 110388 |
JsonCpp (C++) | 248424 |
JVar (C++) | 84692 |
Jzon (C++) | 107628 |
mikeando/FastJson (C++) | 57980 |
Nlohmann (C++11) | 41620 |
Parson (C) | 42628 |
PicoJSON (C++) | 34160 |
pjson (C) | 14964 |
POCO (C++) | 27516 |
RapidJSON (C++) | 31228 |
RapidJSON_AutoUTF (C++) | 34324 |
RapidJSON_FullPrec (C++) | 31228 |
RapidJSON_Insitu (C++) | 31228 |
sajson (C++) | 34560 |
Scheredom json.h (C) | 24680 |
SimpleJSON (C++) | 57552 |
strdup (C) | 15560 |
tunnuz/JSON++ (C++) | 72468 |
udp/json-parser (C) | 34580 |
ujson (C++) | 137828 |
ujson4c (C) | 30464 |
Vinenthz/libjson (C) | 25548 |
YAJL (C) | 44124 |
7. Code size
Source CSV