Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 381fe5dc84066199b69622ed46792e22d89b76da
      
https://github.com/WebKit/WebKit/commit/381fe5dc84066199b69622ed46792e22d89b76da
  Author: Dan Glastonbury <[email protected]>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    A Tools/Scripts/analyze-ftime-trace

  Log Message:
  -----------
  [Tools] Add a script to analyse -ftime-trace output
https://bugs.webkit.org/show_bug.cgi?id=312529
rdar://174966545

Reviewed by Geoffrey Garen.

Utility for analyzing the output of clang -ftime-trace, removing the need to
install ClangBuildAnalyzer. Supports both Xcode and CMake build directory
layouts (recursive JSON search).

Modes:
  - Default: top headers by exclusive (self) parse time
  - --templates: template instantiation hotspots
  - --functions: slowest functions to compile
  - --slowest-tu: TUs with longest frontend/backend time
  - --summary: overall build time breakdown
  - --categories: top event categories
  - --trace-header: drill into include nesting for a specific header in a TU
  - --filter: restrict header output to names matching a substring

* Tools/Scripts/analyze-ftime-trace: Added.

Canonical link: https://commits.webkit.org/311415@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to