Summary: | Get per-file compile times | ||
---|---|---|---|
Product: | WebKit | Reporter: | Nico Weber <thakis> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ap, eric, evan, mihaip, nbhargava, sam |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Description
Nico Weber
2011-04-25 14:59:37 PDT
timing-cc: #!/bin/bash echo $* >> /tmp/time.txt (time gcc "$@") 2>> /tmp/time.txt CC=/path/to/timing-cc build-webkit seems to work. Seems to spit out a bunch of junk at the top of the file, but I think that's just normal gcc stderr output which is normally not displayed by xcodebuild. Follow-up from Sam's session. You probably will want to lock the output file to prevent parallel gcc processes from interleaving. Otherwise Eric's script LGTM. |