More Related Content
Similar to composerの遅さをまじめに考える #phpstudy (6)
More from Hiraku Nakano (7)
composerの遅さをまじめに考える #phpstudy
- 2. 自己紹介
• 中野 拓 (@Hiraku)
• 口癖「composerが遅い」
packagistのミラー作った http://packagist.jp
• 2015/12からメルカリで働いています。
- 31. curlで雑に測ってみる
# (githubから適当なzipをダウンロードする)
$ curl --head
--location
--output prestissimo.zip
https://github.com/hirak/prestissimo/archive/0.1.4.zip
--write-out " time_namelookup: %{time_namelookup}n
time_connect: %{time_connect}n time_appconnect: %{time_appconnect}
n time_redirect: %{time_redirect}n time_total: %{time_total}"
...
time_namelookup: 0.013
time_connect: 0.201
time_appconnect: 0.884
time_redirect: 1.270
time_total: 2.400