mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
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
21 lines
319 B
Python
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
|