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.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to