mirror of
https://github.com/esphome/esphome.git
synced 2025-10-22 03:33:52 +01:00
preen
This commit is contained in:
@@ -183,9 +183,9 @@ class MemoryAnalyzerCLI(MemoryAnalyzer):
|
|||||||
f"{len(symbols):>{self.COL_CORE_COUNT}} | {percentage:>{self.COL_CORE_PERCENT - 1}.1f}%"
|
f"{len(symbols):>{self.COL_CORE_COUNT}} | {percentage:>{self.COL_CORE_PERCENT - 1}.1f}%"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Top 10 largest core symbols
|
# Top 15 largest core symbols
|
||||||
lines.append("")
|
lines.append("")
|
||||||
lines.append("Top 10 Largest [esphome]core Symbols:")
|
lines.append("Top 15 Largest [esphome]core Symbols:")
|
||||||
sorted_core_symbols = sorted(
|
sorted_core_symbols = sorted(
|
||||||
self._esphome_core_symbols, key=lambda x: x[2], reverse=True
|
self._esphome_core_symbols, key=lambda x: x[2], reverse=True
|
||||||
)
|
)
|
||||||
|
@@ -13,9 +13,9 @@ what files have changed. It outputs JSON with the following structure:
|
|||||||
"component_test_count": 5,
|
"component_test_count": 5,
|
||||||
"memory_impact": {
|
"memory_impact": {
|
||||||
"should_run": "true/false",
|
"should_run": "true/false",
|
||||||
"component": "component_name",
|
"components": ["component1", "component2", ...],
|
||||||
"test_file": "test.esp32-idf.yaml",
|
"platform": "esp32-idf",
|
||||||
"platform": "esp32-idf"
|
"use_merged_config": "true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ The CI workflow uses this information to:
|
|||||||
- Skip or run Python linters (ruff, flake8, pylint, pyupgrade)
|
- Skip or run Python linters (ruff, flake8, pylint, pyupgrade)
|
||||||
- Determine which components to test individually
|
- Determine which components to test individually
|
||||||
- Decide how to split component tests (if there are many)
|
- Decide how to split component tests (if there are many)
|
||||||
- Run memory impact analysis when exactly one component changes
|
- Run memory impact analysis when components change
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
python script/determine-jobs.py [-b BRANCH]
|
python script/determine-jobs.py [-b BRANCH]
|
||||||
|
Reference in New Issue
Block a user