[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Slow icon update on first view of explorer folder

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 01 Mar 2009 19:00:39 +0100

Simon Large wrote:
> Hi folks,
>
> Not sure if this is normal expected behaviour. When I open a versioned
> folder for the first time, the overlays trickle through the page. It's
> quite a fast trickle, perhaps 30-40 icons per second, but with a lot
> of items in a folder, e.g. doc/source/en/dug it can take a couple of
> seconds. If I navigate away and come back to the folder the overlay
> drawing is instant. This occurs even if I start explorer and leave the
> PC idle for 5 minutes to allow any background scanning to complete.
>
> This is certainly not badly slow, but I remember a similar behaviour a
> few years ago, perhaps during 1.2 or 1.3 development and in that
> instance it was due to a bug. I'm assuming this is related to
> TSVNCache somehow, but I thought it scanned working copies in the
> background rather than waiting until they are accessed the first time.

That slowdown is from explorer itself. Depending on how many items are
shown in explorer, it starts a different thread which then asks for and
draws the overlays. But that thread isn't very fast since it doesn't
have priority.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1251609
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-03-01 19:00:54 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.