Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6137efe4895017b2236d516299e70acab922e54a
      
https://github.com/WebKit/WebKit/commit/6137efe4895017b2236d516299e70acab922e54a
  Author: Dewei Zhu <[email protected]>
  Date:   2025-04-06 (Sun, 06 Apr 2025)

  Changed paths:
    M Tools/Scripts/build-and-collect-pgo-profiles
    A Tools/Scripts/collect-pgo-profiles
    M Tools/Scripts/pgo-profile
    A Tools/Scripts/webkitpy/llvm_profile_utils.py

  Log Message:
  -----------
  Add collect-pgo-profiles script to support collection on iOS.
https://bugs.webkit.org/show_bug.cgi?id=290715
rdar://148177797

Reviewed by Stephanie Lewis.

Move PGO profile collection to a standalone script from 
'build-and-collect-pgo-profiles'.
Move 'llvm-profdata' operations from 'pgo-profile' into a separate module and 
make it be
able to try different `llvm-profdata` binaries.

* Tools/Scripts/build-and-collect-pgo-profiles: Moved collect pgo profile logic 
into
collect-pgo-profiles script.
* Tools/Scripts/collect-pgo-profiles: This script supports passing additional 
arguments
to run-benchmark and specifying a custom run-benchmark script.
(check_or_create_empty_directory):
(collect_pgo_profiles):
(main):
* Tools/Scripts/pgo-profile: Move llvm-profdata operations to 
'llvm_profile_utils'.
(pad):
(shortened):
(assert_directory):
(assert_file):
(summarize_parser):
(summarize):
(merge_parser):
(merge):
(combine_parser):
(combine):
(compress):
(shell): Deleted.
* Tools/Scripts/webkitpy/llvm_profile_utils.py: Modules for llvm-profdata 
operations.
(locate_xcrun_binary):
(simplify_profile_weights):
(ExecutablesFromEnvAndXcode):
(ExecutablesFromEnvAndXcode.detect_binaries):
(ExecutablesFromEnvAndXcode.preference_ordered_paths):
(ExecutablesFromEnvAndXcode.run):
(LLVMProfDataExecutable):
(LLVMProfileData):
(LLVMProfileData.show):
(LLVMProfileData.merge):
(LLVMProfileData.compress):
(merge_raw_profiles_in_directory_by_prefixes):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to