hdrhistogram_c
« Back to VersTracker
Description:
C port of the HdrHistogram
Type: Formula  |  Tracked Since: Jan 27, 2026
Links: Homepage  |  GitHub  |  formulae.brew.sh
Stars: 268  |  Forks: 106  |  Language: C  |  Category: Developer tools
Tags: performance metrics histogram latency c-library monitoring
Install: brew install hdrhistogram_c
About:
hdrhistogram_c is a high-performance C library for recording and analyzing latency and performance data with high dynamic range and low overhead. It provides compact, lossless histograms that can capture measurements across many orders of magnitude, from nanoseconds to days. This makes it ideal for performance-sensitive applications requiring precise latency tracking and statistical analysis.
Key Features:
  • High dynamic range recording from nanoseconds to days
  • Low memory footprint and overhead
  • Lossless compression of recorded data
  • Support for log-linear and linear value scaling
  • Thread-safe implementations and serialization utilities
Use Cases:
  • Performance monitoring and latency analysis in distributed systems
  • Benchmarking and profiling C/C++ applications
  • Real-time telemetry and metrics collection in embedded systems
Alternatives:
  • prometheus-histogram – Prometheus client libraries offer histograms but with fixed buckets and less dynamic range, suited for metrics aggregation rather than precise latency analysis.
  • tdigest – Provides approximate quantiles with high accuracy but focuses on streaming data analysis rather than high-resolution, lossless histograms.
Version History
Detected Version Rev Change Commit
Jan 27, 2026 12:09am 0 META c56bbe19