mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
Don't refresh CP, LTM or Histogram plots when dateRange property is set, if the dateRange was previously plotted anyway. Will set to stale if a ride is added or deleted too. This means the replot of tabs is not performed when simply switching between tabs. But will if the date range does change or a ride is added or deleted meaning the aggregate needs to be re-calculated. There is still one more performance improvement required; 1. get RideFileCache to have a cache of recent aggregations. Since (a) the same ranges will be called over and over by different charts when a season is selected and (b) there are only likely to be 20-30 seasons defined in total, so lets cache them instead of recalculating every time.
10 KiB
10 KiB