[cfe-dev] [LLVMdev] 2 experimental projects

Mike Stump mrs at apple.com
Wed Mar 19 18:42:57 PDT 2008


On Mar 19, 2008, at 1:38 PM, Gabor Greif wrote:
> My measurements on a 4-processor machine have
> shown test time reduction of 60% when the tests were
> invoked as "make test -j8".

My testing shows that -j4 is the sweet spot on my MacPro with 4 CPUs  
for cfe.

   17.334 --> 7.681

Nice, thanks.  Anyway, := evaluates the variable once, = merely  
substitutes it, causing it to be run multiple times.  With the below  
patch we go from 4 evaluations to 2.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: application/octet-stream
Size: 564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080319/140fbc04/attachment.obj>
-------------- next part --------------



More information about the cfe-dev mailing list