You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Michael Stevens <mi...@iii.co.uk> on 2001/05/14 17:53:04 UTC

performance measurements...

Hi.

I'm trying to work out the reason for some speed problems
I'm having with a complicated embperl based page...

Is there any equivalent of Devel::DProf that will give
me useful and meaningful results on the time spent inside
different sections of my embperl pages?

I've used Devel::DProf, and all I can tell is that my code
spends most if its time inside HTML::Embperl::Req::ExecuteReq,
which isn't really surprising, given that all it does
is run one big embperl page.

Michael

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: performance measurements...

Posted by Gerald Richter <ri...@ecos.de>.
Hi.
>
> I've used Devel::DProf, and all I can tell is that my code
> spends most if its time inside HTML::Embperl::Req::ExecuteReq,
> which isn't really surprising, given that all it does
> is run one big embperl page.
>

For Embperl 2 I would expect more detailed results from Devel::DProf, but I
didn't have tried it so is possible that it didn't work, because the code is
inside an eval. I never had tried this, so I can't tell you...

There also a module named Devel::SmallProf. I don't know if this makes any
difference.

For Embperl 1.x you simply turn on dbgProfile and dbgSource and take a look
into the embperl.log file. I plan to implement a similar feature for Embperl
2.0 too, but it's not on top of my todo list.

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org