|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I would like to know any configurations to speed up PHP's execution. I
have increased the memory limit and decreased the amount of extensions loaded, but do you know anything else? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sep 14, 12:13 pm, RageARC <rage...@gmail.com> wrote:
> I would like to know any configurations to speed up PHP's execution. I > have increased the memory limit and decreased the amount of extensions > loaded, but do you know anything else? Probably has less to do with settings in php.ini than it does with your code. Have you run into specific performance problems? If you haven't then you're wasting your time. Read #5 from this article: <http://www.ibm.com/developerworks/li...-code/?ca=dgr- FClnxw01linuxcodetips> |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
..oO(RageARC)
>I would like to know any configurations to speed up PHP's execution. I >have increased the memory limit and decreased the amount of extensions >loaded, but do you know anything else? If you experience performance issues, use a profiler to check your code for bottlenecks. Have a look at the Xdebug extension (can be installed from PECL). http://xdebug.org/ Micha |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Nope, no bottlenecks, I just want to execute a huge loop (Billions of
times) and I want to execute it as swiftly as possible. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On Fri, 14 Sep 2007 19:04:40 +0200, RageARC <ragearc@gmail.com> wrote:
> Nope, no bottlenecks, I just want to execute a huge loop (Billions of > times) and I want to execute it as swiftly as possible. On the risk of getting offtopic: I'd say a better tool for that kind of job might be C++, possibly getting it's variables from a PHP script.. -- Rik Wasmus |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Yes I could use C++ but the fact is I'm not too good at it, and as I
already have my loop in PHP, it would best if I used it. |
|
![]() |
| Outils de la discussion | |
|
|