In this chapter, the reader has learned about the JMH tool and was able to use it for specific practical cases similar to those they encountered while programming their applications. The reader has learned how to create and run a benchmark, how to set the benchmark parameters, and how to install IDE plugins if needed. We also have provided practical recommendations and references for further reading.
In the next chapter, readers will be introduced to the useful practices of designing and writing application code. We will talk about Java idioms, their implementation and usage, and provide recommendations for implementing equals(), hashCode(), compareTo(), and clone() methods. We will also discuss the difference between the usage of the StringBuffer and StringBuilder classes, how to catch exceptions, best design practices, and other proven programming practices.
...