Results 1 to 5 of 5
  1. #1
    developer321 is offline Member
    Join Date
    Jun 2008
    Posts
    10
    Rep Power
    0

    Default Java Performance Ideas

    I have posted my thoughts on performance improvement in below blog :
    vishnujavablogs.blogspot.com/vishnujavablogs

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Nearly all optimizations made without measuring real code in operation are premature.

    "We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." (Knuth, Donald. Structured Programming with go to Statements, ACM Journal Computing Surveys, Vol 6, No. 4, Dec. 1974. p.268.)

  3. #3
    developer321 is offline Member
    Join Date
    Jun 2008
    Posts
    10
    Rep Power
    0

    Default

    Understood,these are ideas once you find the bottelnecks after benchmarking the performance measures.

    Most of the measures I have found usefull were from the log statements(log4j) with timestamp.

  4. #4
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    And your ideas are decent places to start once you've profiled the hot spots. Netbeans has a decent profiler that I've used. I'm sure there are lots of alternatives.

    You kit on the big on: Don't clank the database.

    Its worth 1000 lines of code to avoid a clank in a hot spot.

  5. #5
    developer321 is offline Member
    Join Date
    Jun 2008
    Posts
    10
    Rep Power
    0

Similar Threads

  1. how to improve java performance
    By sunjavaboy in forum Advanced Java
    Replies: 6
    Last Post: 06-15-2008, 05:58 AM
  2. Merging Ideas
    By CompleteBeginner in forum New To Java
    Replies: 1
    Last Post: 05-19-2008, 02:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •