开发者

Web page loading time using java

How to know the time taken to load a web page using java..?Can any one help me re开发者_开发知识库garding this..Thanks in advance..


You can use firebug which will give you the exact time, from the users' perspective.

If you want the server-side generation times, you can use a Filter. In its doFilter(..) method have something like:

long start = System.nanoTime();
chain.doFilter(request, responsE);
long time = System.nanoTime() - start;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜