Open WuDaWeiCTO opened 1 year ago
@WuDaWeiCTO, could you please provide more context for this? It could be an OS issue if you're attempting to read a JSON file from disk. Do you have a reproducible example code?
I think boost add explicit Json since 1.75.0 https://www.boost.org/doc/libs/1_75_0/libs/json/doc/html/index.html In my case, it is 4x faster.
JSON parser through ptree is a very bad idea.
boost1.56.0 boost::property_tree::read_json takes a long time 16ms, and occasionally takes a short time 0ms