We have Flex/Java app with a typical scenario:
- Clicking the button
- Preparing request
- Sending request to the backend
- Receiving a response from the backend
- Rendering the response
How can I measure time from the start of step 1 to end of step 5?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The most common approach would be to use the getTimer() method. Call it when you click the button; and call it again when you finish rendering the response. Compare the two values to get the amount of time that has passed.