PHP web application performance measurement tool

前端 未结 2 670
一生所求
一生所求 2021-01-28 03:21

Need some web application performance measurement tool.. Can you guys suggest me some better ones..

Purpose: First, app is built on Lumen and Dashboard is built upon Lar

相关标签:
2条回答
  • 2021-01-28 03:58

    There is quite a number of free load testing tools and the absolute majority of them supports HTTP protocol so feel free to choose any.

    Regarding JMeter and Locust, if you can develop code in Python - go for Locust as you won't have to learn new things and will be able to start right away.

    If your Python programming skills are not that good I would recommend reconsidering JMeter as it is not that complex at all:

    • JMeter is GUI based so you can create your test using mouse.
    • JMeter comes with HTTP(S) Test Script Recorder so you will be able to create test plan "skeleton" in few minutes using your favourite browser
    • JMeter supports way more protocols, i.e. you can load test databases via JDBC, mail servers via SMTP/IMAP/POP, MQ servers via JMS, etc. while Locust is more HTTP-oriented, if you need more - you have to code

    If above points sound promising check out JMeter Academy - the fastest and the most efficient way of ramping up on JMeter as of now.

    0 讨论(0)
  • 2021-01-28 03:58

    XHProf you can use it check every function exec time! it can show you with a web gui!

    https://pecl.php.net/package/xhprof

    XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection component is implemented in C (as a PHP extension). The reporting/UI layer is all in PHP. It is capable of reporting function-level inclusive and exclusive wall times, memory usage, CPU times and number of calls for each function. Additionally, it supports ability to compare two runs (hierarchical DIFF reports), or aggregate results from multiple runs.

    0 讨论(0)
提交回复
热议问题