# MicroVM state serialization benchmarks The benchmarks have been performed using a synthetic state snapshot that contains 100 structs and a 10k element array. Source code: [src/snapshot/benches/main.rs](../../src/snapshot/benches/main.rs). Snapshot size: 83886 bytes. ## Host configuration ```console - Architecture: x86_64 - CPU op-mode(s): 32-bit, 64-bit - Byte Order: Little Endian - CPU(s): 4 - Thread(s) per core: 2 - Core(s) per socket: 2 - Socket(s): 1 - NUMA node(s): 1 - Vendor ID: GenuineIntel - CPU family: 6 - Model: 142 - Model name: Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz - Stepping: 9 - CPU MHz: 1100.008 - CPU max MHz: 3900.0000 - CPU min MHz: 400.0000 - BogoMIPS: 5799.77 - Virtualization: VT-x - L1d cache: 32K - L1i cache: 32K - L2 cache: 256K - L3 cache: 4096K - NUMA node0 CPU(s): 0-3 - Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tmpbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d ``` ## Current baseline | Test | Mean | |---------------------|---------------| | Serialize | 371.38 us | | Serialize + crc64 | 493.26 us | | Deserialize | 90.755 us | | Deserialize + crc64 | 216.90 us | Detailed criterion benchmarks available [here](https://s3.amazonaws.com/spec.ccfc.min/perf/snapshot-0.23/report/index.html).