health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] Performance Tuning


From: Luis Falcon
Subject: Re: [Health] Performance Tuning
Date: Tue, 13 Dec 2016 19:33:25 +0000

Dear Khurram

On Tue, 13 Dec 2016 20:28:56 +0500
Khurram Shahzad <address@hidden> wrote:

> Dear All,
> 
> Further investigations on the delayed response revealed that when we
> click 'New' button on patients' list, following background actions
> were run:
> 
> [2016-12-13 12:52:45,215] INFO trytond.protocols.dispatcher
> model.ir.ui.view_tree_state.get(*('gnuhealth.patient.disease', '[]',
[..]
> None, {'
> [2016-12-13 12:52:45,363] INFO trytond.protocols.dispatcher
> model.ir.ui.view_tree_state.get(*('gnuhealth.patient.disability_assessment',
> [2016-12-13 12:52:45,488] INFO trytond.protocols.dispatcher
> As it is clear from the first element, the total time consumed in all
> these actions is about 7 seconds.
> 
> Luckily, I unchecked the following option from my Tryton Client:
> Options -> Form -> Save Tree State
> 
> As a result of disabling this option, most of the above actions
> disappeared and the time decreased to under 2 seconds.
> 
> However I don't know, if disabling this setting has some negative
> effect!
> 
> Regards,
> Khurram.

Thanks a lot for the feedback !!

Disabling the tree state should not have any negative effect, just not
storing the expanded fields on the tree view.

BTW, did you get to re-install the database with the --locale=C ?
That should give you a boost in performance on retrieving / loading the
views .

We will create a section on "Performance tuning" for GNU Health with
these and other tips.

All the best
Luis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]