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]

Re: some profiling numbers


On Wednesday, June 25, 2003, at 04:47 PM, Steven Bosscher wrote:
One thing you point out is that the slowdown is more or less a result of GCC just getting bigger. Does that mean that the extra passes over the whole chain of insns or trees may be blamed for much of the slowdown? Is there any way to measure how many times different GCC versions walks large chains of insns/trees, and where?

Yes. Devang posted a graphic that had this info in it. He instrumented TREE_CODE and plotted address on the Y axis and time on the X axis. You can watch the compiler stop through all of memory, over and over and over again. Each time, you know it is pulling out of DRAM. This is why passes cost 2% of the compile time, or so, it takes that much time to hit everything.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]