Skip to content

Instantly share code, notes, and snippets.

@gaspanik
Created January 15, 2014 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaspanik/8432648 to your computer and use it in GitHub Desktop.
Save gaspanik/8432648 to your computer and use it in GitHub Desktop.
sitespeed.ioのインストールと実行

sitespeed.io のインストール

Webサイトのパフォーマンス計測をコマンドラインから実行できる「sitespeed.io」を動かすまで。

インストール

brew install sitespeedio/sitespeedio/sitespeed.io

Homebrewを入れてる人は、黙って上記を実行すればいいらしい。

でも、browsertimeが必要だよって言われるかもしれない。

brew tap tobli/browsertime

とりあえず、タップしてインストールを実行すればOK。

brew install sitespeedio/sitespeedio/sitespeed.io

おしまい。

計測

sitespeed.io -u http://example.com/

これだとそっからリンクされてる分をごっそり調べるので、そこは「sitespeed.io -h」でオプションを調べましょう。

レポート

実行したディレクトリ以下に「sitespeed-result」ってフォルダができて各種レポートが保存される。

こういうツールを作って公開してくれる人たちに感謝です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment