Hi friends,
Iam trying print the application execution time using System.currentTimeMillis(); while entering and exiting as follows :
long before = System.currentTimeMillis();
chain.doFilter(request, response);
long after = System.currentTimeMillis();
config.getServletContext().log(" " + (after - before) + "ms");
The response times Iam getting are somewhat extra ordinary.........
they are in steps i mean to say values are as follows in milli seconds
0,15,16,31,32,46,47,62,63,78
These for different scenarios but u can observe there is exactly 15 ms difference.....and there is no times between 0 to 15 ms, 16 to 31 ms
I want is there any problem with System.currentTimeMillis();
thanks