Sign in
fuchsia
/
fuchsia
/
7a142ea8d5f8
/
.
/
third_party
/
rust_crates
/
vendor
/
async-std
/
benches
/
task.rs
blob: b31447130676c07c1bdee92094ffba455bdc6a71 [
file
] [
log
] [
blame
]
#![
feature
(
test
)]
extern
crate test
;
use
async_std
::
task
;
use
test
::
Bencher
;
#[
bench
]
fn
block_on
(
b
:
&
mut
Bencher
)
{
b
.
iter
(||
task
::
block_on
(
async
{}));
}