mirror of
https://github.com/Noratrieb/icefun.git
synced 2026-01-14 21:05:00 +01:00
15 lines
373 B
Rust
15 lines
373 B
Rust
#![feature(test)]
|
|
#![deny(warnings)]
|
|
extern crate test;
|
|
use std::io::{Read, Write};
|
|
use std::net::TcpStream;
|
|
use std::sync::mpsc;
|
|
use std::time::Duration;
|
|
use tokio::sync::oneshot;
|
|
use hyper::service::{make_service_fn, service_fn};
|
|
use hyper::{Body, Response, Server};
|
|
const PIPELINED_REQUESTS: usize = 16;
|
|
#[bench]
|
|
fn hello_world_16(b: &mut test::Bencher) {
|
|
loop {}
|
|
}
|