Registry / testing / glassbench

glassbench

JSON →
library0.4.4rscratesunverified

A Rust benchmarking library that also tracks memory usage during benchmarks.

# Cargo.toml [dependencies] glassbench = "0.4.4"
INSTALL
IMPORT
SIG · GLASSBENCH
G
glassbench
testingrustv0.4.4
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 glassbench::Bench;

Creates a new benchmark and runs a simple iteration.

use glassbench::Bench; fn main() { let mut bench = Bench::new("example"); bench.run(|b| { b.iter(|| { let _ = 2 + 2; }); }); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
Amazon
3
Resources
glassbench — cargo add glassbench · libregistry