Skip to content

Compiling with -O is 30 times slower than with -Onot

This is a performance bug. In 6.8.1, compiling Serge's !DoCon package, the "!DoCon test" does build under -O and -O2, but it builds 30 times slower that under -Onot. As a result: install.txt recommends -Onot for "making" the test.

The following two points are not bugs, but maybe, need investigation, I do not know.

  • The size of the .a library for docon under -O remains almost 3/2 larger than in 6.6.1.
  • -O remains a little better than -O2 for `making' docon, -O2 does not increase the code performance for docon.

All this can be reproduced by downloading

http://www.botik.ru/pub/local/Mechveliani/docon/2.11-pre/

Serge

Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information