Configuration for heatmap rendering
| 11 | |
| 12 | @dataclass |
| 13 | class HeatmapConfig: |
| 14 | """Configuration for heatmap rendering""" |
| 15 | width: int = 60 # Number of time buckets to show |
| 16 | height: int = 12 # Number of latency buckets |
| 17 | min_latency_us: int = 1 # Minimum latency in microseconds |
| 18 | max_latency_us: int = 1000000000 # Maximum latency in microseconds (1 second) |
| 19 | use_color: bool = False # Whether to use colors (for terminal) |
| 20 | use_rich_markup: bool = False # Whether to use Rich/Textual markup instead of raw ANSI |
| 21 | |
| 22 | |
| 23 | class LatencyHeatmap: |
no outgoing calls