Use temporary files in lto

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 15:19:42 PDT 2016


I tested this on windows and there didn't seem to be a significant
difference: http://reviews.llvm.org/F1864929

-- Sean Silva

On Thu, Apr 28, 2016 at 4:23 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> This is the idea we chatted today to try to avoid mallocs os windows.
> I was surprised to find this a small speedup up on linux (with /tmp in
> tmpfs), so I wonder if we are doing something funny in SmallVector.
>
> Linking llvm-as I got
>
> master: 29.774786873 seconds
> patch 29.752283093 seconds
>
> Could one of you benchmark this on windows? If it is a performance win
> there too I will clean the patch up and send for proper review.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/4d710e5a/attachment.html>


More information about the llvm-commits mailing list