[webkit-changes] [WebKit/WebKit] 14e948: [run-api-tests] Report individual test runtime

Jonathan Bedard noreply at github.com
Fri May 26 10:19:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 14e948c74c739093a4daa5040f34d4a9c32caeed
      https://github.com/WebKit/WebKit/commit/14e948c74c739093a4daa5040f34d4a9c32caeed
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/api_tests/manager.py
    M Tools/Scripts/webkitpy/api_tests/runner.py

  Log Message:
  -----------
  [run-api-tests] Report individual test runtime
https://bugs.webkit.org/show_bug.cgi?id=257340
rdar://109845569

Rubber-stamped by Aakash Jain.

* Tools/Scripts/webkitpy/api_tests/manager.py:
(Manager.run): Report elapsed time during test run.
* Tools/Scripts/webkitpy/api_tests/runner.py:
(report_result): Print elapsed time if it exceeds threshold, pass elapsed time
to parent process.
(Runner): Define elapsed time reporting threshold.
(_Worker._run_single_test): Record elapsed time for test.
(_Worker.run): Ditto.

Canonical link: https://commits.webkit.org/264591@main




More information about the webkit-changes mailing list