[DCPM] Profiling

Aaron Trevena aaron.trevena at gmail.com
Wed Jan 27 07:26:41 PST 2010


2010/1/26 Simon Waters <simon at technocool.net>:
> 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?

It could be including the xs in the lowest level perl call ?

Are you using version 3 ? ISTR it provided improved XS handling.

A.


-- 
Aaron J Trevena, BSc Hons
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Consulting


More information about the Devoncornwall-pm mailing list