← Back to team overview

dhis2-devs team mailing list archive

Re: Performance of totals in data entry

 

Hi Olav,

okay we will have to look into this.

Lars



On Wed, Jun 18, 2014 at 12:13 PM, Olav Poppe <olav.poppe@xxxxxx> wrote:

> Hi,
> not sure if this is a bug or if it has been like this all the time -
> however, the calculation of data element totals in data entry is *very*
> slow for datasets with more than 50-100 totals. Has been setting up a
> morbidity form with 100+ data elements with age/gender breakdown, and the
> data entry hung 2-3 seconds for each new value that was entered while all
> the totals were updated. In the end we made custom javascript code for
> calculating the totals, which work find, but it would be a lot easier to
> use the built in totals.
>
> Looking at the code it seems all totals are updated for each new value,
> but it shouldn’t be that difficult to update only the value related to the
> data element of the value that was saved?
>
> Olav
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References