Ran this again, realizing I hadn't removed public_html between first and
second run (thinking it was production weewx causing the issue).

root@raspi-server-misc:/var/tmp/weewx-benchmark# weectl report run
--config=./weewx.conf

Using configuration file *./weewx.conf*

All enabled reports will be run.

Generating as of last timestamp in the database.

2023-12-26 20:23:48 weectl[2979]: INFO weewx.cheetahgenerator: Generated 21
files for report SeasonsReport in 6.09 seconds

2023-12-26 20:23:55 weectl[2979]: INFO weewx.imagegenerator: Generated 68
images for report SeasonsReport in 6.59 seconds

Done.


So Vince, you said something about a previous bug looking for extensions
somewhere else?

On Tue, Dec 26, 2023 at 6:49 PM Ryan Stasel <[email protected]> wrote:

> That time may be skewed by my prod weewx being in it's current state.
> Stopped the production instance and re-ran:
>
> weectl report run --config=./weewx.conf
>
> Using configuration file *./weewx.conf*
>
> All enabled reports will be run.
>
> Generating as of last timestamp in the database.
>
> 2023-12-26 18:47:13 weectl[1845]: INFO weewx.cheetahgenerator: Generated 8
> files for report SeasonsReport in 2.45 seconds
>
> 2023-12-26 18:47:14 weectl[1845]: INFO weewx.imagegenerator: Generated 17
> images for report SeasonsReport in 0.82 seconds
>
> Done.
>
>
> That seems much more inline with 4.10.2. And like Cameron, I've been
> updating from 4.x along the way, I think I started my DB with 4.x (I don't
> believe I upgraded from 3). My DB is over 10y of data, and is about 700MB.
>
>
> Hopefully this helps find a fix...
>
> On Tue, Dec 26, 2023 at 6:45 PM Ryan Stasel <[email protected]> wrote:
>
>> In my case, benchmark:
>>
>> weectl report run --config=./weewx.conf
>>
>> Using configuration file *./weewx.conf*
>>
>> All enabled reports will be run.
>>
>> Generating as of last timestamp in the database.
>>
>> 2023-12-26 18:42:45 weectl[1787]: INFO weewx.cheetahgenerator: Generated
>> 21 files for report SeasonsReport in 6.12 seconds
>>
>> 2023-12-26 18:42:53 weectl[1787]: INFO weewx.imagegenerator: Generated 68
>> images for report SeasonsReport in 7.56 seconds
>>
>> Done.
>>
>> On Tue, Dec 26, 2023 at 6:25 PM 'Cameron D' via weewx-development <
>> [email protected]> wrote:
>>
>>> Benchmark results: 1.4s for files and 1.5s for images
>>>
>>> Added to Wiki.
>>>
>>> On Wednesday 27 December 2023 at 12:02:02 pm UTC+10 Tom Keffer wrote:
>>>
>>>> Can you please run the benchmark that Vince linked to earlier:
>>>> https://github.com/weewx/weewx/wiki/Benchmarks-of-file-and-image-generation
>>>>
>>>> Unfortunately, it runs only under V5 (not v4.10). Still, it will give
>>>> us an idea whether you're in the right ballpark for runtimes.
>>>>
>>>> -tk
>>>>
>>>> On Tue, Dec 26, 2023 at 5:38 PM 'Cameron D' via weewx-development <
>>>> [email protected]> wrote:
>>>>
>>>>> 74 seconds clock time to run a seasons report looks like the same
>>>>> problem I am seeing.
>>>>>
>>>>>
>>>>> On Wednesday 27 December 2023 at 11:25:17 am UTC+10 [email protected]
>>>>> wrote:
>>>>>
>>>>> Hey All,
>>>>>
>>>>> ...
>>>>>
>>>>> Here’s 4.10
>>>>>
>>>>> Dec 26 17:00:25 raspi-server-misc weewx[25329] INFO
>>>>> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.79
>>>>> seconds
>>>>>
>>>>>
>>>>>
>>>>> *...*
>>>>>
>>>>> Here’s 5.0rc1
>>>>>
>>>>> Dec 26 17:21:47 raspi-server-misc weewxd[716]: INFO
>>>>> weewx.imagegenerator: Generated 12 images for report SeasonsReport in 
>>>>> 74.31
>>>>> seconds
>>>>>
>>>>> --
>>>>>
>>>> You received this message because you are subscribed to the Google
>>>>> Groups "weewx-development" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-development/a8336c10-46c9-41f7-96ce-a6b248cc4431n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-development" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-development/ba4e2612-c6c4-4592-8f4f-09f184165f3cn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-development/ba4e2612-c6c4-4592-8f4f-09f184165f3cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> -Ryan Stasel
>>
>
>
> --
> -Ryan Stasel
>


-- 
-Ryan Stasel

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/CALSG5j4kMeOmMwWJR-bgNLpnnGT-ZE1pzDKmB8XA9pz09VyaRQ%40mail.gmail.com.

Reply via email to