To test a website's timing performance using selenium
- selenium
- firefox (geckodriver)
- Xvfb
Please just run the python script, and change the website.
Begin at Sat Mar 31 03:41:55 2018
url : http://www.taobao.com
End at Sat Mar 31 03:42:04 2018
selenium result:
onload 1945.00 ms
dns 0.00 ms
tcp 335.00 ms
ttfb 717.00 ms
Myblog: https://blog.csdn.net/hsdfz0201/article/details/77481030