Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tool compare web sites performance  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1054
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to compare the perfomance of two different web apps.

Is it any automated tool for it? And also real time monitoring system?

Regards, Isaac
 
Pedro Botero
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This can be helpful: http://www.javosize.com

Once you have downloaded it an attached to your process, just executing java -jar <PID> (where PID is the process ID of your application server) you can do:

cd /apps
ls

[javOSize@JVM /apps]~> ls
Metric collected Since: Fri Aug 14 20:45:10 EDT 2015
Application | % CPU | AvgRT(ms) | Hits |
=========================================================================================================================================================
Archetype Created Web Application | 0.18 | 35.00 | 1 |
+ + + +
Welcome to Tomcat | 0.85 | 16.21 | 14 |
+ + + +
Servlet and JSP Examples | 0.24 | 4.46 | 13 |
+ + + +
[javOSize@JVM /apps]~>



And you will get a full detailed view on how your apps are performing in real time, including detailed CPU consumption pero application. You can do do also a

cat APPNAME

[javOSize@JVM /apps]~> cat Welcome to Tomcat
Metric collected Since: Fri Aug 14 20:46:10 EDT 2015
URL | % CPU | AvgRT(ms) | Hits | User Experience |
=========================================================================================================================================================
/tomcat.css | | | | |
+ + + + +
/asf-logo.png | | | | |
+ + + + +
/bg-middle.png | | | | |
+ + + + +
/bg-upper.png | | | | |
+ + + + +
/bg-nav.png | | | | |
+ + + + +
/tomcat.png | | | | |
+ + + + +
/admin | | | | |
+ + + + +
/bg-button.png | | | | |
+ + + + +
/ | | | | |
+ + + + +
[javOSize@JVM /apps]

and you will get a detailed view of the different URLs that Application expose as well as performance metrics.


It is also very useful the availability of this next generation profiler to be easily scripted and extended so you can create your automation tasks, for instance you can invoke from cron:

java -jar javosize-1.1.3.jar -entity="apps" -command="ls" 25568

And you will get the ouput of executing an ls in the /apps.

You can finally do further automation with recipes, have a look at http://www.javosize.com/gettingStarted/recordRecipes.html

Hope this helps.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!