clang-build-analyzer
« Back to VersTracker
Description:
Tool to analyze compilation time
Type: Formula  |  Latest Version: 1.6.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ clang build-system profiling performance
Install: brew install clang-build-analyzer
About:
ClangBuildAnalyzer parses Clang's -ftime-trace JSON files to identify compilation bottlenecks. It aggregates data to show which templates, functions, or files consume the most time. This enables developers to optimize their C++ build performance effectively.
Key Features:
  • Parses Clang's -ftime-trace JSON output
  • Aggregates data across multiple files
  • Identifies slow template instantiations
  • Provides a clear, hierarchical view of build times
Use Cases:
  • Diagnosing slow C++ build times
  • Optimizing heavy template usage
  • Identifying expensive header includes
Alternatives:
  • ClangBuildAnalyzer (native) – The upstream C++ version; this Homebrew formula provides a pre-packaged build.
  • Tracy Profiler – Broader real-time profiling, but requires code instrumentation.
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)
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 7:59pm 0 VERSION_BUMP 7ca34ba2