ASP vs PHP: Speed
![]()
Speed
Relatively, PHP is much faster and stable than ASP, this is because ASP is built on a COM-based architecture so whenever a program tries to connect to a database or calls for a COM object, there is an overhead on the server, and this COM overhead adds up and slows things down.
While in PHP, everything runs in PHP’s memory space , this implies that PHP code will run faster because there is no overhead of communicating with different COM objects in different processes.
In addition to this ASP is slower and is a more memory intensive application than PHP’s model because each ASP language compiler runs in its own process.