>
>> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg
>> wrote:
>>>
>>>
>>> Sent from my iPhone 5 Beta [Confidential use only]
>>>
>>> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote:
>>>
>
> On 10 mei 2012, at 23:26, Lars Nielsen wrote:
>
>>
>>>
>>>
>>> Sent from
> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg
> wrote:
>>
>>
>> Sent from my iPhone 5 Beta [Confidential use only]
>>
>> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote:
>>
>>>
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
>
>>
>>
>> Sent from my iPhone 5 Beta
> On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg
> wrote:
>>
>>
>> Sent from my iPhone 5 Beta [Confidential use only]
>>
>> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote:
>>
>>>
On 10 mei 2012, at 23:26, Lars Nielsen wrote:
>
>>
>>
>> Sent from my iPhone 5 Beta
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: http://www.php.net/unsub.
On Fri, May 11, 2012 at 9:53 AM, Camilo Sperberg wrote:
>
>
> Sent from my iPhone 5 Beta [Confidential use only]
>
> On 11 mei 2012, at 07:09, "Lars Nielsen" wrote:
>
>>
>>>
>>> On 10 mei 2012, at 23:26, Lars Nielsen wrote:
>>>
>
>
> Sent from my iPhone 5 Beta [Confidential use o
Sent from my iPhone 5 Beta [Confidential use only]
On 11 mei 2012, at 07:09, "Lars Nielsen" 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 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 wrote:
>>>
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen wrote:
> Hi there,
>
> I have apache-2.22/php 5.3.10 set
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 wrote:
>>
>>> On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a de
On Thu, May 10, 2012 at 11:26 PM, Lars Nielsen wrote:
>
>>
>>
>> Sent from my iPhone 5 Beta [Confidential use only]
>>
>> On 10 mei 2012, at 17:40, Matijn Woudt wrote:
>>
>>> On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen wrote:
Hi there,
I have apache-2.22/php 5.3.10 set up on a d
>
>
> Sent from my iPhone 5 Beta [Confidential use only]
>
> On 10 mei 2012, at 17:40, Matijn Woudt wrote:
>
>> On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen 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 mad
Sent from my iPhone 5 Beta [Confidential use only]
On 10 mei 2012, at 17:40, Matijn Woudt wrote:
> On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen 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 s
On Thu, May 10, 2012 at 9:04 AM, Lars Nielsen 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.
> If
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
a
On Fri, Jun 17, 2011 at 4:55 AM, Vitalii Demianets
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 performance on one pa
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 tim
On Sun, Dec 19, 2010 at 15:35, Shiplu wrote:
> ===
> Recently I my this php-general doesn't accept my mail for some
> reason. So I send it again from anther email
>
===
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 devel
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 4
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
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
On Wed, Sep 9, 2009 at 10:53 PM, APseudoUtopia wrote:
> On Wed, Sep 9, 2009 at 10:39 PM, Eddie Drapkin wrote:
>> On Wed, Sep 9, 2009 at 10:32 PM, 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 scrip
On Wed, Sep 9, 2009 at 10:39 PM, Eddie Drapkin wrote:
> On Wed, Sep 9, 2009 at 10:32 PM, 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
On Wed, Sep 9, 2009 at 10:32 PM, 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
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,
- 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
> <
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
> goo
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
> 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
serv
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 a
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 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 <[
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 refere
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 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 m
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,
> m
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 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
> act
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 modifi
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' (apach
#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.
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 ol
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
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 al
-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.
>>
>
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
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 data-
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
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 that
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 wh
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 ti
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
-Mensagem original-
De: Eric Butera [mailto:[EMAIL PROTECTED]
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 th
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-Orient
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 also
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 m
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
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
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 con
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 ra
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
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 t
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 is
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 excee
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 w
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
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 al
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
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 I
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
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
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'
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 k
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 t
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 machi
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 tab
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
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. What's the
> quote (prob
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]
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 as
> -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
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 p
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: http://www.php.net/unsub.
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 w
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 wo
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 im
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
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:
> >> Anoth
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;$x>
>> This is bad. In every cycle you call sizeof
>>
>> this was good
>> $intSize = sizeof($arrSometing);
>> for($x=0;$x<$intSiz
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
Sancar Saran wrote:
> Another simple performance tip.
>
> Most of for examples of php look like this
> for($x=0;$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.
> for($x=0;$x<$intSiz;++$x). You may g
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 pos
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,
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
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 befo
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 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?
>
>
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
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 is
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
1 - 100 of 260 matches
Mail list logo