swing - how to calculate the time required by a java application to draw ui? -


I want to measure response time of user interface developed in Java swing. The application is a simple window that includes some buttons, frames and images. I'm not a Java geek, so to get started in this direction an idea is needed.

How can we calculate the time taken by the Java application to attract the developed user interface using swing?

Check with this stuff and log the analysis for you

  StartTime = System.currentTimeMillis (); Endime = system syentime milliseconds (); LogString.append ("++ (end time - starttime));    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -