[5.0 Beta] Slow performance
This discussion was created from comments split from: Zotero 5.0 Beta.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Overall, large variability in speed. Operations are not consistently fast or slow. For example, time to update the middle pane with contents of a RSS feed could vary from 2 seconds to 10 seconds. I get a feeling that the speed is either sensitive to past events or the order of events or both.
Time to load library (~2300 items) at startup:
4.0.29.x: About 5-7 seconds
5.0 Beta: About 10-15 seconds, but gets down to the 5-7 second range after multiple starts
----
Debug ID for item selection delay: D1533732054 (~ 6 seconds)
Debug ID for tag addition delay: D2018505036 (over 50 seconds)
----
Just FYI (I should probably create another thread for this issue)
Hit tag delete button but it would do nothing. Clicked on another item and then returned to the previous one and this time the tag is gone. Tried re-adding the deleted tag and it won't show up as an option when I start typing, hinting that the tag is still associated with the item? Probably same behavior when I add a tag - need to toggle item selection to see changes to the tags.
Report ID: 798451416
Zotero 5.0-beta.180+de7b56b on Windows 7 Enterprise 64-bit.
What are your index stats in the Search pane of the prefs?
I thought I had auto-indexing disabled by setting my pages to index to zero. Is that not the case?
Screenshot of my indexing settings: https://1drv.ms/i/s!Atcr8aCyjBrulLQ6Xlu7ObxxIqdlEQ
Note that my indexing stats have been the same for a while because the un-indexed files are non-OCRed PDFs. Once I have added new PDFs, I change my page setting, rebuild the index to include non-indexed items, and them change the page setting back to zero.
The delays you're seeing are in processing of synced full-text content, which are independent of the Search settings — if you have full-text syncing enabled, downloaded content will be processed in the background. But the delays you're seeing for that aren't normal or expected.
I am surprised the 5.0 Beta is still syncing full-text content. I haven't made any substantial changes to my full-text content and indexing in few weeks now. So, it should be fully synced with only very small incremental changes.
I have unchecked the "Sync full-text content" setting to see if that makes a difference.
BTW, am I right in thinking that if I set pages to index to zero, I am effectively preventing any indexing operations?
My settings: Full-text sync is off. Maximum characters and pages to index, per file, are set to zero.
I'm using Zotero 5.0.7 and I having the same problem. When I open Zotero, it take about 4 seconds to be read. This time is to show the middle panel. I have about 950 references and I do not have this problem with Zotero 4. This is some parts of my debug output:
version => 5.0.7, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Zotero, appVersion => 5.0.7, extensions => ZotFile (5.0.3, extension), Zotero LibreOffice Integration (5.0.6.SA.5.0.7, extension)
(3)(+0000002): Loaded collection relations in 3 ms
(3)(+0000009): Loaded item relations in 10 ms
(3)(+0000034): Loaded primaryData in My Library in 34 ms
(3)(+0000015): Loaded childCollections in My Library in 16 ms
(3)(+0000028): Loaded childItems in My Library in 28 ms
(3)(+0000009): Loaded relations in My Library in 10 ms
(3)(+0000000): Loaded collections in My Library in 91 ms
(3)(+0000003): Loaded primaryData in My Library in 4 ms
(3)(+0000001): Loaded conditions in My Library in 2 ms
(3)(+0000001): Loaded searches in My Library in 7 ms
(3)(+0000389): Loaded primaryData in My Library in 393 ms
(3)(+0000334): Loaded creators in My Library in 336 ms
(3)(+0000057): Loaded itemData in My Library in 857 ms
(3)(+0000000): Loading note for items in My Library
(3)(+0000016): Loaded note in My Library in 47 ms
(3)(+0000001): Purged data tables in 1794 ms
(3)(+0000022): Loaded childItems in My Library in 66 ms
(3)(+0000078): Loaded tags in My Library in 79 ms
(3)(+0000049): Loaded collections in My Library in 49 ms
(3)(+0000058): Loaded relations in My Library in 59 ms
(3)(+0000000): Loaded items in My Library in 1890 ms
(3)(+0000072): Sorted 1235 items in 74 ms
(3)(+0000013): Refreshed open parents in 13 ms
(3)(+0000012): Set tree for items view tkHhZKkN in 158 ms
(3)(+0000000): User interface ready in 3521 ms
(3)(+0000802): Cached 515 translators in 1540 ms
(3)(+0000005): Cached 22 styles in 97 ms
I do not know if it is related with unindexed items. As I said, I do not have problem with Z4. I have only 9 items unindexed and I can not find it. I tried enable debug, rebuild unindexed items e check debug output, but it not shown witch item is unindexed. This is debug output:
(3)(+1219789): Unverifying storage
(3)(+0000018): Username not set before getting Zotero.Sync.Storage.WebDAV.password
(4)(+0011442): SELECT itemID FROM itemAttachments WHERE linkMode!=3 AND itemID NOT IN (SELECT itemID FROM fulltextItems WHERE indexedChars IS NOT NULL OR indexedPages IS NOT NULL)
(4)(+0000012): Beginning DB transaction 3PVHdBbx
(4)(+0000023): DELETE FROM fulltextItemWords WHERE itemID IN (SELECT itemID FROM itemAttachments WHERE linkMode!=3 AND itemID NOT IN (SELECT itemID FROM fulltextItems WHERE indexedChars IS NOT NULL OR indexedPages IS NOT NULL))
(4)(+0000005): DELETE FROM fulltextItems WHERE itemID IN (SELECT itemID FROM itemAttachments WHERE linkMode!=3 AND itemID NOT IN (SELECT itemID FROM fulltextItems WHERE indexedChars IS NOT NULL OR indexedPages IS NOT NULL))
(4)(+0000006): Committed DB transaction 3PVHdBbx
(4)(+0000007): SELECT COUNT(*) FROM fulltextItems WHERE (indexedPages IS NOT NULL AND indexedPages=totalPages) OR (indexedChars IS NOT NULL AND indexedChars=totalChars)
(4)(+0000006): SELECT COUNT(*) FROM fulltextItems WHERE (indexedPages IS NOT NULL AND indexedPages<totalPages) OR (indexedChars IS NOT NULL AND indexedChars<totalChars)
(4)(+0000004): SELECT COUNT(*) FROM itemAttachments WHERE itemID NOT IN (SELECT itemID FROM fulltextItems WHERE indexedPages IS NOT NULL OR indexedChars IS NOT NULL)
(4)(+0000004): SELECT COUNT(*) FROM fulltextWords
Is this load time normal?
All the best!
Mario