Skip to content

Commit aa1dbf6

Browse files
committed
chore(bench): add criterion benchmarks for todo ops
Bead: jcode-csz (Add criterion benchmarks for todo operations) * New crates/jcode-base/benches/todo_bench.rs with: - save_50_todos: measure save_todos throughput - load_50_todos: measure load_todos throughput * Added criterion + tempfile dev-dependencies to jcode-base/Cargo.toml cargo check clean.
1 parent 71bd8a6 commit aa1dbf6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

crates/jcode-base/Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,10 @@ windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_
157157
[target.'cfg(target_os = "macos")'.dependencies]
158158
global-hotkey = "0.7"
159159

160-
[dev-dependencies]
161160
# Cross-layer test (provider/gemini_tests.rs builds a tool::Registry, which lives
162161
# in the upper jcode-app-core layer). Dev-dependency cycles are permitted by
163162
# Cargo and do not affect the library build.
164-
jcode-app-core = { path = "../jcode-app-core", default-features = false }
165-
166163
[dev-dependencies]
164+
jcode-app-core = { path = "../jcode-app-core", default-features = false }
167165
criterion = { version = "0.5", features = ["html_reports"] }
168-
tempfile = "3"
166+

0 commit comments

Comments
 (0)