TracerNest Bench results

Benchmark methodology

The TracerNest project maintains this benchmark portal. The suite measures Node.js logging and observability workloads and reports their cost under recorded configurations. Project-maintained results can be independently reproduced with the run configuration, package versions and raw samples.

Workloads and comparisons

Plain logger comparisons send the same info message. Structured comparisons add a request ID, duration and a nested response object. The suite exercises TracerNest, Node Console, Pino, Winston, Bunyan, Log4js, Errsole, Roarr, Bole, tslog, loglevel and Signale. The result explorer discloses each configured serialization, buffering and completion path. Measure equivalent output and retention before drawing comparative efficiency conclusions.

TracerNest keeps records in a searchable, bounded in-memory ring. The other logger paths deliver to counting sinks that discard outputs. Errsole waits for its expected deliveries within the timed interval. Logging comparison paths exclude durable writes. HTTP monitoring uses paired loopback applications with the same inputs and schedules. The client and server share the worker process.

Sampling and metrics

Each measured sample runs in a fresh Node.js process. It performs configured warm-ups with separate state, then times the workload. Explicit GC and resource sampling are recorded. Cleanup and result verification normally happen outside the timed interval. Startup and recovery workloads include their named operations. Publication defaults to 10 independent samples. Fewer than 10 samples are labeled preliminary in the portal.

Throughput
Completed workload operations divided by elapsed wall time. HTTP throughput counts attempts and reports expected and unexpected errors separately.
Distribution
Mean and median describe the sample center. Population variance is the mean squared distance from the mean, and standard deviation is its square root. For nonnegative observations with a positive mean, CV is standard deviation divided by mean. A small sample count or skew can make dispersion estimates unstable.
Latency and event-loop delay
HTTP percentiles come from individual latency observations within each measured sample. Event-loop percentiles come from the Node histogram. A median of per-sample P95 values is different from the P95 of pooled requests. Archived summaries cannot reconstruct request distributions or confidence intervals.
CPU and memory
CPU utilization normalizes process CPU time by wall time and available parallelism. Periodic memory sampling can miss brief peaks. RSS high-water includes warm-up and setup. Post-GC heap is a point measurement with workload state still retained.
Retention
Processed operations can exceed configured capacity. The ring overwrites the oldest record as capacity fills. The retention workload checks the final records and their order. Recent timestamp bookkeeping has a separate lifetime from retained records.

Reproduce and interpret

Use the installed Node version listed in the run. Install locked dependencies with npm ci --ignore-scripts. Use npm run benchmark -- --profile quick --version 2.0.1 --samples 3 --warmups 1 --no-publish for a short example. Substitute the exact version, profile and sample settings from the downloadable run config. Full and Publication runs are explicit, long-running operations.

Compare releases only when methodology, engine fingerprint, execution environment, sample configuration and workload definitions are compatible. Shared runner contention can still affect measurements. Skipped, unsupported and failed workloads carry explanations. Older archives may lack runtime flags, elapsed suite duration, and lifecycle counts.

Artifact manifest and SHA-256 checksums