From c4c01db171d0779ad892ad54ed158cef6816ba09 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 28 Mar 2024 15:52:23 -0400 Subject: [PATCH] add `database/benchmark/` --- database/benchmark/Cargo.toml | 20 ++++++++++++++++++++ database/benchmark/src/main.rs | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 database/benchmark/Cargo.toml create mode 100644 database/benchmark/src/main.rs diff --git a/database/benchmark/Cargo.toml b/database/benchmark/Cargo.toml new file mode 100644 index 00000000..450dc0a6 --- /dev/null +++ b/database/benchmark/Cargo.toml @@ -0,0 +1,20 @@ +[package] +name = "cuprate-database-benchmark" +version = "0.0.0" +edition = "2021" +description = "Benchmarking binary for Cuprate's database(s)" +license = "MIT" +authors = ["hinto-janai"] +repository = "https://github.com/Cuprate/cuprate/tree/main/database/benchmark" +keywords = ["cuprate", "database", "benchmark"] + +[features] +default = [] + +[dependencies] +anyhow = { workspace = true } +cfg-if = { workspace = true } +cuprate-helper = { path = "../helper", features = ["fs", "thread"] } +rayon = { workspace = true, optional = true } + +[dev-dependencies] \ No newline at end of file diff --git a/database/benchmark/src/main.rs b/database/benchmark/src/main.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/database/benchmark/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}