Skip to content

Instantly share code, notes, and snippets.

@cflaviu
Created May 1, 2021 15:54
Show Gist options
  • Save cflaviu/657848f15c9665f723d683d5134585d9 to your computer and use it in GitHub Desktop.
Save cflaviu/657848f15c9665f723d683d5134585d9 to your computer and use it in GitHub Desktop.
cista cpp-serialization-benchmark using AMD Ryzen 9 5900X
2021-05-01 18:10:15
Running ./cpp-serialization-benchmark
Run on (22 X 3693.06 MHz CPU s)
CPU Caches:
L1 Data 32K (x22)
L1 Instruction 32K (x22)
L2 Unified 512K (x22)
L3 Unified 65536K (x1)
Load Average: 0.93, 1.13, 0.83
---------------------------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations UserCounters...
---------------------------------------------------------------------------------------------------------------------
BM_SERIALIZE<capnp_bench> 79.7 ms 79.7 ms 8 size=50.5093M
BM_SERIALIZE<cista_offset_slim_bench> 5.36 ms 5.35 ms 97 size=25.317M
BM_SERIALIZE<cereal_bench> 212 ms 212 ms 3 size=37.829M
BM_SERIALIZE<fbs_bench> 1490 ms 1490 ms 1 size=62.998M
BM_SERIALIZE<cista_raw_bench> 668 ms 667 ms 1 size=176.378M
BM_SERIALIZE<cista_offset_bench> 670 ms 670 ms 1 size=176.378M
BM_SAFE_DESERIALIZE<capnp_bench> 0.000 ms 0.000 ms 3023420
BM_SAFE_DESERIALIZE<cista_offset_slim_bench> 0.212 ms 0.212 ms 3275
BM_SAFE_DESERIALIZE<fbs_bench> 47.0 ms 47.0 ms 13
BM_SAFE_DESERIALIZE<cista_offset_bench> 137 ms 137 ms 5
BM_SAFE_DESERIALIZE<cista_raw_bench> 346 ms 346 ms 2
BM_SAFE_DESERIALIZE<cereal_bench> 165 ms 165 ms 4
BM_FAST_DESERIALIZE<cista_raw_bench> 27.9 ms 27.9 ms 25
BM_TRAVERSE<cista_raw_bench> 89.1 ms 89.1 ms 8 nodeCount=1.87k
BM_TRAVERSE<cista_offset_slim_bench> 87.9 ms 87.9 ms 8 nodeCount=1.87k
BM_TRAVERSE<cista_offset_bench> 89.0 ms 89.0 ms 8 nodeCount=1.87k
BM_TRAVERSE<cereal_bench> 86.3 ms 86.2 ms 8 nodeCount=1.87k
BM_TRAVERSE<fbs_bench> 118 ms 118 ms 5 nodeCount=1.87k
BM_TRAVERSE<capnp_bench> 275 ms 275 ms 3 nodeCount=1.87k
BM_FAST_DESERIALIZE_AND_TRAVERSE<cista_offset_slim_bench> 88.0 ms 88.0 ms 8 nodeCount=1.87k
BM_FAST_DESERIALIZE_AND_TRAVERSE<cista_offset_bench> 89.1 ms 89.1 ms 8 nodeCount=1.87k
BM_FAST_DESERIALIZE_AND_TRAVERSE<cista_raw_bench> 114 ms 114 ms 6 nodeCount=1.87k
BM_FAST_DESERIALIZE_AND_TRAVERSE<fbs_bench> 120 ms 120 ms 5 nodeCount=1.87k
BM_FAST_DESERIALIZE_AND_TRAVERSE<cereal_bench> 259 ms 259 ms 3 nodeCount=1.87k
BM_FAST_DESERIALIZE_AND_TRAVERSE<capnp_bench> 273 ms 273 ms 3 nodeCount=1.87k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment