DEV Community

DongWook Lee
DongWook Lee

Posted on

Parallel Json Parser -claujson (scj3)

This is Experimental.
using simdjson and multi-thread.

https://github.com/vztpv/scj3

// test with citylots.json file (about 180mb)
// in intel 10th gen cpu (8core 16thread) and with mimalloc lib.
// my own json parser. - scj3, claujson.
109ms // load file + simdjson`s stage1
parse1 131ms // partial parsing - use multi_thread!
parse2 12ms // merge
Parse End 254 // 254ms (total)

// rapidjson
parse 640ms

// boost/json
parse 543ms

// yyjson
parse 235 125 360ms // immutable 235ms, convert to mutable 125ms

Top comments (0)