2.35 x64 assembler more than 70 times slower than 2.34?

Martin Liška mliska@suse.cz
Wed Aug 19 08:46:27 GMT 2020


On 8/19/20 10:38 AM, Franz Sirl wrote:
> Hi,
> 
> I just stumbled over an extreme slowdown in assembler performance. On a 265 MByte .s file (gcc10 assembly output of a 27000 line C source compiled with debug + ASAN + UBSAN) the assembler of 2.34 takes ~49-59sec, but the 2.35 assembler takes ~65-74min. Both use about 3.6 GBytes of memory. That's quite a performance regression, so hasn't anyone else seen this? Any timed mass rebuilds with binutils-2.35 yet?

You may hit https://sourceware.org/bugzilla/show_bug.cgi?id=26381

Note that I've just send a patch series that should address that:
[v2 0/9] RFC: port gas to use libiberty htab hash table

Martin

> 
> fsirl@ds1:~> time as-2.35 --64 -o sample.o sample.s
> 
> real    74m11.921s
> user    73m45.203s
> sys     0m13.132s
> fsirl@ds1:~> time as-2.34 --64 -o sample.o sample.s
> 
> real    0m49.454s
> user    0m46.331s
> sys     0m2.623s
> 
> Franz



More information about the Binutils mailing list