[all-commits] [llvm/llvm-project] 5047a3: [BOLT][heatmap] Produce zoomed-out heatmaps (#140153)

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri May 30 16:20:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5047a33cd8bb6207fd55cbd684b4ae25b48baa6a
      https://github.com/llvm/llvm-project/commit/5047a33cd8bb6207fd55cbd684b4ae25b48baa6a
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M bolt/docs/Heatmaps.md
    M bolt/include/bolt/Profile/Heatmap.h
    M bolt/include/bolt/Utils/CommandLineOpts.h
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/Heatmap.cpp
    M bolt/lib/Utils/CommandLineOpts.cpp
    M bolt/test/X86/heatmap-preagg.test
    M bolt/tools/heatmap/heatmap.cpp

  Log Message:
  -----------
  [BOLT][heatmap] Produce zoomed-out heatmaps (#140153)

Add a capability to produce multiple heatmaps with given bucket sizes.

The default heatmap block size (64B) could be too fine-grained for
large binaries. Extend the option `block-size` to accept a list of
bucket sizes for additional heatmaps with coarser granularity. The
heatmap is simply rescaled so provided sizes should be multiples of
each other. Human-readable suffixes can be used, e.g. 4K, 16kb, 1MiB.

New defaults: 64B (base bucket size), 4KB (default page size),
256KB (for large binaries).

Test Plan: updated heatmap-preagg.test



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


More information about the All-commits mailing list