Blog Index

Categories: "Computers" or "Linux stuff" or "Mac stuff" or "Windows stuff"

Why echo is slow in PHP and how to make it really fast

You may have noticed that PHP scripts that echo a lot of content appear to be running with poor performance... Well, the operative word here is "appear". It is a common misconception that "echo is the slowest PHP command"! The problem is actually… more »

How to log request processing times in Apache

If you have an apache (2) web server, you probably have an access.log file showing you all kinds of data using the "combined" log format. Let's see how to include processing time into that log file. By default a line in the combined log looks like this… more »

How to install the APC PHP Cache on Debian (Lenny or Squeeze)

APC PHP Cache Control Panel
The APC PHP Cache Control Panel
The APC cache can significantly improve your PHP script performance, just by installing it, whoch basically takes 5 minutes! Here's what I did on my Debian Lenny box... First you may want to have a reference benchmark to see if it actually improves:… more »

Make your mouse faster on Mac OS X

There’s 2 problems to mouse speed: The acceleration curve of the mouse mouvement which I’ve talked about before maximum mouvement speed The maximum speed can be set through the System preferences panel, but even when the slider is all… more »

How to control fan speed & noise on the mac pro

How to control fan speed & noise on the mac pro
Did you know there were actually 5 different fans inside a Mac Pro (early 2009 version)? They are named Intake, Exhaust, BoostA, PCI and Power Supply! By default, all of them turn pretty slowly; in the 600 to 850 rpm range! Which makes the whole thing pr… more »