PHP code's performance test

前端 未结 7 1831
自闭症患者
自闭症患者 2020-12-08 22:56

What is the best way for me to test my PHP code\'s performance?

7条回答
  •  抹茶落季
    2020-12-08 23:30

    You should consider using ab (apache benchmark tool) to run a large number of queries and xhprof to profile/analyse your code. In my opinion, these just are the basics but give great results.

提交回复
热议问题