| Crates.io | malory |
| lib.rs | malory |
| version | 0.2.1 |
| created_at | 2021-01-11 08:56:26.041988+00 |
| updated_at | 2021-01-20 06:34:28.548079+00 |
| description | A tool to benchmark Async Functions (Futures) |
| homepage | |
| repository | https://github.com/dt665m/malory-rs |
| max_upload_size | |
| id | 340155 |
| size | 6,382 |
Malory is a rust async benchmarking tool using Tokio.
use malory;
#[tokio::main]
fn main() {
let iterations = 1000;
let parallelism = 5;
let context = "That's how you get ants.";
malory::judge_me(iterations, parallelism, context, |ctx, i| async { true }).await;
}