Registry / utility / stopwatch

stopwatch

JSON →
library0.0.7rscratesunverified

A simple stopwatch library for timing code execution in Rust.

# Cargo.toml [dependencies] stopwatch = "0.0.7"
INSTALL
IMPORT
SIG · STOPWATCH
S
stopwatch
utilityrustv0.0.7
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.

Stopwatch
use stopwatch::Stopwatch;

Times code execution with start/stop functionality.

use stopwatch::Stopwatch; let mut sw = Stopwatch::start_new(); // ... do work ... sw.stop(); println!("Elapsed: {} ms", sw.elapsed_ms());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
stopwatch — cargo add stopwatch · libregistry