← Back to team overview

dhis2-devs team mailing list archive

Performance of totals in data entry

 

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

Follow ups