crdt_tests/bench/README.md

45 lines
753 B
Markdown
Raw Normal View History

2022-12-22 18:18:56 +01:00
# Timings
all benches use the uncompressed .json from disk
all done with the "cool an breezy copy" preset
note: the .json is not a perfect fit, bc it is not designed for the Yjs algo (missing parent_right and ids are not perfect)
the json contains:
doc size (with tombstones): 182315
doc size: 104852
total inserts: 182315
total deletes: 77463
total ops: 259778
## baseline ( just walking through the json, no insertions )
- g++9 -g :
2022-12-22 20:25:23 +01:00
- 23.0s ~11294 ops/s
- 22.6s ~11494 ops/s
2022-12-22 18:18:56 +01:00
- 23.0s
- g++9 -O3 -DNDEBUG :
2022-12-22 20:25:23 +01:00
- 9.6s ~27060 ops/s
2022-12-22 18:18:56 +01:00
- 9.7s
- 9.7s
## version0
- g++9 -g -O2 :
2022-12-22 20:25:23 +01:00
- 10m35s ~409 ops/s
2022-12-22 18:18:56 +01:00
- g++9 -O3 -DNDEBUG :
2022-12-22 20:25:23 +01:00
- 8m7s ~533 ops/s
2022-12-22 18:18:56 +01:00
## version1
2022-12-22 20:25:23 +01:00
- g++9 -g -O2 :
- 5m23s ~804 ops/s
- g++9 -O3 -DNDEBUG :
- 4m7s ~1051 ops/s