Logo Background RSS

High Performance PHP

Advertisement

  1. #1 stefan
    October 12th, 2006 at 2:27 pm

    Unfortunately, that time method is not completely foolproof, especially when you have scripts that take a while to run. The windows detection is a nice one, but of course you will only detect if your server is running windows. This should not be very necessary, since usually, especially with such heavy applications, you should know which server your application is developed for.

    Still, some useful tips there.

    Post ReplyPost Reply
  2. #2 vinu
    October 12th, 2006 at 3:21 pm

    There are a few more tips like avioding the use of the @ operator to supress error messages. That actually brought down by three times the performance in the benchmark script which is provided.

    Post ReplyPost Reply
Leave a Comment