On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg unrea...@gmail.com
wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 11 mei 2012, at 07:09, Lars Nielsen l...@lfweb.dk wrote:
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use
On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg unrea...@gmail.com
wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 11 mei 2012, at 07:09, Lars Nielsen l...@lfweb.dk wrote:
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use
Sent from my iPhone 5 Beta [Confidential use only]
On 11 mei 2012, at 07:09, Lars Nielsen l...@lfweb.dk wrote:
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt tijn...@gmail.com wrote:
On
On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg unrea...@gmail.com wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 11 mei 2012, at 07:09, Lars Nielsen l...@lfweb.dk wrote:
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use only]
How is PHP running, fast-cgi, sapi, etc..?
Is there anything in the error_log for apache? Could be an issue with
prefork/worker.
Thanks,
Mike Mackintosh
PHP, the drug of choice - www.highonphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg unrea...@gmail.com
wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 11 mei 2012, at 07:09, Lars Nielsen l...@lfweb.dk wrote:
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use
Hi there,
I have apache-2.22/php 5.3.10 set up on a dedicated server but I have a
strange issue.
I have made a Drupal 7 site with a mysql db.
If I stress-test the site with : ab -c 1 -n 150 http://sitename/ it works
fine.
If I stress-test the site with : ab -c 2 -n 20 http://sitename/ it kills
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen l...@lfweb.dk wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a dedicated server but I have a
strange issue.
I have made a Drupal 7 site with a mysql db.
If I stress-test the site with : ab -c 1 -n 150 http://sitename/ it works
fine.
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt tijn...@gmail.com wrote:
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen l...@lfweb.dk wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a dedicated server but I have a
strange issue.
I have
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt tijn...@gmail.com wrote:
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen l...@lfweb.dk wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a dedicated server but I have a
strange issue.
I
On Thu, May 10, 2012 at 11:26 PM, Lars Nielsen l...@lfweb.dk wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt tijn...@gmail.com wrote:
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen l...@lfweb.dk wrote:
Hi there,
I have apache-2.22/php
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt tijn...@gmail.com wrote:
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen l...@lfweb.dk wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt tijn...@gmail.com wrote:
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen l...@lfweb.dk wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a
On Friday 17 June 2011 04:50:00 Daevid Vincent wrote:
I've seen too many people over the years try and rally against common
sense practices like using prepared statements for perhaps a marginal
gain of performance on one page while their load averages are 0,0,0.
Agreed. The ONLY time
On Fri, Jun 17, 2011 at 4:55 AM, Vitalii Demianets
vi...@nppfactor.kiev.ua wrote:
On Friday 17 June 2011 04:50:00 Daevid Vincent wrote:
I've seen too many people over the years try and rally against common
sense practices like using prepared statements for perhaps a marginal
gain of
On Sun, Dec 19, 2010 at 15:35, Shiplu shiplu@gmail.com wrote:
===
Recently I my this php-general doesn't accept my mail for some
reason. So I send it again from anther email
Hello Everybody,
I am developing a php application that interfaces with an external
executable binary. The program is written in C++.
I open the program (say a.out) using proc_open. Write some command at
its stdin and fetch data stdout. Then close the program.
The timing of only a.out is
real
===
Recently I my this php-general doesn't accept my mail for some
reason. So I send it again from anther email
===
Hello Everybody,
I am
APseudoUtopia wrote:
Hey list,
I have a php cli script that listens on a UDP socket and, when data is
sent to the socket, the script inserts it into a database. I'm using
the real BSD socket functions, not fsock.
The script runs socket_create(), then socket_bind(). Then it starts a
Hey list,
I have a php cli script that listens on a UDP socket and, when data is
sent to the socket, the script inserts it into a database. I'm using
the real BSD socket functions, not fsock.
The script runs socket_create(), then socket_bind(). Then it starts a
while(TRUE) loop. Within the loop,
On Wed, Sep 9, 2009 at 10:32 PM, APseudoUtopia apseudouto...@gmail.com wrote:
Hey list,
I have a php cli script that listens on a UDP socket and, when data is
sent to the socket, the script inserts it into a database. I'm using
the real BSD socket functions, not fsock.
The script runs
On Wed, Sep 9, 2009 at 10:39 PM, Eddie Drapkinoorza...@gmail.com wrote:
On Wed, Sep 9, 2009 at 10:32 PM, APseudoUtopia apseudouto...@gmail.com
wrote:
Hey list,
I have a php cli script that listens on a UDP socket and, when data is
sent to the socket, the script inserts it into a database.
On Wed, Sep 9, 2009 at 10:53 PM, APseudoUtopia apseudouto...@gmail.com wrote:
On Wed, Sep 9, 2009 at 10:39 PM, Eddie Drapkinoorza...@gmail.com wrote:
On Wed, Sep 9, 2009 at 10:32 PM, APseudoUtopia apseudouto...@gmail.com
wrote:
Hey list,
I have a php cli script that listens on a UDP socket
I have a php cli script that listens on a UDP socket and, when data is
[8]
So I think the the MSG_WAITALL is causing it to block until incoming
data connection is closed (it never reaches the 512 byte mark before
[8]
your clients are not maintaining an open connection to the socket,
so it'll
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
Gryffyn 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 profiling method for figuring out where the slow parts of
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
On 17 April 2008 11:57, Bojan Tesanovic advised:
in PHP5 by default Objects are passed by reference
Please stop repeating this -- erm -- inexactitude.
In PHP5, objects are passed around by their handle, *not* as a
reference. Most of the time, this has the same effect, as you are
addressing the
On Wed, 2008-04-16 at 23:37 -0400, Nathan Nobbe wrote:
all,
i have heard from various sources that using the in php can at times be
costly, and therefore, it should not be used when it is not needed. for
example, passing an array by reference because you think youre passing the
actual
On Apr 17, 2008, at 5:37 AM, Nathan Nobbe wrote:
all,
i have heard from various sources that using the in php can at
times be
costly, and therefore, it should not be used when it is not
needed. for
example, passing an array by reference because you think youre
passing the
actual array
On Thu, Apr 17, 2008 at 12:14 AM, Robert Cummings [EMAIL PROTECTED]
wrote:
If it's faster, it's faster so that would suggest a performance gain...
but as many will tell you, and you most likely already know... is the
gain worth the effort? BTW, rote replacement of references like that,
may
On Thu, Apr 17, 2008 at 4:57 AM, Bojan Tesanovic [EMAIL PROTECTED]
wrote:
in PHP5 by default Objects are passed by reference and as you can see at
this graph passing array by reference in PHP5 is slower
http://nathan.moxune.com/arrayVsArrayIteratorReport.php
wow, thats hilarious, thats my
On Thu, Apr 17, 2008 at 12:00 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Thu, Apr 17, 2008 at 4:57 AM, Bojan Tesanovic [EMAIL PROTECTED]
wrote:
in PHP5 by default Objects are passed by reference and as you can see at
this graph passing array by reference in PHP5 is slower
On Thu, Apr 17, 2008 at 11:51 AM, Eric Butera [EMAIL PROTECTED] wrote:
On Thu, Apr 17, 2008 at 12:00 PM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
On Thu, Apr 17, 2008 at 4:57 AM, Bojan Tesanovic [EMAIL PROTECTED]
wrote:
in PHP5 by default Objects are passed by reference and as you can
On Thu, Apr 17, 2008 at 7:10 PM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Thu, Apr 17, 2008 at 11:51 AM, Eric Butera [EMAIL PROTECTED] wrote:
On Thu, Apr 17, 2008 at 12:00 PM, Nathan Nobbe [EMAIL PROTECTED]
wrote:
On Thu, Apr 17, 2008 at 4:57 AM, Bojan Tesanovic [EMAIL PROTECTED]
all,
i have heard from various sources that using the in php can at times be
costly, and therefore, it should not be used when it is not needed. for
example, passing an array by reference because you think youre passing the
actual array is not a good idea. only pass it by reference if a
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
Hi all,
I've been chasing what I think is the same performance issue for about
a year and it's driving me batty. First off, the server is a dual core
2.8 P4 with 2G RAM running RHEL5 hosted at The Planet and is under
very light load. This problem started last year while the server was
RHEL4 and
On Wed, Feb 27, 2008 at 12:39 PM, Adriano Manocchia [EMAIL PROTECTED] wrote:
Hi all,
I've been chasing what I think is the same performance issue for about
a year and it's driving me batty. First off, the server is a dual core
2.8 P4 with 2G RAM running RHEL5 hosted at The Planet and is
I know my original post was long-winded, but I did mention that my php
tests were run on a single-line PHP script that simply echoed hi so
it couldn't get much simpler than that. But for thoroughness' sake,
I've run the tests against a test file with a php extension with no
PHP code at
On Wed, Feb 27, 2008 at 12:39 PM, Adriano Manocchia [EMAIL PROTECTED] wrote:
Hi all,
I've been chasing what I think is the same performance issue for about
a year and it's driving me batty. First off, the server is a dual core
2.8 P4 with 2G RAM running RHEL5 hosted at The Planet and is
I'm trying to get it working but it doesn't seem to want to write the
profile info at the moment. Correct me if I'm wrong, but wouldn't this
just show problems within actual code? If the problem is occurring on
a PHP file with no PHP in it whatsoever, it seems to fall outside the
scope of
OK. I just went through about 10 minutes' worth of cachegrinds,
including several httperf tests on that empty php file (which had the
usual poor results). According to the cachegrind files, nothing
(including the other active web pages) took more than 15ms and the
empty php file never
Well, I just spent more time messing with httpd's conf and it the
problem seems to have resolved itself by turning off hostname lookups.
I know there's overhead associated with it, but I don't really
understand why it only affected PHP, and so drastically. At any rate,
I guess this issue
On Wed, Feb 27, 2008 at 2:34 PM, Adriano Manocchia [EMAIL PROTECTED] wrote:
OK. I just went through about 10 minutes' worth of cachegrinds,
including several httperf tests on that empty php file (which had the
usual poor results). According to the cachegrind files, nothing
(including the
On Wed, Feb 27, 2008 at 2:50 PM, Adriano Manocchia [EMAIL PROTECTED] wrote:
Well, I just spent more time messing with httpd's conf and it the
problem seems to have resolved itself by turning off hostname lookups.
I know there's overhead associated with it, but I don't really
understand why
Adriano Manocchia wrote:
Well, I just spent more time messing with httpd's conf and it the
problem seems to have resolved itself by turning off hostname lookups. I
know there's overhead associated with it, but I don't really understand
why it only affected PHP, and so drastically. At any rate,
Whoa. No need to get snippy. I was being sincere in my gratitude for
the suggestions. If nothing else, I'm sure I'll be making more use of
Xdebug in the future.
On Feb 27, 2008, at 3:55 PM, Shawn McKenzie wrote:
Adriano Manocchia wrote:
Well, I just spent more time messing with httpd's
Doh, sorry... I was jokingly replying to:
I was going to suggest that it was most likely an Apache or DNS
issue as opposed to PHP, but after I realized I missed that your php
tests were run on a single-line PHP script that simply echoed 'hi' so
it couldn't get much simpler than that, I figured I
Adriano Manocchia wrote:
Whoa. No need to get snippy. I was being sincere in my gratitude for the
suggestions. If nothing else, I'm sure I'll be making more use of Xdebug
in the future.
On Feb 27, 2008, at 3:55 PM, Shawn McKenzie wrote:
Adriano Manocchia wrote:
Well, I just spent more time
On Wed, Feb 27, 2008 at 4:29 PM, Adriano Manocchia [EMAIL PROTECTED] wrote:
Whoa. No need to get snippy. I was being sincere in my gratitude for
the suggestions. If nothing else, I'm sure I'll be making more use of
Xdebug in the future.
I'm not being snippy at all. I was admitting my
apache benchmark, aka ab comes with apache and lets you hit your
server as many times as you want.
Also see wget and valgrind/callgrind
For Windows users, there's something called SuperSmack or some equally
silly name... :-)
On Mon, January 21, 2008 3:50 am, Jochem Maas wrote:
hi guys,
I
hi guys,
I need to do some performance testing for a site of mine.
I want to compare performance of various combinations
of using APC, Squid, Apache/LightHTTPD mod_php/fastcgi.
all very well I can build the various setups but I'm stuck as
to how to go about recreating realistic load on the
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache benchmarking.
You can use this to benchmark stuff like concurrent requests.
indeed, I know ab, but it doesn't allow for a very realistic request 'spread'
- at least as far as I know.
I was hoping for
On Mon, 2008-01-21 at 10:50 +0100, Jochem Maas wrote:
Does anyone have any tips, urls, advice as to how to start
going about creating something like a 'test suite' for testing
high load performance of a website?
I went through a similar headache recently, and looked at a whole whack
of
Jochem Maas wrote:
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache
benchmarking. You can use this to benchmark stuff like concurrent
requests.
indeed, I know ab, but it doesn't allow for a very realistic request
'spread'
- at least as far as I
Ron Rademaker schreef:
Jochem Maas wrote:
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache
benchmarking. You can use this to benchmark stuff like concurrent
requests.
indeed, I know ab, but it doesn't allow for a very realistic request
'spread'
On Jan 21, 2008 5:50 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Ron Rademaker schreef:
Jochem Maas wrote:
Ron Rademaker schreef:
Hi Jochem,
Apache comes with an nice ab tool which stands for apache
benchmarking. You can use this to benchmark stuff like concurrent
requests.
indeed,
On Nov 24, 2007 2:32 AM, Jon Westcot [EMAIL PROTECTED] wrote:
Hi all:
For those who've been following the saga, I'm working on an application
that needs to load
a data file consisting of approximately 29,000 to 35,000 records in it (and
not short ones,
either) into several tables.
Eventually, I wind up with a query similar to:
UPDATE table_01 SET field_a = 'New value here', updated=CURDATE() WHERE
primary_key=12345
Even though you've solved it one way to work out the problem here would
be to change it to a select query (unfortunately mysql can't explain
-Original Message-
From: Jon Westcot [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 24, 2007 4:32 AM
To: PHP General
Subject: [PHP] Performance question for table updating
Hi all:
For those who've been following the saga, I'm working on an
application that needs to load
Hi Rob, et al.:
- Original Message -
From: Andrés Robinet [EMAIL PROTECTED]
-Original Message-
From: Jon Westcot [mailto:[EMAIL PROTECTED]
:: gigantic snip here::
So, long story short (oops -- too late!), what's the concensus
among the learned assembly here? Is
Could there be some performance gain by uploading the data to another table and
then update / insert via sql?
bastien
From: [EMAIL PROTECTED]
To: php-general@lists.php.net
Date: Sat, 24 Nov 2007 04:03:53 -0700
Subject: Re: [PHP] Performance question
On Sat, 2007-11-24 at 04:03 -0700, Jon Westcot wrote:
Moral of the story? Two, really. First, ensure you always reference
values in the way most appropriate for their type. Second, don't make your
idiocy public by asking stupid questions on a public forum. g What's the
quote
Hi all:
For those who've been following the saga, I'm working on an application
that needs to load a data file consisting of approximately 29,000 to 35,000
records in it (and not short ones, either) into several tables. I'm using
MySQL as the database.
I've noticed a really horrible
Hi there,
I am doing some image cropping of about 40.000 files with php.
To do this I wrote a PHP file that does what I want and I did disable
the timeout so I can call it via webbrowser and fire the script.
There are two down sides I see:
1. One image takes about 0.25 s, so the whole process
Merlin wrote:
Hi there,
I am doing some image cropping of about 40.000 files with php.
To do this I wrote a PHP file that does what I want and I did disable
the timeout so I can call it via webbrowser and fire the script.
There are two down sides I see:
1. One image takes about 0.25 s, so the
Merlin wrote:
Hi there,
I am doing some image cropping of about 40.000 files with php.
If you're worried about performance, maybe why not use mogrify from
ImageMagick?
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
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
Sancar Saran wrote:
Another simple performance tip.
Most of for examples of php look like this
for($x=0;$xsizeof($arrSometing);$x++)
This is bad. In every cycle you call sizeof
this was good
$intSize = sizeof($arrSometing);
for($x=0;$x$intSize;$x++)
if u use.
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 Fri, July 20, 2007 4:16 am, Colin Guthrie wrote:
Sancar Saran wrote:
Another simple performance tip.
Most of for examples of php look like this
for($x=0;$xsizeof($arrSometing);$x++)
This is bad. In every cycle you call sizeof
this was good
$intSize = sizeof($arrSometing);
Hi,
I had lots of loop in my code. My gain was %4 to %6 and I say may gain
another %10. Of course your millage was different than me
Regards
Sancar
On Saturday 21 July 2007 01:03:45 Richard Lynch wrote:
On Fri, July 20, 2007 4:16 am, Colin Guthrie wrote:
Sancar Saran wrote:
Another
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
Hello everyone,
recently we tested upgrading our systems from:
apache 2.0.55
php 5.1.6
eacclerator 0.9.5
to:
apache 2.2.3
php 5.2.0
eaccelerator 0.9.5
but we always get worse performance than before. So maybe it is the newer
apache version which
On 4/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello everyone,
recently we tested upgrading our systems from:
apache 2.0.55
php 5.1.6
eacclerator 0.9.5
to:
apache 2.2.3
php 5.2.0
eaccelerator 0.9.5
but we always get worse performance than
Tijnema ! wrote:
On 4/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello everyone,
recently we tested upgrading our systems from:
apache 2.0.55
php 5.1.6
eacclerator 0.9.5
to:
apache 2.2.3
php 5.2.0
eaccelerator 0.9.5
but we always get
On 3/27/07, Travis Doherty [EMAIL PROTECTED] wrote:
Jake Gardner wrote:
He said if you run the /script/ itself 1000 times, not a loop with 1000
iterations. This is quite possible; I am fairly certain there are
websites
out there that get accessed well over 1000 times a minute, yes?
So
On Sat, March 24, 2007 4:52 am, Tijnema ! wrote:
That means that at 1000 iterations, you are saving how much time?
.00026 seconds?
.4 seconds?
Puhleaze.
Well, if you execute this script 1000 times, you would get a
difference of 2.6 seconds?
But if every microseconds counts for your
He said if you run the /script/ itself 1000 times, not a loop with 1000
iterations. This is quite possible; I am fairly certain there are websites
out there that get accessed well over 1000 times a minute, yes?
So every minute, that website is saving a total of 2.6 seconds to do...
whatever it
Jake Gardner wrote:
He said if you run the /script/ itself 1000 times, not a loop with 1000
iterations. This is quite possible; I am fairly certain there are
websites
out there that get accessed well over 1000 times a minute, yes?
So every minute, that website is saving a total of 2.6
1 - 100 of 252 matches
Mail list logo