[cfe-dev] Some clang benchmarking on Windows
Francois Pichet
pichet2000 at gmail.com
Mon Oct 11 15:05:16 PDT 2010
On Mon, Oct 11, 2010 at 4:12 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Francois Pichet <pichet2000 at gmail.com> writes:
>
>> On Mon, Oct 11, 2010 at 3:12 PM, Óscar Fuentes <ofv at wanadoo.es> wrote:
>>> Francois Pichet <pichet2000 at gmail.com>
>>> writes:
>>>
>>> [snip]
>>>
>>>> Now we need a way to create a new configuration using CMake to enable
>>>> LTO compilation with MSVC.
Thank you.
I tested and I was disappointed.. I don't think it is worth adding a
new configuration for LTO using MSVC:
result:
size: win32 /O2 + LTO: 12.1MB (save 0.1 meg)
speed: win32 /O2 + LTO: 5.4s (save 0.1 second)
+ the link-time took an eternity (something like 20 mins, could be
more) and close to 1 gig of RAM.
More information about the cfe-dev
mailing list