diff options
| author | tv <tv@krebsco.de> | 2026-11-02 11:20:30 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-02 11:20:30 +0100 |
| commit | ec4bd28d77a0a3aa0c1d0c20589006bffb424640 (patch) | |
| tree | 67db57b2ccf9d8791117729a67180b0dc3f96f50 /src/remake/bench.rs | |
| parent | 3354e03cf8e94ac0a01d0ceadf891d5abee3582e (diff) | |
remake: read ops, not diffs
This gives bench_replay a speedup of ~8x/64x/280x.
Diffstat (limited to 'src/remake/bench.rs')
| -rw-r--r-- | src/remake/bench.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remake/bench.rs b/src/remake/bench.rs index 3c3f513..f262601 100644 --- a/src/remake/bench.rs +++ b/src/remake/bench.rs @@ -3,7 +3,8 @@ //! `replay`: carrying writes over into a new epoch's document, last writer wins //! (`delta::replay_newest`): what a rejoin does with the writes made during it, and a //! switch with those made after the remake's base. It finds the paths of every write -//! carried, and of every newer change in the new document, by a diff each. +//! carried, and of every newer change in the new document, from its operations +//! (`store::changed_by`). use std::time::Instant; |
