O’Reilly news

"Any Java Program Can Run Fast" Says Author

October 12, 2000

Sebastopol, CA--Performance has been an important issue for Java developers since the first version of Java hit the streets. Java's performance has improved dramatically since that first release, but you can never have code that runs too fast.

"Making those first interpreted programs run fast enough was a huge challenge for many developers," says Jack Shirazi, author of the just-released book Java Performance Tuning (O'Reilly, $34.95). "Since then, Java performance has improved enormously, and any Java program can now be made to run fast enough, provided you avoid the main performance pitfalls."

Especially when writing mission-critical applications, no one wants to be limited by their programming environment. Java Performance Tuning is a guide many Java developers will find indispensable. "There is a perception that Java programs are slow," says Shirazi. "Part of this perception is pure assumption; many people assume that if a program is not compiled, it must be slow. Part of this perception is based in reality. In earlier versions of Java, you had to struggle hard and compromise a lot to make a Java application run quickly. But even now, and even with good design practices, the first version of a program is often slower than expected. Just as the first version of the code is likely to have bugs that need fixing; the first version often needs tuning for speed. Fortunately, if you know where to focus your attention, tuning is usually easier than debugging."

Performance tuning is inherently a messy task. Using many real-life examples to work through the performance process in detail, Java Performance Tuning shows how tricks such as minimizing object creation, replacing strings with arrays, and others can really pay off on improving your code's performance. Equally important, this book offers common-sense advice about what to tune and what to leave alone-crucial to maximizing performance without damaging your program's architecture. It also provides performance tuning checklists that enable developers to make their tuning as comprehensive as possible.

Java Performance Tuning is a book for developers who are ready to "roll up their sleeves" and examine their code in detail in order to apply different tuning techniques to produce code that is robust, maintainable, and fast.

Online Resources:

Java Performance Tuning
By Jack Shirazi
0-596-00015-4, 440 pages, $34.95

About O’Reilly

O’Reilly, the premier learning platform for technology professionals, offers the industry’s most extensive catalog of high-quality technical and professional skills development courses. From AI, programming, and cloud technologies to essential business skills such as leadership training and critical thinking, O’Reilly delivers highly trusted content from its network of renowned experts that meets a diverse array of learning needs, with over 5,000 role-based on-demand courses, nearly 200 live events each month, access to interactive sandboxes and labs, and more. For more information, visit www.oreilly.com.

Email a link to this press release