Since we are not going into detail on how to optimize JavaScript code within this book, we will stop here and let you know that you can now walk up to our JavaScript developer with some useful metrics to both isolate the potential bottleneck and pinpoint where to start optimizing the JavaScript code.