Skip to content

Commit b9309dc

Browse files
iduartgomezclaudegithub-actions[bot]
authored
perf: add suite for transport performance (#2224)
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: nacho.d.g <iduartgomez@users.noreply.github.com>
1 parent 42bfc46 commit b9309dc

File tree

6 files changed

+2215
-8
lines changed

6 files changed

+2215
-8
lines changed

Cargo.lock

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

crates/core/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ serde = { version = "1.0", features = ["derive"] }
9595
[dev-dependencies]
9696
arbitrary = { features = ["derive"], version = "1" }
9797
chrono = { features = ["arbitrary"], workspace = true }
98+
criterion = { version = "0.5", features = ["async_tokio"] }
9899
freenet-stdlib = { features = ["net", "testing"], workspace = true }
99100
freenet-macros = { path = "../freenet-macros" }
100101
httptest = "0.16"
@@ -108,6 +109,10 @@ ureq = { version = "3.1", features = ["json"] }
108109
which = "8.0"
109110
regex = "1"
110111

112+
[[bench]]
113+
name = "transport_perf"
114+
harness = false
115+
111116
[features]
112117
default = ["redb", "trace", "websocket"]
113118
sqlite = ["sqlx"]

0 commit comments

Comments
 (0)