[cfe-dev] Measuring memory and CPU usage

Douglas Gregor dgregor at apple.com
Fri Dec 26 09:42:32 PST 2008


On Dec 26, 2008, at 5:19 AM, John Kelley wrote:

> What is the generally acceptable way of measuring memory usage and CPU
> usage for clang when comparing code changes?


For simple tests, we just time the compilation (with -E, -fsyntax- 
only, or whatever is appropriate for the change you're making) of  
Carbon/Carbon.h or Cocoa/Cocoa.h.

	- Doug



More information about the cfe-dev mailing list