[webkit-dev] PSA: --profile works in run-webkit-tests now too

Eric Seidel eric at webkit.org
Thu Mar 7 20:28:57 PST 2013


As of http://trac.webkit.org/changeset/144719

--profile and --profiler= work in run-webkit-tests, just like they do in
run-perf-tests.

For example you can find out why your/favorite/tests are so slow with:
run-webkit-tests your/favorite/tests --profile

RWT will sample each DRT instance and print out instructions on how to view
it (or show you the top 10 samples if you're on an OS with command-line).

On my Mac, it says something like:
iprofiler: Profiling process 21958 (DumpRenderTree) for 10 seconds
iprofiler: Session saved at
/Users/eseidel/Projects/WebKit/Source/WebKit/chromium/webkit/Release/layout-test-results/test-72.dtps

I've found these incredibly useful for making WebKit faster, and I hope you
do too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130307/7eb3b577/attachment.html>


More information about the webkit-dev mailing list