脚本 YSlow 和/或 PageSpeed [英] Scripting YSlow and/or PageSpeed

查看:12
本文介绍了脚本 YSlow 和/或 PageSpeed的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我开始在工作中做一些前端工程时,我想适当地量化实现的加速.

As I'm starting to do some front end engineering at work, I would like to properly quantify the speedup achieved.

我希望能够使用由 YSlow 或 Google Page Speed 测量的 50 个页面加载时间的平均值.显然,我不想重新加载 50 次并记下值.

I would like to be able to use an average value of, say, 50 page load times measured by YSlow or Google Page Speed. Obviously, I don't want to hit reload 50 times and write down the value.

是否有一个 FF 插件或者我必须自己编写一个 Firebug 扩展?或者也许有一个非 FF 的命令行工具可以完成我的计划?

Is there a FF plugin for that or will I have to write a Firebug extension myself? Or maybe there is a non-FF, command-line tool that does what I'm planning?

推荐答案

我最近在苏黎世的谷歌测试自动化大会上为此做了一个演讲.

I recently did a talk about this at Google Test Automation Conference in Zurich for this.

它的幻灯片是 这里

我在公司网站上发表了一篇关于它的博文,可以在 这里

And I did a blog post on my company site about it and that can be found here

我们能够同时使用 YSlow Beacon 和 Selenium 来自动化整个过程.

We were able to use the YSlow Beacon and Selenium together to automate the entire process.

希望对你有帮助!

这篇关于脚本 YSlow 和/或 PageSpeed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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