performance - 哪些服务可用于监控前端性能?

标签 performance monitoring frontend

已经有很多用于跟踪服务器响应时间的托管服务,但我们正在寻找可以跟踪页面呈现/加载时间的东西(即浏览器呈现器)。

PageSpeed 的问题, YSlow等等,它们是应要求提供的,例如,我们想要持续运行并每 15 分钟读取一次读数的东西。

最佳答案

最新的浏览器有一个 window.performance.timing包含某些事件发生时的时间戳的属性(例如 domainLookupStart、domLoading、domInteractive 等)。

您可能希望将这些数字的样本发送到您的服务器。

参见 https://developer.mozilla.org/en/API/navigationTiming


Google Analytics 有一个 page speed metric , 你可能也想看看。

关于performance - 哪些服务可用于监控前端性能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7306607/

相关文章:

sql-server - 如何测量Azure sql server数据库中用户消耗的数据?

frontend - JFrog Artifactory OSS : UI service unavailable, "Trying to connect an http1.x server"

javascript - 在网页上显示Kafka消息

algorithm - 缓存友好的离线随机读取

python - 为什么矢量化版本更慢?

javascript - Greasemonkey 脚本来监控网站更改

maven - Spring 启动 : is there a way to show the POM version number in some endpoint easily?

javascript - jQuery keypress/keydown 无法正常工作

performance - mongoose 在这种情况下子文档和全局之间的性能有什么区别吗?

mongodb - mgo - 查询性能似乎一直很慢(500-650 毫秒)