macOS
brew install countslocal Homebrew formula metadata
brew / rank 7714
Tool for ad hoc profiling. Version 1.0.7 via Homebrew; verified from local package data.
install
brew install countslocal Homebrew formula metadata
overview
Tool for ad hoc profiling
history
counts is a Rust command-line tool for ad hoc profiling by tallying repeated text lines and presenting frequency and weighted-frequency summaries.
The public repository was created in 2018. The README positions `counts` as an improved alternative to the Unix `sort | uniq -c` pipeline for profiling data gathered from logging print statements.
The project reached a 1.0.0 release in 2023 and continued with later 1.0.x releases.
Official installation is through `cargo install counts`, with Homebrew adding a binary-package route for users who prefer system package managers.
The tool is commonly used by inserting temporary logging into a program, piping or saving those logs, and then using `counts` to aggregate hot paths, loop counts, allocation sizes, or other domain-specific measurements.
The README includes a Firefox heap allocator instrumentation example, showing `counts` applied to millions of log lines and weighted byte totals.
For package nerds, `counts` is interesting because it deliberately packages a Unix-pipeline-shaped workflow as a fast single-purpose Rust binary: no daemon, no config, and no profiler integration required.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
counts | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:counts |
|---|---|
| Version | 1.0.7 |
| Package manager | Homebrew |
| Homepage | https://github.com/nnethercote/counts |
| Repository | https://github.com/nnethercote/counts |
| Bottle | not recorded |
| Service | none declared |
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.