Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Java Performance Tuning
 
 

Java Performance Tuning [Paperback]

Jack Shirazi
4.4 out of 5 stars  See all reviews (36 customer reviews)

Available from these sellers.


Formats

Amazon Price New from Used from
Paperback CDN $32.92  
Paperback, Sep 8 2000 --  
There is a newer edition of this item:
Java Performance Tuning Java Performance Tuning 4.4 out of 5 stars (36)
CDN$ 32.92
In Stock.

Product Details


Product Description

From Amazon

Java applications are often seen as slower than native code apps--it's part of the cost of platform independence and ease of use. However, there are speed-up techniques modern coders ignore with fast CPUs and huge memories to cover for them.

Java Performance Tuning covers techniques applicable to coding in any programming language with those specific to not just Java but particular versions. Shirazi starts with an illuminating discussion of real speed versus the user's perception of speed, threading, caching, streaming, bench-marking and choosing what to measure.

Examples of generally applicable speed-up techniques include obvious examples such as moving unnecessary calculations to the outside of loops while Java-specific techniques include avoiding garbage collection. Some techniques are also applicable with other object-oriented languages; for example, reusing objects instead of recreating them.

The text is clear and readable. Everything discussed is shown as code examples with percentage timings to give an idea of the gains you can make. There is also extensive discussion on choosing algorithms.

Shirazi's coverage of distributed programs is particularly enlightening as they suffer from different bottlenecks, at least from a user point of view. Making a user feel the program is faster is often more a matter of retaining the user's attention than actually increasing speed--the Internet, for example, is unlikely to respond to code enhancements.

Because a better understanding of the way your programs work also makes for greater memory efficiency, more robustness and a better user experience--as well as more speed--this book will dramatically improve your programs. --Steve Patient

Book Description

No matter what language they're programming in, developers always wish things would run faster! Especially when writing mission-critical applications, no one wants to be limited by the programming environment. Java Performance Tuning provides all the details you need to know to "performance tune" any type of Java program and make Java code run significantly faster.

Java Performance Tuning contains step-by-step instructions on all aspects of the performance tuning process, right from such early considerations as setting goals, measuring performance, and choosing a compiler. Extensive examples for tuning many parts of an application are described in detail, and any pitfalls are identified. The book also provides performance tuning checklists that enable developers to make their tuning as comprehensive as possible.

Java Performance Tuning is a book to help you "roll up your sleeves" and examine your code in detail in order to apply different tuning techniques to produce the best possible result.

The book shows you how to:

  • Create and plan a tuning strategy
  • Avoid performance penalties from inefficient code
  • Minimize the number of objects a program creates
  • Improve the behavior of loops and switches
  • Use threads effectively

Inside This Book (Learn More)
Browse and search another edition of this book.
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


 

Customer Reviews

36 Reviews
5 star:
 (25)
4 star:
 (5)
3 star:
 (2)
2 star:
 (2)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (36 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

3.0 out of 5 stars a good book, but do you really need it?, May 12 2004
By 
andrew m fuqua (atlanta, ga United States) - See all my reviews
Java Performance Tuning would be a good book to have if you have a seriously performance intensive application or for someone who just really dug performance issues. But it wouldn't be of interest to most people. Most programmers should be able to do all the performance tuning they need to do with a program like Optomizeit.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2.0 out of 5 stars culturally interresting but professionnally almost useless, Dec 4 2003
By A Customer
I could resume this book by..."don't code in Java, do it directly in C"..it remembers me when I was a young C programmer I read a book on performance in C the shortcut was "Don't code in C do it directly in Assembler".

I really enjoyed this book for my programming general culture but for my professionnal day to day it seemed to me almost useless because I work on large J2EE projects.
If I were building a high accessibility web site hosted on a pentium 100 with 8MB ram I would use these techniques but my clients have money and business requierements so I will just keep this book has a enlighment for my discussions with my programmers buddy.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars Excellent book, not just my view, Oct 24 2003
This is an excellent book, with something like 300 tuning techniques covered. Some techniques are more hairy than others, but the breadth and depth is astonishing. I did extensive research before buying this book. I found that it was in the top 3 editors choice for Java book at Javaworld a couple of times, in the top 20 Java books readers choice at JDJ a couple of times (note that is all "Java" books, not "Java Performance" books), it was the choice of a comparative review of Java performance books, it had good reviews by every professional review I could find, and finally, after having read it, it is one of the few Java books I keep handy as a reference.

Looking down at some of the other reviews here at Amazon, I see most people agree with me too. There are some nitpickers. I had to laugh at sudiptokanti, he seems to have decided the book was too dangerous for him. Certainly there are suggestions in the book of hairy performance tunes, as there are many more of perfectly good best practice tunes. And, as the author points out, you should not be using these techniques except after you have identified a bottleneck. sudiptokanti seems to have reviewed the book as if it is a development guide rather than what it is: an excellent guide on performance tuning your applications.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Want to see more reviews on this item?
 Go to Amazon.com to see all 46 reviews  4.2 out of 5 stars 
 
 
Most recent customer reviews











Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback