mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Implement read_report RPC
This commit is contained in:
@ -36,6 +36,10 @@ class MemUsageRPC(BaseRPCHandler):
|
||||
)
|
||||
return memusage.list_reports(report_dir)[-1]
|
||||
|
||||
@staticmethod
|
||||
def read_report(path):
|
||||
return memusage.read_report(path)
|
||||
|
||||
def summary(self, report_path):
|
||||
max_top_items = 10
|
||||
report_dir = os.path.dirname(report_path)
|
||||
|
Reference in New Issue
Block a user