Docs
Performance
Native Benchmarks

Native Benchmarks

This native benchmark (opens in a new tab) is based on the Rust implementation of each crate.

  • Conducted on a 2020 M1 MacBook Pro 13-inch, dated 2024-05-06.
  • The tasks with names starting with automerge use the automerge paper dataset.
  • In this benchmark, compression is disabled for both automerge and loro.
  • Diamond-type doesn't support the list type yet.
Tasksautomergelorodiamond-typeyrs
automerge - apply557.42 ± 0.02 ms76.31 ± 0.03 ms17.68 ± 0.04 ms4239.71 ± 65.33 ms
automerge - decode time767.01 ± 3.40 ms4.44 ± 0.05 ms2.53 ± 0.01 ms3.97 ± 0.01 ms
automerge - encode time11.43 ± 0.004 ms4.58 ± 0.10 ms1.26 ± 0.004 ms857.76 ± 96.03 us
concurrent list inserts77.15 ± 0.35 ms127.11 ± 0.79 ms64.35 ± 0.22 ms13.12 ± 0.11 ms
list_random_insert_1k256.27 ± 0.97 ms11.48 ± 0.37 ms3.68 ± 0.004 ms4.48 ± 0.005 ms