Skip to content

Commit

Permalink
benchs: add orm_vs_native benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
GoranBrkuljan committed Jan 18, 2025
1 parent 72f1200 commit ee97664
Show file tree
Hide file tree
Showing 4 changed files with 636 additions and 1 deletion.
230 changes: 229 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"charybdis-macros",
"charybdis-parser",
"examples/actix-web/reddit-api",
"charybdis_bench",
]

[workspace.lints.clippy]
Expand Down
18 changes: 18 additions & 0 deletions charybdis_bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "charybdis_bench"
version = "0.1.0"
edition = "2021"

[dev-dependencies]
criterion = "0.5.1"
charybdis = { path = "../charybdis" }
chrono = "0.4.39"
scylla = "0.15.1"
tokio = { version = "1.42.0", features = ["rt-multi-thread"] }


[[bench]]
name = "orm_vs_native"
harness = false
[dependencies]
futures = "0.3.31"
Loading

0 comments on commit ee97664

Please sign in to comment.