[−][src]Attribute Macro runtime_attributes::bench
#[bench]
Creates an async benchmark.
Examples
#![feature(async_await, await_macro, futures_api, test)] extern crate test; #[runtime::test] async fn spawn_and_await() { await!(runtime::spawn(async {})); }