curl 命令精准测试

curl  -F 'file=@app.ipa' -F '_api_key=489accfc' https://www.pgyer.com/apiv2/app/upload. -w '@format.txt'
lookup: 0.000328
 time_connect: 0.001072
  time_appconnect: 0.057083
  time_redirect: 0.000000
  time_pretransfer: 0.057127
  time_starttransfer: 0.084269
  upload_size: 198972798 
upload_speed: 27969187.000----------
 time_total: 7.114099



➜  test_upload cat  format.txt 
time_namelookup: %{time_namelookup}
 
time_connect: %{time_connect}
  
time_appconnect: %{time_appconnect}
  
time_redirect: %{time_redirect}
  
time_pretransfer: %{time_pretransfer}
  
time_starttransfer: %{time_starttransfer}
  
upload_size: %{size_upload} 

upload_speed: %{speed_upload}
----------
 
time_total: %{time_total}
原文地址:https://www.cnblogs.com/leleyao/p/14280035.html