Remove benchmark

This commit is contained in:
Yong Wen Chua 2017-07-17 18:16:06 +08:00 committed by Yong Wen Chua
parent 41f5ac11d8
commit 808329c1c4
1 changed files with 1 additions and 9 deletions

View File

@ -1,11 +1,10 @@
//! This crate tests using rocket_cors using Fairings //! This crate tests using rocket_cors using Fairings
#![feature(plugin, custom_derive, test)] #![feature(plugin, custom_derive)]
#![plugin(rocket_codegen)] #![plugin(rocket_codegen)]
extern crate hyper; extern crate hyper;
extern crate rocket; extern crate rocket;
extern crate rocket_cors; extern crate rocket_cors;
extern crate test;
use std::str::FromStr; use std::str::FromStr;
@ -86,13 +85,6 @@ fn smoke_test() {
} }
use test::Bencher;
#[bench]
fn bench_smoke_test(b: &mut Bencher) {
b.iter(|| smoke_test());
}
#[test] #[test]
fn cors_options_check() { fn cors_options_check() {
let client = Client::new(rocket()).unwrap(); let client = Client::new(rocket()).unwrap();