xbmc/xbmc — pull request #1944 by arnova (2012-12-16 18:51:36+00:00)
Title: changed: Improve performance (considerably) when browsing streamed (inte...

...rnet) filesystems + increase dir cache size. The performance of streamed filesystems compared to Eden is terrible in Frodo. While browsing such filesystems in the GUI feels really slow. The reason is that our backgroundinfo/thumb-loader check for more art types now and thus hit the filesystem more often with Exists() calls, which are insanely slow with Curl. To workaround this we first cache the item's directory before checking for local (art) file existance. I also increased the directory cache size a bit as I don't think there are any platforms should have problems handling bigger sizes. Perhaps we should consider doing this for all filesystems and perhaps even increase the MAX_CACHED_DIR to an even higher value?

Since it's a regression from Eden, and the performance gain is huge, it would be nice if this could still be included for Frodo.