Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ccbee78d622ce7b0a4b14db2a811e89feb340424
      
https://github.com/WebKit/WebKit/commit/ccbee78d622ce7b0a4b14db2a811e89feb340424
  Author: Elliott Williams <[email protected]>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M Tools/Scripts/caffeinate-ninja
    M Tools/Scripts/measure-build-time

  Log Message:
  -----------
  [Build perf] Add CMake support to measure-build-time
https://bugs.webkit.org/show_bug.cgi?id=315640
rdar://178018333

Reviewed by Geoffrey Garen and Richard Robinson.

The tool accepts a --cmake flag that performas a CMake+Ninja build.
Alternatively, custom commmands can be provided via --build-command and
(newly added) --configure-command arguments.

The configure step is run during the `clean` test, and its wall time is
attributed to the overall build time.

* Tools/Scripts/caffeinate-ninja: Search the active Xcode toolchain for
  ninja (which falls back to a normal search of the $PATH).
* Tools/Scripts/measure-build-time:
(Task):
(CleanBuild):
(CleanBuild.__init__):
(PatchIncrementalBuild):
(run_test):
(Arguments): Added to provide type hints for parsed arguments.
(get_args): Added.
(main): Split out argument parsing to get_args.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to