Is ASP generally faster than PHP?

3 Answers

  • NC
    Lv 7
    1 decade ago
    Favorite Answer

    No. PHP is generally faster. A few years back, Philippe Pettit ran a series of benchmark tests and found that on identical hardware (Compaq Proliant 1850 R, PII 400 Mhz, 500MB RAM, 1 x 4 GB + 2 x 9 GB hard drives) with up to 150 simultaneous connections, PHP running as handles about 620 requests per second, while ASP, only about 320.

    Two things must be remembered, however. First of all, this information is old; Philippe Pettit ran these benchmarks several years ago on PHP 4.0.4 and IIS 5. Second, this test was conducted on pages that did not use any database connectivity; when databases are introduced, a lot will depend on fine-tuning the database software and the logical architecture (i.e., whether the database server runs on the same physical machine with the HTTP server)...

    Generally speaking, both PHP and ASP can be used to build a high-performance application, provided that the developer has adequate support from a network engineer and a database architect.

    • Login to reply the answers
  • 1 decade ago

    PHP seems to be a bit faster than asp with large pages, but with smaller one's there's little difference.

    • Login to reply the answers
  • Anonymous
    1 decade ago

    No. Speed depends on a number of factors, such as server load, what you are using the language to do, how the language is being interpreted, etc.

    Without those factors in consideration, you can't say one is faster than the other.

    • Login to reply the answers
Still have questions? Get your answers by asking now.