Depending on the expected and actual performance, and the lack or presence of a measuring system, performance analysis and tuning can be a fairly elaborate process. Now we will discuss the analysis of performance characteristics and ways to measure and monitor them. In this chapter we will cover the following topics:
Measuring performance and understanding the results
What performance tests to carry out for different purposes
Monitoring performance and obtaining metrics
Profiling Clojure code to identify performance bottlenecks