是否有 Ruby on Rails 的分析 gem/插件?
是否有 Ruby on Rails 的分析 gem/插件?
也就是说,我可以在请求中指定我想要充当一段时间的里程碑点的点,并有策略地放置它们。然后,理想情况下,插件会计算出并显示总体响应时间是如何组成的......
Tks
is there a profiling gem/plugin for Ruby on Rails?
That is, where I can then specify the point in a request I want to act as milestones points for a time to be taken, and place them stategically. Then ideally the plugin then works out and displays how the overall response time was made up...
Tks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你能尝试ruby-prof吗?基本上围绕您感兴趣的部分启动和停止探查器,探查器会为您分解所有内容。一些示例输出可以在此处找到。
Could you try ruby-prof? Basically start and stop the profiler around the parts you are interested in, and the profiler breaks it all down for you. Some example output can be found here.
该块中有一个新的 Ruby on Rails web-server,其中包含一个内置的非常智能的分析器。你可能会喜欢它...
There's a new Ruby on Rails web-server in the block, which includes a pretty smart profiler inbuilt. You may like it...