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 2023-02-09.

  • loro results updated as of 2023-11-08.

  • 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 - apply344.73 ± 0.84 ms62.59 ± 0.20 ms19.67 ± 0.90 ms4239.71 ± 65.33 ms
automerge - decode time394.37 ± 3.36 ms1.10 ± 0.006 ms1.92 ± 0.01 ms4.42 ± 0.01 ms
automerge - encode time9.37 ± 0.02 ms1.34 ± 0.005 ms1.17 ± 0.01 ms558.97 ± 2.05 us
concurrent list inserts58.55 ± 0.23 ms109.04 ± 0.49 msUnknown15.21 ± 0.04 ms
list_random_insert_1k265.08 ± 0.77 ms8.78 ± 0.019 msUnknown5.78 ± 0.01 ms