rivm-syso / Analyse-Together

A tool for analysis of air quality data, measured by low cost sensors
GNU General Public License v3.0
1 stars 0 forks source link

Improve performance starting the tool #376

Open elma13 opened 2 months ago

elma13 commented 2 months ago

The data loading for the start data set is very slow

elma13 commented 2 months ago

First give message that it takes some time

elma13 commented 2 months ago

The bottleneck is in getting the data from the cache dbs, see function get_measurements() in data_to_tool.R. This step cost according to profiler 5540. Another part is the calenderplot which cost 1600. So if we could do something in the getting step from the dbs...