Performance Optimization
With the help of the Odoo framework, you can develop large and complex applications. Good performance is key to the success of any project. In this chapter, we will explore the patterns and tools you need to optimize performance. You will also learn about the debugging techniques used to find the root cause of a performance issue.
In this chapter, we will cover the following recipes:
- The prefetching pattern for recordsets
- The in-memory cache –
ormcache
- Generating differently sized images
- Accessing grouped data
- Creating or writing multiple records
- Accessing records through database queries
- Profiling Python code