Quill very slow at startup

25 views
Skip to first unread message

Stefan Langerman

unread,
Nov 4, 2013, 2:59:34 AM11/4/13
to quill...@googlegroups.com
Hi all,
As my notebooks are getting larger (my mail notebook is around 200 pages), I have noticed Quill has become excruciatingly slow the first time I launch it after a reboot. I timed it this morning and it displays a blank screen for a full minute before displaying anything. Has anybody else experienced this?
I don't yet fully understand the code but it seems like Quill is preloading all books before doing anything for previews. 
S.

Thomas Boehnlein

unread,
Nov 5, 2013, 7:14:46 AM11/5/13
to quill...@googlegroups.com
I had a similar issue after using Quill for a year.  I just exported all of the old notebooks I knew I wouldn't be updating anymore to PDF. And created a part 2 for the large notebooks while making part 1 into a PDF. I hope at some point the list does get optimized because it is very slow once you have been using it for a while. At the very least, I would like to see a text only list option so nothing has to be pre-loaded beyond a name.

Stefan Langerman

unread,
Nov 23, 2013, 3:40:47 AM11/23/13
to quill...@googlegroups.com
I quickly looked at the code. It seems to me the most time-consuming part is at the end of "doLoadBookFromDirectory" when each page of the book is preloaded. We could potentially speed it up by loading each page only the first time it is used.
The only thing that might get in the way is maybe calls to "touchAllSubsequentPages" which are made at each insertion of deletion (and would force all subsequent pages to be loaded) although I cannot see why this function call is needed. Volker can you explain why this is necessary? It seems like all pages are touched when they are loaded as well, and I can't figure out why.

As far as I can see, the only other functions that might have to load all pages of a book would be the updateFilteredPages and export functions. For filters, the best is probably to store a separate filter index for faster loading...

Reply all
Reply to author
Forward
0 new messages