Simon Glass 5e46a06950 test/py: Add a report show test durations
Execution time varies widely with the existing tests. Provides a way to
produce a summary of the time taken for each test, along with a
histogram.

This is enabled with the --timing flag.

Enable it for sandbox in CI.

Example:

   Duration : Number of tests
   ======== : ========================================
       <1ms :  1
       <8ms :  1
      <20ms : # 20
      <30ms : ######## 127
      <50ms : ######################################## 582
      <75ms : ####### 102
     <100ms : ## 39
     <200ms : ##### 86
     <300ms : # 29
     <500ms : ## 42
     <750ms : # 16
      <1.0s : # 15
      <2.0s : # 23
      <3.0s :  13
      <5.0s :  9
      <7.5s :  1
     <10.0s :  6
     <20.0s :  12

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2025-01-30 14:34:51 -06:00
..
2024-11-09 09:56:45 +01:00
2023-02-11 12:22:35 -05:00
2025-01-06 18:54:44 -06:00
2024-10-18 14:10:22 -06:00
2024-10-11 11:44:47 -06:00
2022-08-13 11:09:49 +02:00
2022-03-02 10:28:12 -05:00
2025-01-27 16:38:46 -06:00
2022-12-17 13:37:33 +00:00
2024-10-11 11:44:48 -06:00
2024-12-31 19:00:46 -06:00