7 ms·
> (5-10x slower last I checked) This was a thing around 2 years ago. Nowadays speeds is the same or in favor of Rust, depending on the benchmark in question.
by Horusiath 2y ago
> (5-10x slower last I checked)
This was a thing around 2 years ago. Nowadays speeds is the same or in favor of Rust, depending on the benchmark in question.
- josephg 2y agoIt was still much slower ~6 months ago when I benchmarked it. I’ll rerun my benchmarks and confirm one way or another.
- josephg 2y agoOh amazing - it looks like the GP commenter is right. Yrs is significantly faster now than it was when I benchmarked it a few months ago. I'd update my comment above, but its too late. For example, in one of my tests I'm seeing these times: Yjs: 74ms Yrs: 9.5ms That's exceptionally fast. This speedup seems to be consistent throughout my testing data. For comparison, automerge takes 1100ms to load the same editing history from disk, using its own file format. I'd really love to see automerge be competitive here. (The test is loading / merging a saved text editing trace from a yjs file, recorded from a single user typing about 100 pages of text).