Crates.io | benchtest |
lib.rs | benchtest |
version | 0.1.1 |
source | src |
created_at | 2019-05-19 18:42:26.222154 |
updated_at | 2019-05-19 18:58:00.719513 |
description | Macro for benching and testing simple functions |
homepage | |
repository | https://github.com/scullionw/benchtest |
max_upload_size | |
id | 135309 |
size | 2,313 |
Requires nightly compiler for internal test crate.
#![feature(test)]
use benchtest::benchtest;
// ...
benchtest! {
part_a_test: solve_a(INPUT) => 5434,
part_b_test: solve_b(INPUT) => "agimdjvlhedpsyoqfzuknpjwt"
}