Code review comment for lp:~prafulla-t/drizzle/drz-fast-timer-and-time-profile-refactoring

Revision history for this message
PrafullaT (prafulla-t) wrote :

Hi,

> Please ask monty (or Lee) to set you up with hudson param build to see how
> this patch does with performance regression on the benchmarks.

I ran few sysbench related test to see how it performs with this patch
Here are results.

With time profiling default on
https://lists.launchpad.net/drizzle-benchmark/msg03728.html

Without time profiling default off
https://lists.launchpad.net/drizzle-benchmark/msg03729.html

Performance becomes pretty bad with this time profiling default on.
This should be due to err_msgprintf which is used to print profile
output along with input command string.

I wrote this patch as an aid to developer working on performance
intensive project, to see which part of code is taking what time
etc. I do not think, this should be default on. We can however make user
timer to get timing information. Developer working
on performance related projects, should turn it on themselves. (Maybe
./configure can be modified to take extra param for this).

Let me know what you think

--
Thanks
Prafulla

« Back to merge proposal