macOS
brew install clang-build-analyzerlocal Homebrew formula metadata
brew
Tool to analyze compilation time. Version 1.6.0 via Homebrew; verified from local package data.
install
brew install clang-build-analyzerlocal Homebrew formula metadata
nix profile install nixpkgs#clangbuildanalyzernixpkgs package indexes · pkgs/by-name/cl/clangbuildanalyzer/package.nix · source: api.github.com
overview
Tool to analyze compilation time
history
Clang Build Analyzer is a C and C++ build analysis tool that aggregates Clang -ftime-trace JSON files and reports where compilation time is spent. It is a package-nerd tool for people optimizing slow native builds rather than a general application framework.
The repository was created in August 2019 after Clang 9 introduced -ftime-trace. The README says the tool takes the single-file trace output generated by Clang and aggregates many compilation traces into summaries of slow files, templates, functions, code generation, and expensive headers.
The supplied package-manager data lists Homebrew and Nix packaging. Release metadata shows an initial 1.0.0 release labeled 'Initial release' and later releases tracking newer Clang support, including Clang 19 support in 1.6.0.
A typical workflow starts capture with ClangBuildAnalyzer --start, builds with Clang 9 or later using -ftime-trace, stops capture with --stop, and runs --analyze on the produced capture file. A ClangBuildAnalyzer.ini file in the working directory controls how many expensive files, templates, functions, and headers are reported.
It matters because it packages a practical workflow around a compiler diagnostic format. For large C++ codebases, it turns a pile of per-object JSON traces into actionable package-maintainer and build-engineer questions: which headers, templates, source files, or compiler phases are costing rebuild time?
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.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./ClangBuildAnalyzer.iniexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ClangBuildAnalyzer | cli | global executable |
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.
https://github.com/aras-p/ClangBuildAnalyzer
install metadata
| Package key | brew:clang-build-analyzer |
|---|---|
| Version | 1.6.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/clang-build-analyzer |
| Homepage | https://github.com/aras-p/ClangBuildAnalyzer |
| Repository | https://github.com/aras-p/ClangBuildAnalyzer |
| Upstream docs | https://github.com/aras-p/ClangBuildAnalyzer#readme |
| License | Unlicense AND Zlib AND MIT AND BSL-1.0 AND BSD-3-Clause AND Apache-2.0 AND BSD-2-Clause AND (Apache-2.0 WITH LLVM-exception) |
| Source archive | https://github.com/aras-p/ClangBuildAnalyzer/archive/refs/tags/v1.6.0.tar.gz |
| Build dependencies | cmake |
| Uses from macOS | llvm |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clang-build-analyzer |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
clangbuildanalyzer
nix profile install nixpkgs#clangbuildanalyzersource 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.