nens / lizard-progress

Tracks progress within measurement projects
GNU General Public License v3.0
0 stars 0 forks source link

prefetch, cache percentage done calculations #333

Open ghost opened 5 years ago

ghost commented 5 years ago

Basically caching more + caching some ids rather than querysets. Approx. 50% less DB hits, 26 s -> 9 s total. Might be worth trying before going PITA of storing and updating percentages in the DB.