Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to find JSP page total load time

Posted on 2010-11-18
6
Medium Priority
?
1,866 Views
Last Modified: 2012-05-10
I'm working on improving the response time for our JSPs pages by compressing the html contents sent back to the client in the response object and by trimming spaces generated due to the JSTL tags. I would like to collect data for as is and the imroved transactions and I want to collect data by executing the transactions at different sites  where our end-users use them. To achieve this I would like to add a code to the JSPs that will record the time when a request for the page is sent and the other time when the response is sent to the client and the page has been competed loaded. I would like to know what do I need to do to achieve the total load time for the JSPs. My application is using MVC (Model-View-Controller) architect using JSP, JAVA and Spring  with JBOSS AS.
0
Comment
Question by:javaCaravan0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 34169719
you can use a filter to measure that
0
 
LVL 92

Accepted Solution

by:
objects earned 1000 total points
ID: 34169759
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 34169802
If it's a publicly visible web site, you can use http://www.uptrends.com/aspx/free-html-site-page-load-check-tool.aspx .
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:javaCaravan0
ID: 34169846
no it's not a publicly visible site.
0
 
LVL 16

Assisted Solution

by:Valeri
Valeri earned 1000 total points
ID: 34170927
try :
long start = System.currentTimeMillis();
...
soem code
...
long end = System.currentTimeMillis();
long timeTaken = end - start;
I think it will be enoughfor your needs.
0
 

Author Comment

by:javaCaravan0
ID: 34273693
I'll be closing it by next week
0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question