perf/native-realtime-engine
native/BUILDING.md
+5 −3
native/BUILDING.mdLoading diff…
native/apple/Sources/DocsKit/CRDTProjection.swift
+40 −0
native/apple/Sources/DocsKit/CRDTProjection.swiftLoading diff…
native/apple/Sources/DocsKit/CRDTReplica.swift
+204 −49
native/apple/Sources/DocsKit/CRDTReplica.swiftLoading diff…
native/apple/Sources/DocsKit/DocsModel.swift
+14 −7
native/apple/Sources/DocsKit/DocsModel.swiftLoading diff…
native/apple/Sources/DocsKit/DocsOfflineAccount.swift
+18 −14
native/apple/Sources/DocsKit/DocsOfflineAccount.swiftLoading diff…
native/apple/Sources/DocsKit/DocsPersistence.swift
+53 −11
native/apple/Sources/DocsKit/DocsPersistence.swiftLoading diff…
native/apple/Sources/DocsKit/DocsReplicaCache.swift
+186 −6
native/apple/Sources/DocsKit/DocsReplicaCache.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTClipboardTests.swift
+2 −2
native/apple/Tests/DocsKitTests/CRDTClipboardTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTIncrementalTests.swift
+137 −0
native/apple/Tests/DocsKitTests/CRDTIncrementalTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/CRDTSourceReuseTests.swift
+4 −3
native/apple/Tests/DocsKitTests/CRDTSourceReuseTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/DocumentSyncIntegrationTests.swift
+3 −2
native/apple/Tests/DocsKitTests/DocumentSyncIntegrationTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/OfflineDurabilityTests.swift
+51 −23
native/apple/Tests/DocsKitTests/OfflineDurabilityTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/OfflineKillTests.swift
+2 −1
native/apple/Tests/DocsKitTests/OfflineKillTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/RealtimeSyncTests.swift
+74 −9
native/apple/Tests/DocsKitTests/RealtimeSyncTests.swiftLoading diff…
native/apple/Tests/DocsKitTests/ReplicaSegmentTests.swift
+245 −0
native/apple/Tests/DocsKitTests/ReplicaSegmentTests.swiftLoading diff…
native/benchmarks/NativePerformanceProbeTests.swift
+4 −3
native/benchmarks/NativePerformanceProbeTests.swiftLoading diff…
native/benchmarks/README.md
+14 −0
native/benchmarks/README.mdLoading diff…
native/crdt/src/bin/update_wire_probe.rs
+140 −0
native/crdt/src/bin/update_wire_probe.rsLoading diff…
native/crdt/src/display.rs
+97 −32
native/crdt/src/display.rsLoading diff…
native/crdt/src/lib.rs
+127 −10
native/crdt/src/lib.rsLoading diff…
native/crdt/src/operations.rs
+1 −1
native/crdt/src/operations.rsLoading diff…
native/crdt/src/projection.rs
+92 −17
native/crdt/src/projection.rsLoading diff…
native/crdt/src/structure.rs
+7 −18
native/crdt/src/structure.rsLoading diff…
native/crdt/tests/convergence_fuzz.rs
+165 −0
native/crdt/tests/convergence_fuzz.rsLoading diff…
native/crdt/tests/display_mapping.rs
+145 −0
native/crdt/tests/display_mapping.rsLoading diff…
native/crdt/tests/minimal_updates.rs
+128 −0
native/crdt/tests/minimal_updates.rsLoading diff…
native/crdt/tests/projection_delta.rs
+120 −0
native/crdt/tests/projection_delta.rsLoading diff…
native/crdt/tests/support/mod.rs
+203 −0
native/crdt/tests/support/mod.rsLoading diff…
native/host/examples/realtime.rs
+76 −0
native/host/examples/realtime.rsLoading diff…
native/host/examples/session_memory.rs
+19 −0
native/host/examples/session_memory.rsLoading diff…
native/host/src/lib.rs
+19 −6
native/host/src/lib.rsLoading diff…
native/host/tests/sandbox.rs
+59 −9
native/host/tests/sandbox.rsLoading diff…
native/scripts/check-mutations.py
+1 −1
native/scripts/check-mutations.pyLoading diff…
native/scripts/check-native.sh
+3 −0
native/scripts/check-native.shLoading diff…
native/scripts/check-update-wire.mjs
+93 −0
native/scripts/check-update-wire.mjsLoading diff…