mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-04-12 04:47:40 +00:00
meta: move benchmarks to dedicated crate
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I753245e75da3a995c622a2c73f77bcb26a6a6964
This commit is contained in:
parent
23e994a8fb
commit
77d9c725c7
5 changed files with 112 additions and 10 deletions
21
crates/benchmarks/Cargo.toml
Normal file
21
crates/benchmarks/Cargo.toml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[package]
|
||||
name = "microfetch-bench"
|
||||
description = "Benchmarks for microfetch"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
authors.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
criterion.workspace = true
|
||||
criterion-cycles-per-byte.workspace = true
|
||||
microfetch-lib.workspace = true
|
||||
|
||||
[[bench]]
|
||||
harness = false
|
||||
name = "microfetch"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
@ -16,12 +16,5 @@ microfetch-asm.workspace = true
|
|||
hotpath = [ "dep:hotpath", "hotpath/hotpath" ]
|
||||
hotpath-alloc = [ "hotpath/hotpath-alloc" ]
|
||||
|
||||
[dev-dependencies]
|
||||
criterion.workspace = true
|
||||
|
||||
[[bench]]
|
||||
harness = false
|
||||
name = "benchmark"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue