Re: Question regarding slow page loading with attr set
Hans Bracker <[email protected]> Sun, 14 Apr 2024 09:16:22 +0100
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Petko, please ignore previous mail gone just to you, I messed up the lines with thetimings accidently! I did some testing with the newest subversion, comparing to the latest stable version. There appears to be a small amount of improved speed, great! But I still get a huge difference between loading time of a page having a password set with action=attr and the same without such setting. It doubles the loading time, or worse. And that is the case with the new subversion , the same as with the stable version. There is no real difference, perhaps a small speed increase. A simple test page with just five (:if auth ..:) conditionals was loading * subversion: 2.8sec compared to 3 sec stable, with attribute set. * 1 sec for both with no attribute set. If I disable the conditional markups, i.e. no markup calls from these, just five text lines, then the page loading is: * subversion: 1.34 sec compared to 1.61 sec stable, with attribute set. * 1 sec for both with no attributes set. Tested this with my amber skin, local machine, without any conditionals in action or sidebar etc. pmwiki skin will be slightly faster. I checked the calls to function ReadPage, and there is the same number of calls for both versions and both scenarios. I thought I may have less with the new caching helping, but no, exactly the same. So not sure what is going on. cheers, Hans