I did a search and didn't find anything really astounding sounding, so I
wanted to ask for some live recommendations from the crowd here.
I was wondering if anyone had used FirePHP with Firebug or could recommend a
good profiling method for figuring out where the slow parts of your PHP
code
I'm curious about solutions that don't require installing something on the
server side, since that's not usually an option with shared web hosting and
all.
Since PHP runs on the server, as part of the webserver, I think it
will be inevitable that you'll need to install something on your
On Tue, Nov 18, 2008 at 10:11 AM, Gryffyn
[EMAIL PROTECTED] wrote:
I did a search and didn't find anything really astounding sounding, so I
wanted to ask for some live recommendations from the crowd here.
I was wondering if anyone had used FirePHP with Firebug or could recommend a
good
- Original Message -
From: Eric Butera [EMAIL PROTECTED]
To: Gryffyn [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Date: Tue, 18 Nov 2008 12:16:04 -0500
Subject: Re: [PHP] PHP performance profiling
On Tue, Nov 18, 2008 at 10:11 AM, Gryffyn
[EMAIL PROTECTED] wrote:
I did a search
De: Richard Lynch [mailto:[EMAIL PROTECTED]
#1
Get the code, install it on a box in the closet, run valgrind
--callgrind
This will give you a stack trace of what gets called the MOST
in your application.
Look for tall trees in the call graph, and fix those first.
#2
You can use 'ab' (apache
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris [EMAIL PROTECTED] wrote:
Just FYI, using ADODB will slow down the performance of your app. Any
function calls cost against you and it all adds up.
If you remove it, then you remove functionality - so before you go and
rip it
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris [EMAIL PROTECTED] wrote:
Just FYI, using ADODB will slow down the performance of your app.
Any function calls cost against you and it all adds up.
If you
Thiago Pojda wrote:
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris [EMAIL PROTECTED] wrote:
Just FYI, using ADODB will slow down the performance of your app.
Any function calls cost against you and it all
On Tue, Mar 4, 2008 at 5:51 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Eric Butera schreef:
On Mon, Mar 3, 2008 at 6:18 PM, Chris [EMAIL PROTECTED] wrote:
Just FYI, using ADODB will slow down the performance of your app. Any
function calls cost against you and it all adds up.
Eric Butera schreef:
On Tue, Mar 4, 2008 at 5:51 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Eric Butera schreef:
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Jochem,
This is probably true. I was just referring to an old
#1
Get the code, install it on a box in the closet, run valgrind --callgrind
This will give you a stack trace of what gets called the MOST in your
application.
Look for tall trees in the call graph, and fix those first.
#2
You can use 'ab' (apache benchmark) or similar to test it externally.
Guys,
I've been asked to build a performance report for a PHP app. I can't profile
it using automated tools as I don't have full access to the server, only to
the application itself.
It's a PHP4 Object-Oriented app, which uses ADODB as abstraction layer with
a Oracle 8i databse. The system
On Mon, Mar 3, 2008 at 12:09 PM, Thiago Pojda
[EMAIL PROTECTED] wrote:
Guys,
I've been asked to build a performance report for a PHP app. I can't profile
it using automated tools as I don't have full access to the server, only to
the application itself.
It's a PHP4 Object-Oriented app,
-Mensagem original-
De: Eric Butera [mailto:[EMAIL PROTECTED]
snip
On Mon, Mar 3, 2008 at 12:09 PM, Thiago Pojda
[EMAIL PROTECTED] wrote:
Guys,
I've been asked to build a performance report for a PHP app. I can't
profile it using automated tools as I don't have full access to the
Thiago Pojda wrote:
Guys,
I've been asked to build a performance report for a PHP app. I can't profile
it using automated tools as I don't have full access to the server, only to
the application itself.
It's a PHP4 Object-Oriented app, which uses ADODB as abstraction layer with
a Oracle 8i
Just FYI, using ADODB will slow down the performance of your app. Any
function calls cost against you and it all adds up.
If you remove it, then you remove functionality - so before you go and
rip it out, check whether it's the bottleneck using xdebug.
I use an abstraction layer all the
On Mon, Mar 3, 2008 at 6:18 PM, Chris [EMAIL PROTECTED] wrote:
Just FYI, using ADODB will slow down the performance of your app. Any
function calls cost against you and it all adds up.
If you remove it, then you remove functionality - so before you go and
rip it out, check whether
These 'benefits' you talk about really only matter if you switch your
databases. If this app is written against Oracle and they never plan
to change it, then it isn't a bad idea to cut out that fat and just
deal with the native interface. Even writing wrapper functions that
are very basic
On Mon, Mar 3, 2008 at 9:21 PM, Chris [EMAIL PROTECTED] wrote:
These 'benefits' you talk about really only matter if you switch your
databases. If this app is written against Oracle and they never plan
to change it, then it isn't a bad idea to cut out that fat and just
deal with the
I have a copy of the files and database, but setting it up is not that
simple. This vb.net is licensed and we don't have license for.
If I could profile the app I'd be more than happy, but that's not going to
happen anytime soon.
What does the vb.net stuff do? Is it the frontend (eg for
on the point of class size; i think this is more a design issue than a
performance issue.
i worked at a place where we had several files w/ classes that were several
thousand lines in size.
one i remember was over 6000 lines long. personally i would never let
something grow that large,
but all
Dear People,
I developed a very large Application, which has at the moment strong
performace problems, while pages are loaded.
At the moment I am trying to lower the number of filesystem calls as
much as I can. I was able allready to lower the rate of filesystem
calls from round about 260 calls,
Hi,
What is your desired performance level on what kind of hardware.
Have look memcached,
General performance tip do not include more than 10 files a page load.
I had CMS project too. Sometimes it uses 10 MB of php memory (generally uses 3
mb of php memory). It uses Memcached in every way
On Fri, July 20, 2007 2:25 am, Sascha Braun, CEO @ ejackup.com wrote:
I developed a very large Application, which has at the moment strong
performace problems, while pages are loaded.
Look into valgrind/callgrind to get an idea of where all your time is
being spent.
Optimizing something that
On Friday 20 July 2007, Sascha Braun, CEO @ ejackup.com wrote:
Dear People,
The webserver does only contain the webspace filesystem structure as
well as 5 line of PHP Code dummies, for every document in the content
management system, to avoid the usage of mod_rewrite.
I inherited a CMS at
Any recommendations on how to make PHP run faster?
I have a script pulling a lot of data from MySQL and generating reports and
spitting out data (flush) as it's processing so I can see what's going on.
It was taking around 10 seconds to process each order. I reduced the total
number of orders
[snip]
I figured PHP's memory limit per script at 8mb might be the
bottleneck, so I upped it to 128, restarted apache, and reran
the script. Increasing available memory had no effect.
[/snip]
This may have already been addressed, but did you index any key fields?
alex hogan
[snip]
Any recommendations on how to make PHP run faster?
[/snip]
A multiple CPU box. (It's a legitimate answer!)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Any recommendations on how to make PHP run faster?
[/snip]
A multiple CPU box. (It's a legitimate answer!)
I usually add more gerbils to my spinning wheel.
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
,
Warren Vail
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 12:16 PM
To: Ed Lazor; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP performance
[snip]
Any recommendations on how to make PHP run faster?
[/snip]
A multiple CPU box. (It's
Jay Blanchard wrote:
[snip]
Any recommendations on how to make PHP run faster?
[/snip]
A multiple CPU box. (It's a legitimate answer!)
Lot of good that did. I just threw 8 socket 7 AMD processors into a
box, and PHP isn't even the slightest bit faster.
--
John C. Nichel
ÜberGeek
KegWorks.com
-Original Message-
This may have already been addressed, but did you index any key fields?
I do have some indices created, but I'll check to see if there are more than
can boost things.
Thanks =)
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Good point Jay. Luckily the server has dual 2.4gh xeon's with 2gig of ram
*grin*
-Original Message-
[snip]
Any recommendations on how to make PHP run faster?
[/snip]
A multiple CPU box. (It's a legitimate answer!)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
* Thus wrote Ed Lazor:
Any recommendations on how to make PHP run faster?
To help figure out which queries are running slow there is the
php.ini setting:
mysql.trace_mode=On
Using this will have the php library analyze your queries and if
any of them do table scans php will issue a warning
Lot of good that did. I just threw 8 socket 7 AMD processors into a
box, and PHP isn't even the slightest bit faster.
Did you try a curveball when throwing the processors into the box?
-Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Vail, I'll check that out.
-Ed
-Original Message-
If your problem is with a long running MySQL Query, and many of mine have
been, I would suggest you read
http://dev.mysql.com/doc/mysql/en/Optimizer_Issues.html
Your objective is to make sure that all your database
Ooo ahhh, thanks Curt =)
-Original Message-
To help figure out which queries are running slow there is the
php.ini setting:
mysql.trace_mode=On
Using this will have the php library analyze your queries and if
any of them do table scans php will issue a warning about it, which
Did you try a curveball when throwing the processors into the box?
Processors like sliders...
Can't lay off 'em.., can't hit 'em.
alex hogan
*
The contents of this e-mail and any files transmitted with it are
I added more indexes. The 20 minute report just took 40 seconds *grin*
Thanks Everyone,
Ed
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 3:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP performance
* Thus wrote Ed Lazor
, August 10, 2004 3:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP performance
* Thus wrote Ed Lazor:
Any recommendations on how to make PHP run faster?
To help figure out which queries are running slow there is the
php.ini setting:
mysql.trace_mode=On
Using
This is a great tip. Thanks! I've added it to my folder of tips to
speed up PHP.
Matthew Runo
http://www.quabbo.com
Quabbo Internet Services
The only host with the Zend Performance Suite!
On Aug 10, 2004, at 3:07 PM, Curt Zirzow wrote:
* Thus wrote Ed Lazor:
Any recommendations on how to make
Your tag line caught my attention - have any specs on performance boosts
provided by Zend?
The only host with the Zend Performance Suite!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, across the sites that are on our server at the moment we are
seeing an average increase in PHP execution speed of 244% (I just ran a
test). According to Zend if everyone of our clients were to use partial
page caching and the like, we'd be seeing closer to a 1000% (10x)
speedup.
It doesn't sound like you've testing to see where the bottleneck is. I
would first recommend inserting some microtime() commands into you PHP
code, like around your queries and blocks of PHP code. This will tell
you what is taking the longest time and will point you in the right
direction.
I'm running php4 on apache on linux. I'm having performance problems with
php getting data from the mysql database. With one user at a given instant,
performance is fine, even with the massive size of the data table. But when
do very rudimentary load testing (basically, opening a few browser and
I'm going to ask the really stupid question... Is mysql, php, apache
running on the same box as the box you are using to test from?
-Chris
-Original Message-
From: arch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php
re using to test from?
-Chris
-Original Message-
From: arch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php performance
I'm running php4 on apache on linux. I'm having performance problems
with php getting data from the mysql
sql, php, apache
running on the same box as the box you are using to test from?
-Chris
-Original Message-
From: arch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:42 PM
To: [EMAIL PROTECTED]
Subject: [PHP] php performance
I'm running php4 on apache on linux. I'
Do you know any resource about php performance?
I wonder that can I use php+apache+oracle for a web site
serving to many clients ( such as 10.000 ) at the same time?
Fatih Üstündað
Yöre Elektronik Yayýmcýlýk A.Þ.
0 212 234 00 90
--
PHP General Mailing List (http://www.php.net/)
To
Performance related issues depend on too many factors infact, however, PHP
is known to be fast in itself (as an apache module), oracle is also known to
be fast just like MySQL, but still it depends on what your app will do with
the database, and how would you manage both your database and
Get in touch with Zend. I bet they have benchmarks with their optimizer engine.
http://www.zend.com/
Cheers,
Mike
*** REPLY SEPARATOR ***
On 03/01/2003 at 3:56 PM Fatih Üstündað wrote:
Do you know any resource about php performance?
I wonder that can I use
Hello,
what is better syntax (for perfomance option, not code-style)
e.g. html code out of php tags
table
?php
while (...) {
?
tr
td?php echo $something; ?/td
tdtext/td
/tr
?php
}
?
/table
or
?php
$table = 'table';
while (...)
$table .=
Thanks for the pointers...
Another quick ?.
Im rewriting a rather large script, and I read somewhere that an
application would run slightly faster if you drop out of php to display
html.
So like
?php
=== php code goes here ===
?
/td/tr/table
?php
=== php code goes here ===
?
If the
53 matches
Mail list logo