开发者

Performance comparison of HtmlUnit vs HttpUnit

I would like to write crawler which supports cookies storing operation and sessions. There are two different implementations of java headless browser. HtmlUnit has better su开发者_运维问答pport of javascript and perhaps html parsing. But is there are any reason to use HttpUnit for performance of crawler?


There is a relevant article here, from one of the HtmlUnit developers.

It basically says that, apart from Javascript support, HtmlUnit is more high level that HttpUnit. HtmlUnit also seems to be more actively developed (2 releases in 2014 while HttpUnit has not been updated since 2008).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜