Summary

This brings us to the book's conclusion, and hopefully you enjoyed the ride. To reiterate perhaps the most important tip in this book, always make sure to verify the source of the performance bottleneck via profiling before making a single change. The last thing we want to waste time on is chasing ghosts in the code base, when five minutes of profiler testing can save us an entire day of work. Also, in a lot of cases, the solution requires a cost-benefitting analysis to determine if we're not sacrificing too much in any other area at the risk of adding further bottlenecks. Make sure to have a reasonable understanding of the root cause of the bottleneck, to avoid putting other performance metrics at risk.

Performance enhancement can be a ...

Get Unity 5 Game Optimization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.