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

查看:138
本文介绍了编写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?

推荐答案

我最近在苏黎世举行的Google测试自动化会议上对此进行了讨论.

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天全站免登陆