|
|||||||||||||||||||||||||||||||||||
|
17 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
27 of 30 people found the following review helpful:
2.0 out of 5 stars
Shallow coverage with some redeeming utility,
By Bob Carpenter (New York, NY) - See all my reviews
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
The table of contents is deceptive, because all of the important optimization topics are covered, including the Java-specific ones. The problem is, most of these topics are not covered in any depth beyond a simple introduction. I like terse books and believe most books about computers these days are way too fat; my hats are off to Addison Wesley for controlling that tendency with well edited books in this series. This book is thin at 230 pages, but unfortunately, a lot of that is filler of the "let me tell you what I'm going to tell you, tell you, and then tell you what I told you variety. The advice is generally sound, such as "use a profiler to decide what to optimize", but all too often the advice stops there. One learns that linked lists are fast for deletes and array lists are fast for random access. But what if neither has the performance characteristics you need? I would recommend Jon Bentley's "Programming Pearls" for someone who really wants to get a feel for optimization through a number of tight case studies. The examples may be C, but they're insightful and more applicable to the problems you're likely to face than the ones encountered when writing the Swing or Collections classes themselves. Then go out and use a serious optimizer like Quantify, which is essentially what the authors of this book suggest. At that point, you'll wonder why the authors stopped their review of Collections with Sun's built-in implementations. The code for running mulitple programs and controlling class loading in Chapter 6, though I have not tried it, is interesting and something I'd not seen elsewhere. Other diversions, such as timers and threading in Swing are covered elsewhere. What would have been helpful is a detailed look at debugging threading performance, say through object, resource or thread pooling (an idea dismissed earlier for "small objects"). One glaring omission is a serious micro-benchmarking of basic operations. I found the comparison of speed when using final vs. non-final classes or methods to be startling in practice, and numbers here would help. Similarly, access times for hash tables vs. arrays, simple object construction times, floating point vs. integer arithmetic times, object variable vs. local variable access, etc. There are some wonderful micro-benchmark applets on the web with this functionality. What you'll learn is that up-casting takes forever, so any use of built-in collections/iterators for performance-critical operations will do you in. I found the constant sales pitch for the Sun HotSpot (TM) Virtual Machine a bit tiring. It concludes with a recapitulation of the marketing materials in Appendix B. It is alternately described as "highly optimized", "state-of-the-art", having a "superior memory allocator", "ultra-fast", having "excellent multiprocessor performance characteristics", having "agressive inlining", having "excellent paging", etc. etc. The appendix devoted to HotSpot (TM) is particularly noteworty for its omission of any profiling information!
8 of 8 people found the following review helpful:
4.0 out of 5 stars
Great start, straight to the point,
By A Customer
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
Although this topic could be explored a lot deeper, this is a great book to get started on Java performance. I read it, cover to cover, in a few days on the bus, back and forth to work, and it's changed my approach to coding in Java.The first part on strategies is fundamental and cover concepts on performance. This is a must for anybody who wants to get started on the topic. The second part on tactics goes into details about spesific issues in Java, and because of the GUI / Swing background of the authors, it is mostly focused on topics related to that. If that's what you're working on, this is a 5 star book, but since Java is becoming more and more server focused technology, it's a little bit missing for people like myself who write Servlets and JSPs. Hopefully, there'll soon be a book that discusses performance in J2EE.
17 of 20 people found the following review helpful:
5.0 out of 5 stars
Improve your Java by shedding its myths,
By
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
There are a number of things everybody 'knows' about Java. Bad things such as "It's slow (but can be speeded up by calling native methods)" or good things such as "It doesn't leak memory". Unfortunately, like most things, the truth is more complicated.Wilson and Kesselman have done an excellent job of getting under the bonnet (or hood for those in the US) of Java whilst firmly remaining practical rather than theoretical. I bought the book because we suspected memory leakage problems in one of our applets but couldn't find much information on the subject elsewhere. The net result is that we've had our eyes opened to a number of issues we weren't aware of and have been able to tackle them with informed confidence rather than ill-educated guesswork. A particular bonus is the information on benchmarking. So often we find we develop solutions on the basis of ease of coding rather than performance (not always bad thing). What I've found now is that I have greater confidence in both trying out different solutions and then concrete evidence with which I can justify my decisions to others. Though not for beginners, I would reccommend this book as a good one for expanding your knowledge of how to deliver good, practical, faster and more robust Java. Being able to give sound background information on why you write a piece of code in a particular way is an important step on the way from being a developer to being a key developer.
10 of 12 people found the following review helpful:
3.0 out of 5 stars
How to Tune Swing,
By Kirk Pepperdine (Pembroke Pines, FL United States) - See all my reviews
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
The focus of the book is on tuning single user GUI (Swing,AWT) applications and as such, offers some good insight on this subject. Chaper 2, The Performance Process, Chapter 3, Measurement is Everything, and Chapter 4, I/O Performance although thin, offer practical information that extend beyond Swing. The focus in subsequent chapters narrows as the authors prepare the reader for the more advanced techniques used for tuning Swing applications. Those tuning server applications will find that they are not able to use a number of techniques or advice offered by the authors.
6 of 7 people found the following review helpful:
2.0 out of 5 stars
Very poor and shallow,
By
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
It's a shame that Sun fellows can only come with so little material about Java performance.Even JavaWorld articles contain more information about the subject. For example, when talking about optimizing the serialization process all authors can offer is to set more fields to be transient. Is that all you can think of ? How about custom writeObject, folks ? When discussing data structures and algorithms all authors can say is "choose accordingly, it depends". Oh, thank you, I didn't know that .. Well, it seems to be that this books was written in a couple of days without any serious
4 of 5 people found the following review helpful:
4.0 out of 5 stars
Great Book but should have been more detailed,
By Abhishek Pathak (Hayward, CA) - See all my reviews
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
I would definitely reccomend this book to someone who is not at all familiar with performance tactics in Java, but this book does not adds much to the much known tactics found on web or in the Dov Bulka's book.Since this book was from Sun Press I definitely expected more from this book considering the depth provided by other books from them. But this book kinda embarrased me by reiterating the tricks already known and introducing the esoteric concept of benchmarking and not providing much details with it. I hope somebody would come up with more exhaustive work in this field very soon....
8 of 11 people found the following review helpful:
5.0 out of 5 stars
Excellent,
By Joe Beard (Seattle, WA) - See all my reviews
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
This book covers many parts of Java. There are lots of tips on how to make your code faster. I really liked the chapter on "RAM Footprint." The chapter about JNI was also really useful. The writing style was easy to follow and the example code is very clear. You should get this book.
1 of 1 people found the following review helpful:
3.0 out of 5 stars
Buy it if you're a Swing developer,
By
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
Although this is a nice-to-have book (for bookworms like us which isn't after all?), I wouldn't really recommend it as the book to buy for Java performance any more, other than for people that are doing Swing, for whom it would indeed be greatly beneficial. Jack Shirazi's "Java Performance Tuning" is becoming the de facto standard Java performance book, and a second edition of it has come out, which is pretty up-to-date. On the other hand, Wilson's book is starting to show its age.Wilson (the main author) has worked on Sun's Swing team and then on the performance team in the late 90's and that is where he draws his experience from. This book is not geared toward people that do server-side Java (which I believe to be the great majority).
3.0 out of 5 stars
Saved me a couple of times,
By Andreas Mross (Sydney, Australia) - See all my reviews
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
OK, so my initial impression of this book was similar to many others. It seemed thin and only provided a shallow treatment of the topic. After reading it I put it back on the shelf.
Having said that, the couple of times I have hit a brick wall with performance problems that I couldn't solve with my own experience and skill, I have reached for this book and found an immediate and effective solution. You can't ask for more than that. If you are rewriting the Quake engine in Java, you will definitely need a book that covers the subject in more depth. If you are like me and only have the occasional need for performance tuning,this book may be all you need.
3.0 out of 5 stars
Not very helpful for experienced java developers,
By
This review is from: Java™ Platform Performance: Strategies and Tactics (Paperback)
I would definitely reccomend this book to someone who is not at all familiar with performance tactics in Java, but this book does not adds much to the much known tactics/tips/tricks used in everyday programming or found on web.Since this book was from Sun Press I definitely expected more from this book considering the depth provided by other books from them. But this book embarrased me by reiterating the tricks already known and introducing the esoteric concept of benchmarking and not providing much details with it. Being a java developer since last 5 years, I didn't learn anything new from this book except the concept of benchmarking which this book brushes lightly without really explaining it well. |
|
Most Helpful First | Newest First
|
|
Java™ Platform Performance: Strategies and Tactics by Steve Wilson (Paperback - June 10, 2000)
$39.99 $30.94
In Stock | ||