[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38322: GCC optimize levels makes huge impact on performance
From: |
Paul Eggert |
Subject: |
bug#38322: GCC optimize levels makes huge impact on performance |
Date: |
Thu, 2 Jan 2020 02:08:27 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 11/22/19 5:52 PM, Paul Eggert wrote:
> If we do want to tune grep for set-like operations, that suggests doing some
> surgery to its internals rather than merely fiddling with -O flags.
Since I last wrote, some of that surgery has been done by another grep
contributor, and a simple 'grep -f file1 file2' benchmark that I just now tried
sped up from 47 seconds (for grep 3.1) to 2.3 seconds (for the next version of
grep). So this algorithmic change should far outweigh any GCC optimization level
change.
Anyway, the topic seems to have died down so I'm closing the bug report.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#38322: GCC optimize levels makes huge impact on performance,
Paul Eggert <=