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

Would Profiling Help?  RSS feed

 
Somnath Mallick
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

At work, I was handed a new task this week, which I have to complete in a very short period of time. There is a web application (quite a huge one) based on Struts 2.0/ATG and other stuff. Running on WebLogic 10.0. Now after a lot of research, it was found that the Login process of the web application is taking too long and there was a need for optimizing the login process. There were some calls to other applications which are not handled by us which were taking to long. The current status is that the login process takes around 16-18 seconds. I was given the task of finding out where it can be optimized and how. The target is something around 10 seconds. Lower the better. I would like to know that would using a Profiler help in this case? Please guide me.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A profiler doesn't help you with improving your application speed but helps you in getting insight in where your program spends the most time.
Then you can focus on those areas and thus focussing on the problem instead of optimizing everywhere.
 
Somnath Mallick
Ranch Hand
Posts: 483
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes that is something we have to look at. So i guess i will give Profiling a shot. But for now I just have to go through method calls and filter out unnecessary calls! Just by searching through the workspace! Boring!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!