Bug 259669

Summary: [run-benchmarks] Use `ktrace artrace` for profiling browser benchmarks
Product: WebKit Reporter: hysu <hysu>
Component: Tools / TestsAssignee: hysu <hysu>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description hysu 2023-07-31 16:16:23 PDT
https://bugs.webkit.org/show_bug.cgi?id=247496 implemented the `--profile` argument into run-benchmarks, but until now this hasn't done anything.

On macOS, we should use `ktrace artrace`, and allow the user to specify a trace type (either `full` or `profile`).
Comment 1 Radar WebKit Bug Importer 2023-07-31 16:17:11 PDT
<rdar://problem/113167762>
Comment 2 hysu 2023-07-31 16:26:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16252
Comment 3 EWS 2023-08-01 14:26:18 PDT
Committed 266492@main (4b03459ba7f6): <https://commits.webkit.org/266492@main>

Reviewed commits have been landed. Closing PR #16252 and removing active labels.