[DCPM] Profiling
Simon Waters
simon at technocool.net
Mon Jan 25 23:55:00 PST 2010
Having fun profiling our big Perl app at work.
I think I have NYTProf working sensibly.
A lot of time is spent in YAML, and attempt to switch to YAML::XS seemed
subjectively faster, but generated a few issues and we never rolled the
change out. The issues are largely I suspect we are using YAML wrongly
but consistently wrongly.
However when I switch YAML::XS for YAML the profiling figures still
claim the method that takes most time in YAML is taking a long time, but
it isn't assigning this time to YAML::XS.
Is this typical?
The process is running as an Apache2 fcgid server if this is relevant?
It sure made figuring out how to run NYTProf interesting, although of
course once I understood what change to make it was only a four line
change to the Apache virtualhost section.
Simon
More information about the Devoncornwall-pm
mailing list