Current Benchmarks #82
Replies: 4 comments
|
JSON benchmarks are not something we looked into recently. I'm not surprised by debug begin so slow as we are sometimes quite generous with |
|
When I get a chance later today, I want to run another test where I dump the file data to a string, and parse that instead. The slowdown might be a result of piecemeal file-io. |
|
I ran some additional tests. This was all from the latest version of MSVC 2019. Some quick testing of 2017 seemed to produce similar results. |
|
We always build with optimizations enabled as our library is heavily dependent on them. Debug builds are not really supported as we never use them. The only distinction that we might make is whether assertions are enabled or not. How do the libraries compare with release builds? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Have benchmarks been recently tested? I am using the current master and I have a situation where I am parsing a 1MB json stream (third party data). In Debug mode it takes over 6 seconds to read into a tao::json::value. In Release mode this is significantly better, taking around 0.05 seconds. I ran some tests against nlohmann for a comparison. In Debug I attain 0.7 seconds, and in Release 0.02 seconds.
For reference, I used
and
All reactions