# Lib unit
> To run performances test for your rust applications
* [Documentation](https://docs.rs/performances-testing/)
* [Report a bugs](https://github.com/taishingi/zuu/issues)
* [Source code](https://github.com/taishingi/zuu/tree/master/performances-testing)
* [Donate](https://www.paypal.com/donate/?hosted_button_id=LTYH2BXQF57AA)
* [Crate](https://crates.io/crates/performances-testing)
* [Getting cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)
* [Rust guide](https://doc.rust-lang.org/cargo/guide/)
# Installation
```sh
cargo add performances-testing
```
# Usage
```rust
#[macro_use]
extern crate maplit;
use performances::take;
fn kool() -> bool
{
return false;
}
fn look() -> bool
{
return true;
}
fn s() -> i32
{
return 0;
}
fn f() -> i32
{
return 1;
}
fn get_fans() -> i32
{
return 5;
}
take!(hashmap!{
"f" => f as fn() -> i32,
"s" => s as fn() -> i32,
"get_fans" => get_fans as fn() -> i32,
});
take!(hashmap!{
"kool" => kool as fn() -> bool,
"look" => look as fn() -> bool,
});
take!(hashmap!{
"pause" => pause ,
});
```
```shell
./target/debug/performances-testing
```
