On 2015-10-09 13:43, Cédric Krier wrote: > On 2015-10-09 04:09, Mindaugas Kašalynas wrote: > > While not redoing the Assignation process, what would be ideas to speed up > > the process? Which part of Server should be altered? > > The drawback is that the Move.assign_try is doing a lot of single > write/copy. The write could probably be optimized to be combined but > hardly the copy. > Also the call to assign could be done at the end with all the moves. > Finaly, the search of child location inside the loop could be > externalized with a cache.
As I was already there, here is the patch: https://bugs.tryton.org/issue5033 I did not measure the improvement, it will be great if you can do it on your setup. Thanks, -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
