Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Long running trend scripts - b3084
Moderator: mcrossley
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Long running trend scripts - b3084
Changing the range only redraws the graph, it does not download any new data. A bit of a mystery this one!
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Long running trend scripts - b3084
I don't know if you've changed anything since your first post, but your graphs load instantly for me - all of them.
-
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi, thanks for the input
No, not changed anything. Are you selecting Wind Direction, then changing the time base from All to 12h? - And it's working fine?
regards
Dave
No, not changed anything. Are you selecting Wind Direction, then changing the time base from All to 12h? - And it's working fine?
regards
Dave
- PaulMy
- Posts: 3830
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Long running trend scripts - b3084
I can confirm the slow load behaviour. Selecting the various elements from the bottom selection is pretty much instant, and the same for selecting from the top All, 12h and 6hr except for WindDir which at first I thought froze the page but in actuality can take a few minutes the first try and then less than a minute on subsequent selection between 6h, 12h or All, but still a long time.No, not changed anything. Are you selecting Wind Direction, then changing the time base from All to 12h? - And it's working fine?
Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm
-
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi Paul,
thanks a lot for the confirmation - I'm glad that the issue can be duplicated on other computers.
But, as Mark says . ."A bit of a mystery this one!"
thanks a lot for the confirmation - I'm glad that the issue can be duplicated on other computers.
But, as Mark says . ."A bit of a mystery this one!"
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Long running trend scripts - b3084
Yes, that specific graph (Wind Direction) is also slow here.
I made a performance analysis and it shows as follows: Maybe somebody more familiar with the inner workings of Highcharts can bake something of this.
This almost 8 seconds on a total of creating the graph of 10 seconds (don't count the idle )
Did you try upgrading some Highcharts libraries? Maybe some version mismatch?
I made a performance analysis and it shows as follows: Maybe somebody more familiar with the inner workings of Highcharts can bake something of this.
This almost 8 seconds on a total of creating the graph of 10 seconds (don't count the idle )
Did you try upgrading some Highcharts libraries? Maybe some version mismatch?
You do not have the required permissions to view the files attached to this post.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Long running trend scripts - b3084
And this is a second try, now with the flamechart. Displaying the calls again to show where the time consumption is.
You do not have the required permissions to view the files attached to this post.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- HansR
- Posts: 5957
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Long running trend scripts - b3084
And I can add, that on my own site, with the wind direction it is also not performing very well.
So I assume there is something wrong in that graph
Indeed.
Btw, I rarely use that range selector.
So I assume there is something wrong in that graph
Indeed.
Btw, I rarely use that range selector.
Hans
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi Hans,
thanks for the info.
I only noticed this behaviour after I had upgraded from b3079 to b3084 by copying the changed files for all intermediate and latest release.
I have checked, and as far as I can see, I have copied all of the necessary files to my local and remote directories. Of course, the problem may have existed previously, but it seems that something changed? Although, I probably don't use the range selector on Wind Direction very much - I was checking something in particular from last night, so perhaps the issue was always there. (b3079 was my first install)
Mark did say that the Wind Dir graph does some extra processing, but having fetched the data, it's odd that asking for a redraw causes such a big delay
regards
Dave
thanks for the info.
I only noticed this behaviour after I had upgraded from b3079 to b3084 by copying the changed files for all intermediate and latest release.
I have checked, and as far as I can see, I have copied all of the necessary files to my local and remote directories. Of course, the problem may have existed previously, but it seems that something changed? Although, I probably don't use the range selector on Wind Direction very much - I was checking something in particular from last night, so perhaps the issue was always there. (b3079 was my first install)
Mark did say that the Wind Dir graph does some extra processing, but having fetched the data, it's odd that asking for a redraw causes such a big delay
regards
Dave
Last edited by stevendt on Sun 21 Jun 2020 5:23 pm, edited 1 time in total.
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Long running trend scripts - b3084
Have you tried adding boost.js?
Code: Select all
<script src="https://code.highcharts.com/modules/boost.js"></script>
-
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Since I have no idea what that means, then, no, I haven'tMapantz wrote: ↑Sun 21 Jun 2020 5:23 pm Have you tried adding boost.js?
Code: Select all
<script src="https://code.highcharts.com/modules/boost.js"></script>
regards
Dave
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Long running trend scripts - b3084
Add that line underneath your highstock.js in trends.htm and then try a ctrl + F5 refresh.
-
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi,
thanks - I'm guessing that I should put it in trendsT.htm?
The latest CumulusMX build trends includes :
does the boost.js need to point somewhere similar? (8.0?)
regards
Dave
thanks - I'm guessing that I should put it in trendsT.htm?
The latest CumulusMX build trends includes :
Code: Select all
<script src="https://code.highcharts.com/stock/8.0/highstock.js"></script>
<script src="https://code.highcharts.com/8.0/themes/grid.js"></script>
<script src="js/cumuluscharts.js"></script>
regards
Dave
-
- Posts: 1808
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Long running trend scripts - b3084
Just use the exact link I posted
Not saying it will work, but it does speed up the rendering of my wind direction charts.
Code: Select all
<script src="https://code.highcharts.com/stock/8.0/highstock.js"></script>
<script src="https://code.highcharts.com/modules/boost.js"></script>
<script src="https://code.highcharts.com/8.0/themes/grid.js"></script>
<script src="js/cumuluscharts.js"></script>
-
- Posts: 17
- Joined: Mon 31 Aug 2015 6:31 am
- Weather Station: Vantage Pro 2 Plus
- Operating System: Windows Pro 10 64b
- Location: Zaandam, Nederland
- Contact:
Re: Long running trend scripts - b3084
WindDir uses scatter instead of line or spline. The only graph , that gives some delay.