[Moin-devel] Performance importing pages

matthew warren matthew_j_warren at hotmail.com
Sat May 28 16:57:13 EDT 2005


Hallo, MoinMoin'ers

I have a very simple piece of code to import a set of articles into a 
MoinMoin Wiki.

It goes like this;

<pre>
for PageName in UniqHeadings:
    request = RequestCLI()
    editor = PageEditor(request,PageName)
    request.form={}
    editor.saveText(editor.normalizeText(Articles[PageName]), 0)
</pre>

this has a list of around 4,500 UniqHeadings to get through. Average article 
size is 2k. An Apache served MoinMoin instance is running.

It is currently writing pages at the rate of around 8 per minute. Do I 
really have to wait 9 hours, or is something amiss?

Thanks,

Matt

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters





More information about the Moin-devel mailing list