Registry / utility / deno-bench-util

deno-bench-util

JSON →
library0.239.0rscratesunverified

Benchmark and profiling utilities for Deno crates, used internally by the Deno project.

# Cargo.toml [dependencies] deno_bench_util = "0.239.0"
INSTALL
IMPORT
SIG · DENO-BENCH-UTIL
D
deno-bench-util
utilityrustv0.239.0
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_or_profile
use deno_bench_util::bench_or_profile;

Run a simple benchmark using bench_or_profile.

use deno_bench_util::bench_or_profile; bench_or_profile(|| { // code to benchmark let _ = 1 + 1; });
Debug
Known issues
breakingPrimarily intended for internal Deno development; API may change without notice.
fix
Pin to a specific version if used externally.
affects: >=0.239.0
Upgrade
Version history
0.239.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
deno-bench-util — cargo add deno-bench-util · libregistry