Make php faster?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frank de Bot

    Make php faster?

    hi,

    I've been recently testing a little few things with php (mainly speed).
    On thing I've noticed is that php is incredible SLOW to start up.
    Compared a perl script and php script aside of each other. In case of my
    system it took perl roughly 6ms , but php over 30ms . php only got
    activated things like MySQL, ming en pdflib.
    Ok, the runnings time are pretty short, but I try to make things as
    efficient as possible. Mainly because it is for a production server and
    can't predict what customers will do.
    Are there ways to get php at least to catch up with perl's speed?

    Thanks in advanced,

    Frank de Bot


  • rush

    #2
    Re: Make php faster?

    "Frank de Bot" <ppi_doesnt_lik e_@spam_inhis_e mail_searchy.ne t> wrote in
    message news:bm2i5a$2vt $1@news4.tilbu1 .nb.home.nl...[color=blue]
    > On thing I've noticed is that php is incredible SLOW to start up.
    > Compared a perl script and php script aside of each other. In case of my
    > system it took perl roughly 6ms , but php over 30ms . php only got
    > activated things like MySQL, ming en pdflib.
    > Ok, the runnings time are pretty short, but I try to make things as
    > efficient as possible. Mainly because it is for a production server and
    > can't predict what customers will do.
    > Are there ways to get php at least to catch up with perl's speed?[/color]

    If you can install stuff on the server, you can try Zend performance suite,
    or ionCube PHP Accelerator. They can significantly slash script load times
    since they cache allready parsed code for the script. This has really
    beneficall effect on larger scripts.

    rush
    --





    Comment

    • Manuel Lemos

      #3
      Re: Make php faster?

      Hello,

      On 10/08/2003 11:46 PM, Frank de Bot wrote:[color=blue]
      > I've been recently testing a little few things with php (mainly speed).
      > On thing I've noticed is that php is incredible SLOW to start up.
      > Compared a perl script and php script aside of each other. In case of my
      > system it took perl roughly 6ms , but php over 30ms . php only got
      > activated things like MySQL, ming en pdflib.
      > Ok, the runnings time are pretty short, but I try to make things as
      > efficient as possible. Mainly because it is for a production server and
      > can't predict what customers will do.
      > Are there ways to get php at least to catch up with perl's speed?[/color]

      You may want to try Turck MMCache caching extension. There are also
      other caching extension, some very expensive. This one is Open Source
      and it is claimed to be the fastest.

      Download Turck MMCache for PHP for free. Turck MMCache is a PHP Accelerator & Encoder. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated.


      --

      Regards,
      Manuel Lemos

      Free ready to use OOP components written in PHP
      Free PHP Classes and Objects 2026 Versions with PHP Example Scripts, PHP Tutorials, Download PHP Scripts, PHP articles, Remote PHP Jobs, Hire PHP Developers, PHP Book Reviews, PHP Language OOP Materials


      Comment

      Working...