Skip to content

Commit

Permalink
bench: add bench script (tikv#167)
Browse files Browse the repository at this point in the history
bench: add benchmark script (tikv#93)

Signed-off-by: Alex Chi <iskyzh@gmail.com>
  • Loading branch information
GanZiheng authored Jul 5, 2022
1 parent 28ec7c1 commit f3b4b3f
Show file tree
Hide file tree
Showing 7 changed files with 551 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = "2018"
bytes = "1.0"
coarsetime = "0.1.22"
crc = "1.8"
crc32fast = "1.2"
crossbeam-channel = "0.5"
enum_dispatch = "0.3"
farmhash = "1.1"
Expand All @@ -33,8 +34,9 @@ tikv-jemallocator = "0.4.0"

[workspace]
members = [
"agate_bench",
"proto",
"skiplist",
"skiplist"
]

[[bench]]
Expand Down
22 changes: 22 additions & 0 deletions agate_bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "agate_bench"
version = "0.1.0"
authors = ["Alex Chi <iskyzh@gmail.com>"]
edition = "2018"

[features]
default = []
enable-rocksdb = ["rocksdb"]

[dependencies]
agatedb = { path = "../" }
bytes = "1.0"
clap = "2.33"
indicatif = "0.15"
rand = "0.7"
rocksdb = { version = "0.15", optional = true }
threadpool = "1.8"
yatp = { git = "https://github.com/tikv/yatp.git" }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.4.0"
Loading

0 comments on commit f3b4b3f

Please sign in to comment.