summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucio Franco <luciofranco14@gmail.com>2019-09-13 14:04:23 -0400
committerGitHub <noreply@github.com>2019-09-13 14:04:23 -0400
commit5f2f3f076d7c68c6cd31ff388ca14f3e7b463ab7 (patch)
treefb43cbf21a61011cb27961575dcb356ec747cd01
parentefb27731adcff502109ec3489bdde0b6f3cba1e7 (diff)
Add broken feature to old benchmarks (#1555)
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
-rw-r--r--tokio-executor/benches/blocking.rs1
-rw-r--r--tokio-executor/benches/threadpool.rs1
-rw-r--r--tokio-executor/benches/threadpool_depth.rs1
-rw-r--r--tokio-sync/benches/mpsc.rs1
-rw-r--r--tokio-sync/benches/oneshot.rs1
-rw-r--r--tokio/benches/latency.rs1
-rw-r--r--tokio/benches/mio-ops.rs1
-rw-r--r--tokio/benches/tcp.rs1
8 files changed, 8 insertions, 0 deletions
diff --git a/tokio-executor/benches/blocking.rs b/tokio-executor/benches/blocking.rs
index 6efdf448..ceb56318 100644
--- a/tokio-executor/benches/blocking.rs
+++ b/tokio-executor/benches/blocking.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio-executor/benches/threadpool.rs b/tokio-executor/benches/threadpool.rs
index 3e106a3f..56617a59 100644
--- a/tokio-executor/benches/threadpool.rs
+++ b/tokio-executor/benches/threadpool.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio-executor/benches/threadpool_depth.rs b/tokio-executor/benches/threadpool_depth.rs
index 042d2d78..e6d9183d 100644
--- a/tokio-executor/benches/threadpool_depth.rs
+++ b/tokio-executor/benches/threadpool_depth.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio-sync/benches/mpsc.rs b/tokio-sync/benches/mpsc.rs
index 5e05f668..95d8e5c7 100644
--- a/tokio-sync/benches/mpsc.rs
+++ b/tokio-sync/benches/mpsc.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio-sync/benches/oneshot.rs b/tokio-sync/benches/oneshot.rs
index d2f7b379..b2f37805 100644
--- a/tokio-sync/benches/oneshot.rs
+++ b/tokio-sync/benches/oneshot.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio/benches/latency.rs b/tokio/benches/latency.rs
index 0baa1c4a..b44335fd 100644
--- a/tokio/benches/latency.rs
+++ b/tokio/benches/latency.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio/benches/mio-ops.rs b/tokio/benches/mio-ops.rs
index 5a77f1b7..8aedbfd8 100644
--- a/tokio/benches/mio-ops.rs
+++ b/tokio/benches/mio-ops.rs
@@ -1,5 +1,6 @@
// Measure cost of different operations
// to get a sense of performance tradeoffs
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio/benches/tcp.rs b/tokio/benches/tcp.rs
index ef53b792..f9a4a03b 100644
--- a/tokio/benches/tcp.rs
+++ b/tokio/benches/tcp.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]