Sorry, tabs seems converted to spaces automatically.
Please use the attachment instead.

2014-07-21 13:13 GMT+08:00 Pengfei Yuan <0xcool...@gmail.com>:
> Hi,
>
> This patch tunes optimization options based on profile data:
> * Disable PGO options if profile is not available or empty.
> * Optimize for size if profile is available but empty.
>
> Here is an experiment on Firefox PGO build:
>
>   CPU                   Intel Core i7-4770
>   RAM                   32 GB
>   OS                    Debian sid amd64
>   Firefox source        mozilla-central, changeset 4bafe35cfb65
>   Compiler              GCC 4.9.2 20140721 (prerelease)
>
> Result:
>
>                         Size of libxul.so  |  Octane benchmark score
>   PGO w/o this patch    67206232              32440.4 +/- 0.35%
>   PGO w/  this patch    66604312              32765.8 +/- 0.56%
>
> With this patch, the size of PGO-built libxul.so decreases by 0.9% and the
> performance improves slightly.
>
> Regards,
>
> Yuan Pengfei
> Peking University

Attachment: gcc.patch
Description: Binary data

Reply via email to