[go: up one dir, main page]

async-std 1.4.0

Async version of the Rust standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![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 {}));
}