谷歌性能测评工具lighthouse使用

转载自:http://t.zoukankan.com/heroljy-p-9001439.html

 

================================

 

github地址:https://github.com/GoogleChrome/lighthouse

一、如果可以FQ的话可以从 chrome 扩展插件里直接安装。

二、下面是另一种使用方法:基于 node(版本≥6)

1.安装:npm install -g lighthouse

2.运行使用:lighthouse <url> --view

  例如:lighthouse https://www.baidu.com/ --view

posted @ 2022-11-25 16:45  larybird  阅读(261)  评论(0编辑  收藏  举报