[wsf-c-dev] Performance :(
Samisa Abeysinghe
samisa at wso2.com
Thu Dec 14 18:30:29 PST 2006
> How do you profile an Apache module? Do you have to recompile all of
> Apache with profiling-enabled?
>
When I first tried gprof few months back, I tried with simple axis
server. I have to figure out how to deal with Apache module, and it is
most likely that we may have to recompile.
> cachegrind (comes with valgrind)
>
This tool looks great. (on mine it is callgrind, or kcachegrind). We do
not need to recompile.
However, it gives an error with httpd, even with -X:
DWARF2 CFI reader: unhandled CFI instruction 0:22
So I ran with simple axis server. The result file for two calls is here:
http://tools.wso2.org/~samisa/callgrind.out.20556. You can use
callgrind_annotate or kcachegrind to view info in desired manner.
Samisa...
More information about the Wsf-c-dev
mailing list