drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.04k stars 1.06k forks source link

new json #2049

Closed AmdRyZen closed 3 weeks ago

AmdRyZen commented 4 weeks ago

最近发现了一个新的json 总体性能 比 rapidjson 还要好 而且Api非常的友好 2.0 可以考虑

image
ladaniprem commented 3 weeks ago

// glaze const auto t9 = std::chrono::steady_clock::now(); std::string buffer{}; for (auto i = 0; i < 1000; i++) { my_struct s{}; glz::write_json(s, buffer); // glz::write_binary(s, buffer); } const auto t10 = std::chrono::steady_clock::now(); please this code to try this just change only 7 number line

AmdRyZen commented 3 weeks ago

什么意思