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 recipe, we will explore patterns and tools you need to optimize performance. The recipes included in this chapter are for improving performance at the ORM level, not for performance optimizations on the client side or the deployment side.

In this chapter, we will cover the following recipes:

  • The prefetching pattern for the recordsets
  • The in-memory cache ormcache
  • Generating image thumbnails
  • Accessing grouped data
  • Creating or writing multiple records
  • Accessing records through database queries
  • Profiling Python code
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset