in reply to mod_perl vs php performance when accessing Oracle under load
The first job when optimizing is to find out what takes the most time. I highly recommend Devel::NYTProf, it looks like Devel::NYTProf::Apache is taylored for your use case.
One difference is that you use different SELECT queries in PHP and in Perl, and never retrieve any values. It could be that PHP simply doesn't execute the query before you try to fetch a result, so to make the comparison useful, run the same query in both scripts and also retrieve the result.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: mod_perl vs php performance when accessing Oracle under load
by amasidlover (Sexton) on Aug 27, 2012 at 09:14 UTC | |
by amasidlover (Sexton) on Aug 27, 2012 at 10:38 UTC |
In Section
Seekers of Perl Wisdom