automerge/edit-trace
2022-01-19 18:08:15 -05:00
..
benches Replace the OpID API with an object ID 2022-01-01 20:15:02 +00:00
src fmt 🙄 2022-01-01 20:17:38 +00:00
.gitignore splice 2021-11-30 11:29:51 -08:00
automerge-1.0.js cleaned up edit trace, added docs 2021-12-13 09:20:49 -05:00
automerge-js.js optimize js 2022-01-19 18:08:15 -05:00
automerge-rs.js cleaned up edit trace, added docs 2021-12-13 09:20:49 -05:00
automerge-wasm.js cleaned up edit trace, added docs 2021-12-13 09:20:49 -05:00
baseline.js add len query - remove obj specific code from tree 2021-12-13 10:12:40 -05:00
Cargo.toml Add deny.toml and a script for calling cargo deny 2021-12-24 10:18:16 -08:00
editing-trace.js profiling and seq_tree 2021-11-29 17:27:47 -07:00
edits.json profiling and seq_tree 2021-11-29 17:27:47 -07:00
package.json profiling and seq_tree 2021-11-29 17:27:47 -07:00
README.md Add criterion benchmarks for Rust (#248) 2021-12-19 14:59:40 +00:00

Try the different editing traces on different automerge implementations

Automerge Experiement - pure rust

  # cargo --release run

Benchmarks

There are some criterion benchmarks in the benches folder which can be run with cargo bench or cargo criterion. For flamegraphing, cargo flamegraph --bench main -- --bench "save" # or "load" or "replay" or nothing can be useful.

Automerge Experiement - wasm api

  # node automerge-wasm.js

Automerge Experiment - JS wrapper

  # node automerge-js.js

Automerge 1.0 pure javascript - new fast backend

This assume automerge has been checked out in a directory along side this repo

  # node automerge-1.0.js

Automerge 1.0 with rust backend

This assume automerge has been checked out in a directory along side this repo

  # node automerge-rs.js

Automerge Experiment - JS wrapper

  # node automerge-js.js

Baseline Test. Javascript Array with no CRDT info

  # node baseline.js