PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Tweaking PHP.INI for maximum performance
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Tweaking PHP.INI for maximum performance

Réponse
 
LinkBack Outils de la discussion
Vieux 14/09/2007, 17h13   #1
RageARC
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Tweaking PHP.INI for maximum performance

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?

  Réponse avec citation
Vieux 14/09/2007, 17h30   #2
ZeldorBlat
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Tweaking PHP.INI for maximum performance

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>


  Réponse avec citation
Vieux 14/09/2007, 17h41   #3
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Tweaking PHP.INI for maximum performance

..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
  Réponse avec citation
Vieux 14/09/2007, 18h04   #4
RageARC
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Tweaking PHP.INI for maximum performance

Nope, no bottlenecks, I just want to execute a huge loop (Billions of
times) and I want to execute it as swiftly as possible.

  Réponse avec citation
Vieux 14/09/2007, 18h25   #5
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Tweaking PHP.INI for maximum performance

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
  Réponse avec citation
Vieux 14/09/2007, 18h29   #6
RageARC
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Tweaking PHP.INI for maximum performance

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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h16.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08552 seconds with 14 queries