• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I was working on a client site, and was being annoyed by the brute force loading of twikiusers (ok, the joomla equiv), so i thought i'd remove it for the normal usage case - the attached diff is the result.

on the Twiki.org user set it changes Sandbox times from 3000mS to 1500mS (using ab on my notebook with 7200 RPM disk). the Joomla Speedup was from 2000mS to 800mS or better with 20,000 users, so for my kind of workloads its a massive improvment

Couls some other people please have a play to see what they get (especially you Kenneth!)

and report bugs you notice here too - its a quick hack so far, i'm just not sure i will have time to refine it until tuesday.

--SD

Used a rather simpler approach of just unstupiding the existing code.

It appears that perl isn't smart enough to optimise REs in the condition of while loops :-(. Found another place in Store where it also matters, and fixed that too.

CC

I'm adding the 2 lookup stubs (that for TWikiUserMapping work exactly like without) so that other UserMappings can implement the lookup in ways that make performance sense for them - otherwise we are trapping all implementations of mappers into nastyness - there seem to be at least 3 in development for twiki 4 atm.

--SD

ItemTemplate
Summary Performance improvements to Users.pm implementation (large user bases)
ReportedBy TWiki:Main.SvenDowideit
Codebase 4.0.0, 4.0.1, 4.0.2, ~twiki4, ~develop
SVN Range Sat, 06 May 2006 build 10108
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 10251 10252 10254 10255 10261 10262 10263
TargetRelease patch
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff userSpeedup.diff r1 manage 6.3 K 2006-05-19 - 10:30 UnknownUser first hack at a speedup
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r12 - 2006-06-08 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback