Spdk/lib/json
Daniel Verkamp a509ddeb24 json/write: add an output buffer
This improves output speed significantly, especially if the write
callback is expensive (e.g. issues a syscall or takes a lock).

On my test system, jsoncat citylots.json > /dev/null improves from
~2.8s to ~1.7s.

citylots.json: https://github.com/zemirco/sf-city-lots-json (~181 MiB)

Change-Id: I7d411ce92366712ed87ad5fc6e9b64828541db4d
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-01-13 13:18:50 -07:00
..
json_internal.h json/write: add an output buffer 2017-01-13 13:18:50 -07:00
json_parse.c json: allow decoding of non-standard comments 2016-08-19 09:49:18 -07:00
json_util.c json: add JSON parser and encoder libraries 2016-05-09 13:30:02 -07:00
json_write.c json/write: add an output buffer 2017-01-13 13:18:50 -07:00
Makefile build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00