← Back to team overview

zim-wiki team mailing list archive

Re: Performance degraded in zim HEAD?


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 ?



Follow ups