September 07, 2010, 04:14:19 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Home Help Media Affiliates Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Java Performance Tuning - A Practical Approach  (Read 1493 times)
0 Members and 1 Guest are viewing this topic.
Arkie
Javaforums.net Admin
Senior Member
*

Reputation: 16
Developer @ Javaforums.net
Offline Offline
Posts: 2620
Referrals: 13

WWW Awards
« on: August 12, 2008, 01:14:51 PM »

An article about maximizing the performance under Java. A nice read for those that are into micro performance and want to get every little extra performance boost that is possible.


Quote
Java Performance Tuning - A practical approach

Introduction From time to time, java developers reach a phase where they hear “application is slow”, “one click takes so much time”, “unless you improve the performance, project is going to be scrapped” so and so. Normally, that’s the time when you have released the first version of your product. Product is running, but not fast enough up to expectations of end customers and marketing.

In my opinion, there are performances issues which all java developers needs to keep in their mind while coding. They are standard across platforms and there is only one solution. These are issues which are not practical to change when you are in performance tuning phase. This will have only marginal effect on total performance and need lot of changes as numbers of occurrences are more. But cumulative effect of all these tips might be drastic. In performance tuning phase, if we try to tackle those issues, we will land up rewriting the complete code. (This may not be a bad idea if you think the module is not written well).

So I would like to categorize performance issues to two types.

1. Performance tips during coding.
2. Performance tips after coding.

Read the article here: http://bobypt.googlepages...Tuning-Apracticalappr.pdf
Logged

Java and .NET developer

To students: It doesn't matter how hard you've studied; the material won't be on the exam anyway.

Fan of http://www.retardedweblogger.com
Oh man, too much stuff to do in so little time.

http://img222.imageshack....707/arkietomatoesmall.jpg
Blizzcon 2k9 Grubby and Cassandra Ng engaged ! <3
Triple D, eerste Denken Dan Doen
Javaforums.net :: a community about Java software development.
« on: August 12, 2008, 01:14:51 PM »

Your Ad Here
 Logged
jurka
Staff
Member
*
*

Reputation: 5
Offline Offline
Posts: 188
Referrals: 0

Awards
« Reply #1 on: August 12, 2008, 01:55:03 PM »

This was very nice article, I read it all trough but yes as he wrote about String contacting that it would create 100 objects of String, I also want to tell that don't use Object creation for primitive types, like Long, Integer use instead long, int. Also be careful with auto-boxing.

I am waiting for next interesting article  045!
Logged
Javaforums.net :: a community about Java software development.
   

Your Ad Here
 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.202 seconds with 36 queries.

Google visited last this page August 30, 2010, 06:16:16 AM