Changeset 84797 in webkit


Ignore:
Timestamp:
Apr 25, 2011 1:50:56 PM (13 years ago)
Author:
sfalken@apple.com
Message:

2011-04-25 Steve Falkenburg <sfalken@apple.com>

Reviewed by Brian Weinstein.

WebCore build on Windows should include windows.h in its precompiled header to speed builds
https://bugs.webkit.org/show_bug.cgi?id=59339

windows.h is included by several of the underlying wtf headers, including Atomics.h and
ThreadingPrimitives.h anyway, so include it in the WebCorePrefix.h to speed up compilation.


On my 8 core Mac Pro, this reduces a clean rebuild of debug WebCore from 8 minutes to 7 minutes
(a 12% speedup).

  • WebCorePrefix.h: Include windows.h
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84793 r84797  
     12011-04-25  Steve Falkenburg  <sfalken@apple.com>
     2
     3        Reviewed by Brian Weinstein.
     4
     5        WebCore build on Windows should include windows.h in its precompiled header to speed builds
     6        https://bugs.webkit.org/show_bug.cgi?id=59339
     7
     8        windows.h is included by several of the underlying wtf headers, including Atomics.h and
     9        ThreadingPrimitives.h anyway, so include it in the WebCorePrefix.h to speed up compilation.
     10       
     11        On my 8 core Mac Pro, this reduces a clean rebuild of debug WebCore from 8 minutes to 7 minutes
     12        (a 12% speedup).
     13
     14        * WebCorePrefix.h: Include windows.h
     15
    1162011-04-25  Martin Robinson  <mrobinson@igalia.com>
    217
  • trunk/Source/WebCore/WebCorePrefix.h

    r72327 r84797  
    133133   it explicitly here to make Windows more consistent with Mac. */
    134134#include <CFNetwork/CFNetwork.h>
     135#include <windows.h>
    135136#else
    136137#include <CoreServices/CoreServices.h>
Note: See TracChangeset for help on using the changeset viewer.