I need to speed up an installation script which creates a large number of account.account records using the public ORM API. I do this by calling (through erppeek) model('account.account').create
for each record, and each account creation takes up to 8 seconds on my not too slow laptop.
I'm not sure where the time is spent. Maybe in the parent_left
/parent_right
computation.