Sign in
android
/
platform
/
external
/
rust
/
crates
/
want
/
refs/heads/android15-release
/
.
/
benches
/
throughput.rs
blob: 5acca6b1acfd7a827fd01eeb1ba2ec0ddb0b8fbc [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
test
)]
extern
crate test
;
extern
crate want
;
#[
bench
]
fn
throughput
(
b
:
&
mut
test
::
Bencher
)
{
let
(
mut
gv
,
mut
tk
)
=
want
::
new
();
b
.
iter
(
move
||
{
tk
.
want
();
assert
!(
gv
.
poll_want
().
unwrap
().
is_ready
());
});
}