Re: Analysis of the overhead of frame pointers on gcc compiles

2023-10-21 Thread Richard W.M. Jones
On Sat, Oct 21, 2023 at 12:35:30PM -0700, John Reiser wrote: > Because of the impact of data cache performance, it is important to > state the CPU, RAM, and cache characteristics when measuring performance. > Such as: the beginning of /proc/cpuinfo: I ran the tests a number of times to attempt to

Re: Analysis of the overhead of frame pointers on gcc compiles

2023-10-21 Thread Richard W.M. Jones
On Sat, Oct 21, 2023 at 12:35:30PM -0700, John Reiser wrote: > On 10/20/23 13:23, Richard W.M. Jones wrote: > >Today I've read (twice) that the overhead of frame pointers on the > >runtime of the compiler, GCC, is 10%. This number is nonsense. The > >actual overhead is 1%, and I have done the tes

Re: Analysis of the overhead of frame pointers on gcc compiles

2023-10-21 Thread John Reiser
On 10/20/23 13:23, Richard W.M. Jones wrote: Today I've read (twice) that the overhead of frame pointers on the runtime of the compiler, GCC, is 10%. This number is nonsense. The actual overhead is 1%, and I have done the tests that show this. Both the 1% and the 10% results can be valid. In