[moin-devel] Moin2 Performance Problems

M. Scott Reynolds mscottreynolds at gmail.com
Tue Aug 23 17:51:16 EDT 2022


I loaded the help pages. With the server running in debug mode, part of 
the log output is this when I click on those two links:

    2022-08-23 *15:42:33*,524 INFO moin.signalling.log:19 item
    MyMoinMoin:help-en/Home displayed
    2022-08-23 *15:42:42*,744 INFO werkzeug:113 127.0.0.1 "←[37mGET
    /help-en/Home HTTP/1.1←[0m" 200 -
    2022-08-23 15:42:43,312 INFO werkzeug:113 127.0.0.1 "←[37mGET
    /+get/+f9f0caf384f048aead91c7d4bf69dc96/help-common/logo.png
    HTTP/1.1←[0m" 200 -
    2022-08-23 *15:42:53*,297 INFO werkzeug:113 127.0.0.1 "←[37mGET
    /+index/help-en HTTP/1.1←[0m" 200 -

2022-08-23 15:42:53,476 INFO werkzeug:113 127.0.0.1 "←[37mGET 
/static/img/mime-type/moin-text.png HTTP/1.1←[0m" 200 -

It took nearly 9 seconds between the time when I clicked on the first 
link and when it actually rendered. You can see the difference between 
the two first lines. The first log entry with the 
"moin.signaling.log:19" is when I clicked on it (15:42:33). The next log 
entry is when it actually rendered (15:42:42). The second link was not 
quite as long, but still took quite some time.

I don't remember using any complex macros on the old site. I did check 
the plugins directory and there was one for calendar and another one for 
newaccounts. Even so, they shouldn't have made a difference when 
clicking on the help pages, right?

I have also tried using sqlite as a backend, and it didn't make a 
difference.

Scott.



On 8/23/2022 15:04, Ulrich B. wrote:
> Did you try to load the help pages? You can run
>
> moin load-help -n en
> moin load-help -n common
>
> Opening following pages should last less than 1 second
>
> http://localhost:8080/help-en/Home
> http://localhost:8080/+index/help-en
>
> Are you using a lot of macros in your wiki? Is there a difference 
> between simple pages without macros and complex wiki pages?
>
> With regards,
> Ulrich
> _______________________________________________
> moin-devel mailing list
> moin-devel at python.org
> https://mail.python.org/mailman/listinfo/moin-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/moin-devel/attachments/20220823/243cb395/attachment.html>


More information about the moin-devel mailing list