[PATCH 6/6] binman: Add basic support for debugging performance

Simon Glass sjg at chromium.org
Thu Jul 22 04:11:54 CEST 2021


One of binman's attributes is that it is extremely fast, at least for a
Python program. Add some simple timing around operations that might take
a while, such as reading an image and compressing it. This should help
to maintain the performance as new features are added.

This is for debugging purposes only.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/control.py    |  3 ++
 tools/binman/etype/blob.py |  5 +++
 tools/binman/ftest.py      |  8 +++++
 tools/binman/state.py      | 72 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 88 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list