• Victor Stinner's avatar
    bpo-36670: Enhance regrtest (GH-16556) · 098e2567
    Victor Stinner authored
    * Add log() method: add timestamp and load average prefixes
      to main messages.
    * WindowsLoadTracker:
    
      * LOAD_FACTOR_1 is now computed using SAMPLING_INTERVAL
      * Initialize the load to the arithmetic mean of the first 5 values
        of the Processor Queue Length value (so over 5 seconds), rather
        than 0.0.
      * Handle BrokenPipeError and when typeperf exit.
    
    * format_duration(1.5) now returns '1.5 sec', rather than
      '1 sec 500 ms'
    098e2567
win_utils.py 6.41 KB