malory

Crates.iomalory
lib.rsmalory
version0.2.1
sourcesrc
created_at2021-01-11 08:56:26.041988
updated_at2021-01-20 06:34:28.548079
descriptionA tool to benchmark Async Functions (Futures)
homepage
repositoryhttps://github.com/dt665m/malory-rs
max_upload_size
id340155
size6,382
Denis Tsai (dt665m)

documentation

README

Malory

Crates.io MIT licensed Build Status

Malory is a rust async benchmarking tool using Tokio.

Usage

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;
}
Commit count: 8

cargo fmt