← Back to team overview

zim-wiki team mailing list archive

Re: Performance degraded in zim HEAD?


On 8 April 2010 12:18, Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx> wrote:
> On Thu, Apr 8, 2010 at 10:42 AM, Svenn Are Bjerkem
> <svenn.bjerkem@xxxxxxxxxxxxxx> wrote:
>> I checked out the newest development version where the task list is
>> autmatically updated.
>> I find that zim now tends to 'sleep' a bit while writing. Is this a
>> result of the new indexing, or is it just me?
> An extra action is done when saving the page to index tasks, I would
> not expect this to cause noticeable delay since all data is in memory
> already. Would need to do some actual benchmarking to determine the
> exact impact.
> In case of an autosave indexing actions are done immediately, and
> saving the file to disk is scheduled as an asynchronous action. When
> you close a page (e.g. by moving to another page) the page is indexed
> and saved directly. For autosave I sometimes still notice a split
> second delay while typing, but when changing pages the bottleneck is
> definitely in the filesystem operation, not in the indexing.
> At which point do you exactly notice a delay ?

I checked a bit more, and on a page with 50 open checkboxes, there is
significant lag when typing text in other parts of the page. The lag
becomes more and more annoying as checkboxes are added. At around 30
checkboxes, the lag is very much present on a core i7-975


Follow ups