Registry / testing / easybench

easybench

JSON →
library1.1.1rscratesunverified

A lightweight benchmarking library for Rust, providing simple macros to measure code performance.

# Cargo.toml [dependencies] easybench = "1.1.1"
INSTALL
IMPORT
SIG · EASYBENCH
E
easybench
testingrustv1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bench
✓ use easybench::bench;

Benchmarks a simple loop summing numbers.

use easybench::bench; fn main() { let result = bench(|| { let mut sum = 0; for i in 0..1000 { sum += i; } sum }); println!("Benchmark result: {:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
easybench — cargo add easybench · libregistry