You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix rustfmt errors in rust/src/lib.rs (remove extra blank line)
- Fix rustfmt errors in rust/src/spacetimedb_impl.rs (expand struct
literal and reformat if-let method chain per nightly rustfmt rules)
- Exclude vendored bumpalo-patched and doublets-patched dirs from
file size check (they are third-party libraries, not project code)
- Update changelog fragment to accurately describe real SpacetimeDB 2.0
engine usage (no SQLite, uses RelationalDB/TestDB in-memory)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: changelog.d/20260224_spacetimedb_vs_doublets_benchmark.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,17 @@ bump: minor
4
4
5
5
### Added
6
6
7
-
-**SpacetimeDB 2 vs Doublets benchmark** (`rust/`): New Rust benchmark suite comparing SpacetimeDB's SQLite backend against Doublets in-memory link stores for basic CRUD operations, following best practices from the Neo4j and PostgreSQL comparison benchmarks.
7
+
-**SpacetimeDB 2 vs Doublets benchmark** (`rust/`): New Rust benchmark suite comparing the real SpacetimeDB 2.0 engine against Doublets in-memory link stores for basic CRUD operations.
8
8
9
9
-**7 benchmark operations**: Create, Delete, Update, Query All, Query by Id, Query by Source, Query by Target
-**Configurable scale**: `BENCHMARK_LINK_COUNT` and `BACKGROUND_LINK_COUNT` environment variables
12
12
-**Criterion harness**: Uses criterion 0.3.6 with custom `iter_custom` timing to exclude setup/teardown from measurements
13
13
-**Fork/unfork lifecycle**: Each iteration starts from a clean database state with pre-populated background links
14
14
15
15
-**`rust/src/lib.rs`**: `Links` trait as the shared interface for both SpacetimeDB and Doublets backends; `Benched` trait for benchmark lifecycle management.
16
16
17
-
-**`rust/src/spacetimedb_impl.rs`**: SpacetimeDB SQLite client implementing the `Links` trait using the same schema and indexes that SpacetimeDB 2 uses internally.
17
+
-**`rust/src/spacetimedb_impl.rs`**: Real SpacetimeDB 2.0 engine implementation using `spacetimedb-core` with `TestDB` (in-memory `RelationalDB`, no SQLite). Verifies engine version at startup and fails if backend ≠ SpacetimeDB 2.0+.
18
18
19
19
-**`rust/src/doublets_impl.rs`**: Doublets store adapters implementing the `Links` trait for both United Volatile and Split Volatile storage layouts.
0 commit comments