Page 3 of 3
Re: Long running trend scripts - b3084
Posted: Sun 21 Jun 2020 7:59 pm
by mcrossley
Having played around with the boost pack on the Cumulus interface I think I can speed this up dramatically.
The updated files for \interface are in the attached zip if you would like to try them...
Re: Long running trend scripts - b3084
Posted: Sun 21 Jun 2020 10:37 pm
by stevendt
Hi Mark
Thanks a lot (and to Mapantz too)
I will give it a try in the morning
Regards
Dave
Re: Long running trend scripts - b3084
Posted: Mon 22 Jun 2020 7:44 am
by HansR
Thanks Mark: real performance boost!
I immediately implemented it for CumulusUtils

Re: Long running trend scripts - b3084
Posted: Mon 22 Jun 2020 10:11 am
by stevendt
Hi Mark,
thanks a lot for that - it works for me too, but I don't know why
I copied the files to the local /interface and I/interface/js directories, to help me understand, can you explain how these local files influence the files that get executed remotely? The remote trends.html file does not appear to have changed, but the Wind Dir trend call up/rescale is definitely faster
regards
Dave
Re: Long running trend scripts - b3084
Posted: Mon 22 Jun 2020 10:19 am
by mcrossley
Here are the updated files for the web site trends page. Please try them out and see if they work for you.
trendsT.htm into your Cumulus \web folder
cumuluscharts.js into your web server \js folder
stevendt wrote: ↑Mon 22 Jun 2020 10:11 am
thanks a lot for that - it works for me too, but I don't know why
I copied the files to the local /interface and I/interface/js directories, to help me understand, can you explain how these local files influence the files that get executed remotely?
The HTML file changes make the pages load the HighCharts "boost" package, and the script changes enable some boost features for the wind direction charts.
Re: Long running trend scripts - b3084
Posted: Mon 22 Jun 2020 10:41 am
by stevendt
Hi Mark,
thanks a lot for that, but can you help clear up some ignorance here please . . . .
I downloaded your first file, charts.zip, and put the files in the local /interface & /interface/js directories, then reloaded Cumulus
The website WIndDir charts were much faster, but I could not see how this could be having just changed local files.
Your upload of trends.zip and the requirement to change the trends template and remote charts js file makes sense to me, but I don't understand how the first upload could help remote chart speed? Was it just a coincidence that things got faster after the local trends change?
regards
Dave
Re: Long running trend scripts - b3084
Posted: Wed 24 Jun 2020 2:46 pm
by stevendt
Hi Mark,
OK, a penny has dropped -
charts.html is for the local interface
trends.html is for the remote website
The increase in speed that I thought I saw on the website after changing charts.html can only have been a coincidence