Thanks Roman. Yes, we will be working on performance improvements in 0.5. Until then, we've added a ticket for 0.4, to show a progress bar (as a kind of splash screen) when loading a library over a certain size:<br><br>
<a href="http://trac.yorba.org/ticket/1198">http://trac.yorba.org/ticket/1198</a><br><br>Thanks,<br><br>-- Jim<br><br><div class="gmail_quote">On Fri, Dec 18, 2009 at 12:54 AM, Roman Yepishev <span dir="ltr"><<a href="mailto:roman.yepishev@gmail.com">roman.yepishev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, 2009-12-17 at 19:44 -0800, Jim Nelson wrote:<br>
><br>
> We're really excited about the response we received this week to our<br>
> call for testing -- you all really worked the code paths, and I want<br>
> to thank you for that. Some of the issues you've brought to our<br>
> attention we've ticketed for the next release, but we worked hard this<br>
> week to resolve the most egregious ones.<br>
</div>Thanks!<br>
<br>
Since (as you may already know) I have a pretty large amount of photos<br>
(14204 as of now) there is a pretty noticeable delay for startup.<br>
<br>
Even after several launches (i.e. sqlite db might be completely in<br>
memory cache) it takes 20 seconds from typing 'shotwell' till the main<br>
window appears. There is a bug report describing this issue, #1118[1].<br>
<br>
In case this is not that easy to fix, I would suggest that some sort of<br>
startup indication might be needed (splash screen, startup-notification,<br>
etc.<br>
<br>
Imagine a user that installed shotwell, started it up (quick startup, no<br>
photos in db). Imports her collection of photos since dinosaur era,<br>
browses them (really quick, so the impression would be "wow, it is<br>
FAST!") then quits Shotwell. Afterwards she wants to browse the photos<br>
again, selects "Shotwell" from the menu and... nothing happens.<br>
<br>
Then Shotwell appears after 20+ seconds. What is strange is that no disk<br>
activity accompanies this on subsequent startups.<br>
<br>
As I can see from strace output this block repeats 2 thousand times:<br>
<br>
fh 8 is<br>
10:38:49 open("/home/rtg/.shotwell/data/photo.db", O_RDWR|O_CREAT|<br>
O_LARGEFILE, 0644) = 8<br>
<br>
10:38:49 access("/home/rtg/.shotwell/data/photo.db-journal", F_OK) = -1<br>
ENOENT (No such file or directory)<br>
10:38:49 fstat64(8, {st_mode=S_IFREG|0644, st_size=4833280, ...}) = 0<br>
10:38:49 _llseek(8, 24, [24], SEEK_SET) = 0<br>
10:38:49 read(8, "\0\0\345\371\0\0\0\0\0\0\16#\0\0\0\203", 16) = 16<br>
10:38:49 fcntl64(8, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET, start=0,<br>
len=0}, 0xbff476c8) = 0<br>
10:38:49 fcntl64(8, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET,<br>
start=1073741824, len=1}, 0xbff47298) = 0<br>
10:38:49 fcntl64(8, F_SETLK64, {type=F_RDLCK, whence=SEEK_SET,<br>
start=1073741826, len=510}, 0xbff47298) = 0<br>
10:38:49 fcntl64(8, F_SETLK64, {type=F_UNLCK, whence=SEEK_SET,<br>
start=1073741824, len=1}, 0xbff47298) = 0<br>
10:38:49 access("/home/rtg/.shotwell/data/photo.db-journal", F_OK) = -1<br>
ENOENT (No such file or directory)<br>
<br>
...<br>
10:39:11 read(8, "\0\0\345\371\0\0\0\0\0\0\16#\0\0\0\203", 16) = 16<br>
<br>
Hope this might help a little.<br>
<br>
[1] <a href="http://trac.yorba.org/ticket/1118" target="_blank">http://trac.yorba.org/ticket/1118</a><br>
<font color="#888888"><br>
--<br>
Roman Yepishev <<a href="mailto:roman.yepishev@gmail.com">roman.yepishev@gmail.com</a>><br>
</font></blockquote></div><br>