Closed peterdudfield closed 10 months ago
We should try pivoting the return object, to return by time
[ {time: 'xxxx', locations: [ {'forecast_mw:1.2, 'forecast_per', 'site_uuid':1, { 'forecast_mw:1.2, 'forecast_per', gsp_id:2} }, {}.]
Changes from
to
For 26 sites
Time goes from ~6s to 6s Size goes from 5.3MB to 437KB
Note 4 seconds is dont by searching through sites, and seeing if the user has access to them #116
Detailed Description
We should try pivoting the return object, to return by time
Context
Possible Implementation