Files
tmail-flutter/scripts/memory_report/model.py
T
Dang Dat 4707aa7188 ci: add memory sidecar and leak report
The sidecar takes heap snapshots over CDP on web. The report applies rules
R1-R5 to the before and after samples and always renders a summary.

Refs #4365
2026-11-06 15:40:29 +07:00

21 lines
319 B
Python

"""Related comparison inputs and evaluated rule values."""
from dataclasses import dataclass
@dataclass
class Comparison:
before: dict
after: dict
platform: str
rules: dict
config: dict
names: set
@dataclass
class RuleResult:
label: str
values: tuple
limit: str
passed: bool