You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…bin and .json
On my laptop, binary format is ~20x-30x faster than JSON for combined write+read to an in-memory stringstream.
If disk IO is a bottleneck (which sounds more realistic), one can expect more moderate speedup, ~2.4x because binary format is more compact than JSON.
This is a part of davidsd#111 Benchmarks for reading/writing sdp.zip.
…bin and .json
You can run benchmark as
./build/unit_tests [!benchmark] --benchmark-samples 10 --benchmark-no-analysis
On my laptop, binary format is ~20x-30x faster than JSON for combined write+read to an in-memory stringstream.
If disk IO is a bottleneck (which sounds more realistic), one can expect more moderate speedup, ~2.4x because binary format is more compact than JSON.
This is a part of davidsd#111 Benchmarks for reading/writing sdp.zip.
The text was updated successfully, but these errors were encountered: