PHP Web应用程序性能评估工具 [英] PHP web application performance measurement tool

查看:98
本文介绍了PHP Web应用程序性能评估工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要一些Web应用程序性能评估工具..你们能建议我一些更好的工具吗..

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

目的:首先,应用程序基于Lumen构建,仪表板基于Laravel构建.因此,我想要做的事情是衡量应用程序所有请求的性能,然后记下每个请求的时间消耗的结果,因为可以更好地优化该应用程序

Purpose: First, app is built on Lumen and Dashboard is built upon Laravel. So why I want something is to measure all requests performance to app and then I can to note down results of each and every requests' time consumption, based on that app can be optimized in better way

我做了一些谷歌搜索,发现JMeter是大多数人的选择,因为它是从apache那里做的,但是看起来很复杂,还发现

I did some google found JMeter is most of the people's choice, as its from apache and does the job but it looks lil complex, also found https://locust.io/ interesting, that I'm gonna give it a try

但是我更想得到专家的建议或建议

But I would more like to get experts suggestions or advice on this

谢谢!

推荐答案

XHProf您可以使用它检查每个函数的执行时间!它可以向您显示网络GUI!

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是PHP的功能级别的分层探查器,具有基于HTML的简单导航界面.原始数据收集组件在C中实现(作为PHP扩展).报表/UI层全部使用PHP.它能够报告功能级别的包含和排他的挂墙时间,内存使用情况,CPU时间以及每个功能的调用次数.此外,它还支持比较两个运行(分层DIFF报告)或汇总来自多个运行的结果的功能.

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.

这篇关于PHP Web应用程序性能评估工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆