This topic created in 3135 days ago, the information mentioned may be changed or developed.
测试语句如下:
In [13]: driver = webdriver.Chrome()
In [14]: %time driver.get('http://www.baidu.com')
CPU times: user 1.1 ms, sys: 1.07 ms, total: 2.17 ms
Wall time: 3.47 s
In [16]: firefox = webdriver.Firefox()
In [17]: %time firefox.get('http://www.baidu.com')
CPU times: user 1.08 ms, sys: 1.06 ms, total: 2.14 ms
Wall time: 637 ms
chrome 的 Wall time 远超过 firefox。这是什么原因啊?有什么优化的方法吗?