简体   繁体   English

测量基于Vaadin /大气的应用程序的响应时间

[英]Measuring response time for a Vaadin/Atmosphere based application

I have a Vaadin application that is using web sockets (Atmosphere) to push data to the browser. 我有一个Vaadin应用程序,该应用程序正在使用Web套接字(大气)将数据推送到浏览器。 This means that there is no normal HTTP request/response cycle. 这意味着没有正常的HTTP请求/响应周期。 From the looks of it, I do get HTTP GET requests, but the response is pushed out via the web socket asynchronously. 从它的外观来看,我确实收到了HTTP GET请求,但是响应是通过Web套接字异步推出的。

Because of this the response time (and message size) metrics I can get from the web server logs are useless. 因此,我可以从Web服务器日志中获取的响应时间(和消息大小)度量标准没有用。

How can I get information logged as to how long every request processing took? 如何获取有关每个请求处理花费了多长时间的信息?

Chrome开发者工具可让您查看使用网络套接字发送的邮件的时间戳(在“网络”标签中)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM