JSPM

format-chromium-histogram

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q18698F
  • License MPL-2.0

NodeJS re-implementation of Chromium's C++ about://histograms rendering

Package Exports

  • format-chromium-histogram

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (format-chromium-histogram) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

format-chromium-histogram

Chromium-based browsers expose ASCII histogram visualizations through about://histograms, rendered by internal C++ code.

These histograms can also be accessed through the Chrome DevTools Protocol, but only as a raw JSON structure. It's difficult to visualize these, especially when compared to the graphs available on about://histograms.

This repository contains a simple NodeJS re-implementation of Chromium's C++ histogram rendering so that collected histogram data can be used for analysis outside of the browser.

Usage

See print-histogram.js for sample usage.