Re: profiling differences using an extra function call

2009-11-23 Thread Lie Ryan
marc magrans de abril wrote: Hi, I was a trying to profile a small script and after shrinking the code to the minimum I got a interesting profile difference. Given two test functions test1 and test2, that only differs from an extra level of indirection (i.e. find_substr), That's because there

profiling differences using an extra function call

2009-11-23 Thread marc magrans de abril
Hi, I was a trying to profile a small script and after shrinking the code to the minimum I got a interesting profile difference. Given two test functions test1 and test2, that only differs from an extra level of indirection (i.e. find_substr), I wonder why I got a timming difference >50%? What is