Koo performance improvements

Albert Cervera i Areny Jan 18, 2010

The last couple of days Koo has seen a significant performance boost. Changes are so important that we may make a new release with no other fixes or features. Here's what we've changed:

  • Delayed data loading of images, one2many and many2many fields. All these fields will only be loaded when they're shown. This means that if they're not in the first tab, they won't be loaded, drastically increasing form load time in some views.
  • Delayed loading of view description and settings for one2many and many2many fields. These are loaded when they're shown for the first time, avoiding loading if the user never clicks in their tab.
  • Koo was doing some unnecessary calls to the server, it has now been carefully reviewed and fixed.
  • When switching from list to form, and then back to the list, Koo would load the fields of the form for all records preloaded in the list. This is no longer true and switching back to the list is immediate.
  • Fixed an issue which in some cases may not load all fields of a form if user: switched from list to form, went back to the list, returned to the form and then moved to next or previous records (at least reproducible in customer invoices).
With these changes we've been able to decrease load time of a very large product form view of one of our customers from 10 seconds down to 2. But the performance gain could be even greater depending on the data.
 
These changes are very recent and we'd like to release soon, but the more people try it the sooner we'll be able to make a new stable release, so you're encouraged to pickup latest changes from bazaar and give us feedback. Even if it just works for you, leave a comment in this blog, it'll be important to know that people are trying it and it's behaving as expected.
 
Thanks for your help!

Top