Skip to content

Commit e57da6c

Browse files
Add first-pass TPC-C module and Rust benchmark runner
1 parent 36c416f commit e57da6c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+6988
-0
lines changed

Cargo.lock

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ members = [
5151
"modules/sdk-test-view",
5252
"modules/sdk-test-view-pk",
5353
"modules/sdk-test-event-table",
54+
"modules/tpcc",
5455
"sdks/rust/tests/test-client",
5556
"sdks/rust/tests/test-counter",
5657
"sdks/rust/tests/connect_disconnect_client",
@@ -62,6 +63,7 @@ members = [
6263
"tools/upgrade-version",
6364
"tools/license-check",
6465
"tools/replace-spacetimedb",
66+
"tools/tpcc-runner",
6567
"tools/generate-client-api",
6668
"tools/gen-bindings",
6769
"tools/xtask-llm-benchmark",

modules/tpcc/Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
name = "tpcc-module"
3+
version = "0.1.0"
4+
edition.workspace = true
5+
6+
[lib]
7+
crate-type = ["cdylib"]
8+
9+
[dependencies]
10+
anyhow.workspace = true
11+
log.workspace = true
12+
spacetimedb = { workspace = true, features = ["unstable"] }
13+
14+
[lints]
15+
workspace = true

0 commit comments

Comments
 (0)