为 IE 编写插件
您知道如何创建将页面加载时间保存到日志文件的 IE 插件吗?该插件应报告开始时间(当用户单击“开始”按钮时)和结束时间(当页面完全加载时)。
我更喜欢 .net 框架示例,但如果您有其他想法,请随意发布:)
Do you have any idea how to create IE plugin which will save to log file time of page load? This plugin should report start time (when user clicks go button) and end time (when page is completely loaded).
I prefer .net framework examples, but if you have other ideas, please fell free to post them :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您想要测量什么 - 单台 PC(例如开发人员环境)上的加载时间或一大群用户的加载时间?
如果是单台 PC,您可能需要看看 DynaTrace AJAX Edition (http://ajax.dynatrace.com/ajax/en/) 或 HTTPWatch (http://www.httpwatch.com/
)对于大量用户,基于真实用户监控的方法可以满足您的需求 - 如果您想自行查看 boomerang.js(位于 GitHub 上)或现成的 NewRelic
其他选项,例如真实用户监控是要将页面加载时间跟踪添加到 Google Analytics(如果您使用),只需将
_gaq.push(['_trackPageLoadTime']);
添加到您的跟踪代码中。What are you trying to measure - the load time on a single PC e.g. developer environment or the load time for a whole bunch of users?
If it's a single PC you might want to look at something like DynaTrace AJAX Edition (http://ajax.dynatrace.com/ajax/en/) or HTTPWatch (http://www.httpwatch.com/)
If it's for a large groups of users a Real User Monitoring based approach could fit what you want - if you want to roll your own look at boomerang.js (it's on GitHub) or for off the shelf NewRelic
Other option so sort of Real User Monitor is to add the tracking of page load times to Google Analytics if you use, Just add
_gaq.push(['_trackPageLoadTime']);
to your tracking code.