[Webkit-unassigned] [Bug 99517] run-perf-tests should have a --profile option for easy profiling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 16 16:05:57 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=99517





--- Comment #1 from Eric Seidel <eric at webkit.org>  2012-10-16 16:06:48 PST ---
DYLD_FRAMEWORK_PATH=~/Projects/WebKit/WebKitBuild/Release instruments -t "resources/TimeProfile20us.tracetemplate" ../../WebKitBuild/Release/DumpRenderTree ../Dromaeo/dom-query.html

works for Mac.  It's not yet clear to me the exact design I want here.  Presumably we'd hand the Driver some sort of delegate object and it would know how to call out to it to adjust things like it's command line, or right after it started, or adjust it's environment.

For Instruments, we can either:
- Wrap the DRT call in an instruments call OR
- Use 'instruments -p PID' to attach after the fact
In either case we'll need to provide a template file, as configuring instruments from the command line doesn't seem practical.

For perf, I believe we need to wrap the call in "perf record", similar to the first option for instruments:
https://perf.wiki.kernel.org/index.php/Main_Page

For pprof, we just need to set an environment variable.

For valgrind/callgrind we would need to wrap the call.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list