aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-21 18:08:33 +0000
committermat <github@matdoes.dev>2022-04-21 18:08:33 +0000
commit03d14e13f2f06528a377c4508aefb2a7a044c193 (patch)
treeb9b702ce72350c23cbeee2f9c717bbe11db3abd0
parent3beb58189bdb9e129cbde3a5f250d525f3b8694f (diff)
downloadazalea-drasl-03d14e13f2f06528a377c4508aefb2a7a044c193.tar.xz
make benchmarks work again
-rw-r--r--azalea-nbt/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/azalea-nbt/Cargo.toml b/azalea-nbt/Cargo.toml
index 89a1efd8..d4817233 100644
--- a/azalea-nbt/Cargo.toml
+++ b/azalea-nbt/Cargo.toml
@@ -16,11 +16,14 @@ tokio = "^1.15.0"
[dev-dependencies]
criterion = {version = "^0.3.5", features = ["html_reports", "async_tokio"]}
-tokio = {version = "^1.15.0", features = ["fs", "io-util", "macros"]}
+tokio = {version = "^1.15.0", features = ["fs", "io-util", "macros", "rt", "rt-multi-thread"]}
[profile.release]
lto = true
+[profile.bench]
+debug = true
+
[[bench]]
harness = false
name = "my_benchmark"