Skip to content
CAI
Software that uses CAICheck a score

pinojs/pino

58.5

Adequate · 15 November 2026

4.1k

lines of production code

JavaScript

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

New benchmark suite for performance comparison

Added a comprehensive set of benchmark scripts in the \benchmarks/\ directory to measure and compare logging performance. These benchmarks evaluate Pino against Bunyan, Winston, Bole, and debug across various scenarios, including basic logging, child logger creation, deep object handling, long strings, multi-argument interpolation, and multi-stream output.

benchmarks · high confidence

New benchmarking utilities for performance comparison

Added new scripts in benchmarks/utils to automate and document performance benchmarks. The generate-benchmark-doc.js script runs specific benchmarks (basic, object, deep-object) and outputs the results as Markdown for documentation. The runbench.js utility executes various benchmark scenarios (including child loggers and formatters) and displays averaged timing results along with system information. The wrap-log-level.js helper modifies the loglevel library to inject timestamps, enabling fair performance comparisons between Pino and other logging libraries.

benchmarks/utils · high confidence

New examples for basic usage and transport configuration

Added two new example files: \examples/basic.js\ demonstrates standard Pino logging to stdout with human-readable output via pino-pretty, and \examples/transport.js\ shows how to configure pino.transport() to write logs to multiple targets, including a file and pino-pretty, using modern node: imports.

examples · high confidence

Removals

Pino CLI removed in favor of pino-pretty

The \pino\ CLI entry point has been removed. Running the \pino\ command now exits with an error and directs users to use the \pino-pretty\ CLI instead. This change reflects the architectural decision to separate the core logging library from formatting concerns, ensuring the main package remains lightweight while formatting is handled by the dedicated \pino-pretty\ module.

(repo-wide) · high confidence

Behavioural changes

Automated version synchronization between package.json and library metadata

A new build script (build/sync-version.js) has been introduced to automatically keep the library's internal version metadata in sync with the project's package.json. When executed with a specific version argument, the script updates package.json if the versions differ and writes the current version to lib/meta.js, ensuring that the published package and its runtime metadata always reflect the same version number.

build · high confidence

Major internal refactoring and API modernization

The library has undergone a significant internal restructuring to modernize its architecture and improve maintainability. Key changes include the introduction of a new \lib/caller.js\ module for improved stack trace analysis, the extraction of log level definitions into \lib/constants.js\, and the implementation of a dedicated deprecation warning system via \lib/deprecations.js\. The core logging logic has been reorganized, with \lib/proto.js\ now using a factory pattern for prototype creation to fix scoping issues, and \lib/levels.js\ updated to support custom level comparisons and sorting orders. Additionally, \lib/redaction.js\ has been rewritten to use the \@pinojs/redact\ package for more robust path handling, and \lib/transport.js\ now includes enhanced security measures to sanitize \NODE\_OPTIONS\ and prevent infinite worker spawning during preload phases.

lib · high confidence

New internal benchmarks for custom levels, child loggers, and redaction

Added five new internal benchmark scripts in the \benchmarks/internal\ directory to measure performance characteristics of specific logging features. \custom-levels.js\ benchmarks the overhead of using custom log levels and their inheritance in child loggers. \just-pino.bench.js\ and \just-pino-heavy.bench.js\ provide granular performance tests for basic logging, object serialization, string interpolation, and child logger creation across synchronous and asynchronous destinations. \parent-vs-child.bench.js\ specifically measures the cost of nested child logger hierarchies, while \redact.bench.js\ benchmarks the performance impact of redaction configurations, including variations with unsafe mode and asynchronous output.

benchmarks/internal · high confidence

Test coverage

Add TSTyche-based type tests for pino exports and transports; Added Jest test for transport configuration; Added TypeScript test fixtures for transport scenarios; Added comprehensive test suite for transport functionality; Added test fixtures for eval-based caller identification; Added test fixtures for transport and exit behavior; Added test for pretty printing objects with null prototypes; Added test to verify pino version consistency; Added tests for broken pipe handling; Expanded test coverage for browser logger and core logging behaviors.

Dependencies

Pino v10.3.1 release with updated dependencies

Pino has been updated to version 10.3.1, introducing several dependency upgrades that affect runtime behavior and development tooling. Key production dependencies include pino-abstract-transport bumped to v3.0.0, pino-std-serializers to v7.0.0, process-warning to v5.0.0, real-require to v1.0.0, sonic-boom to v4.0.1, and thread-stream to v4.0.0. Development dependencies have also been updated, notably TypeScript to v6.0.2, Jest to v30.0.3, and pino-pretty to v13.0.0.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 58 → 58 (+0.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 74 → 74 (-0.3)
  • Architecture 100 → 100 (+0.0)
  • Maturity 56 → 59 (+3.5)
  • Readiness 47 → 46 (-0.3)
  • Security 75 → 72 (-3.2)
  • Performance 89 → 89 (+0.0)

Resolved (8)

  • Hotspot: browser.js (browser.js)
  • Hotspot: lib/multistream.js (lib/multistream.js)
  • No ADRs found
  • Off-boarding risk: anonymized user #1
  • Scanner failed to run — not a clean result
  • Scanner failed to run — not a clean result
  • tools.createArgsNormalizer (cognitive 24) (lib/tools.js)
  • tools.createArgsNormalizer (cyclomatic 24) (lib/tools.js)

New (5)

  • No ADRs found (package.json)
  • Off-boarding risk: anonymized user #1
  • redundant comment (browser.js)
  • tools.createArgsNormalizer.normalizeArgs (cognitive 24) (lib/tools.js)
  • tools.createArgsNormalizer.normalizeArgs (cyclomatic 24) (lib/tools.js)

Changes since last survey

  • 5 commits — 2 feature/other, 3 fixes

By area

  • (root) — 2 commits
  • lib/tools.js — 2 commits
  • docs/bundling.md — 1 commit

Notable commits

  • fix: fix(types): export namespace types hidden by named default export (#2532)
  • fix: fix: do not crash on process.exit when destination stream is unready (#2326) (#2549)
  • fix: fix: omit msg when it serializes to undefined (#2548)
  • change: docs(types): mark removed safe and levelVal options as having no effect (#2552)
  • change: docs: add Next.js setup and pino-pretty warning to bundling guide (#2536)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

pinojs/pino was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 8d6927c29777882516339d9ccd509869ca3f295e — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.