[package]
name = "memflow-bench"
version = "0.1.5"
authors = ["Aurimas Blažulionis <0x60@pm.me>"]
edition = "2018"
description = "benchmarks for the memflow physical memory introspection framework"
readme = "README.md"
homepage = "https://memflow.github.io"
repository = "https://github.com/memflow/memflow"
license-file = "../LICENSE"
keywords = [ "memflow", "introspection", "memory", "dma" ]
categories = [ "memory-management", "os" ]
publish = false

[dependencies]
memflow = { path = "../memflow", features = ["dummy_mem"] }
rand = "0.7"
rand_xorshift = "0.2"

# This branch provides throughput plots
criterion = { git = "https://github.com/h33p/criterion.rs.git", branch = "tput" }

memflow-win32 = { path = "../memflow-win32" }

[dev-dependencies]
memflow = { path = "../memflow", features = ["dummy_mem"] }
memflow-win32 = { path = "../memflow-win32" }

[features]
default = []

[[bench]]
name = "read_dummy"
harness = false

#[[bench]]
#name = "read_win32"
#harness = false

[[bench]]
name = "batcher"
harness = false