This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The test suite has a bunch of very basic C++ tests that are executed an enormous number of times. I've built one with the obvious performance degradation and attached the source, output and reports.Profiling tools are your best friend here. If you don't have access to any, the least you can do is to build the program with -pg option and use gprof tool to find out differences.
Here are some highlights: v4.1: Total absolute time for int8_t constant folding: 30.42 sec v4.6: Total absolute time for int8_t constant folding: 43.32 sec
Thanks, Oleg.
Attachment:
gmon41.prof
Description: Text document
Attachment:
report41
Description: Text document
Attachment:
simple_types_constant_folding.cpp
Description: Text document
Attachment:
report46
Description: Text document
Attachment:
gmon46.prof
Description: Text document
Attachment:
benchmark_shared_tests.h
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |