-
-
Notifications
You must be signed in to change notification settings - Fork 341
citr taking long time to access Zotero database with large database #1391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It looks like you did not upload an debug report. The debug report is important; it gives @retorquere your current BBT settings and a copy of the problematic reference as a test case so he can best replicate your problem. Without it, @retorquere is effectively blind. Debug reports are useful for both bug analysis and enhancement requests; in the case of export enhancements, I need the copy of the references you have in mind.
Once done, you will see a debug ID in red. Please post that debug id in the issue here. Thank you! |
I see 3 requests for the full library in that log, and some pings to see if BBT is available. Even assuming #1389 fixed, that would still mean 5-10 seconds to complete for those full-library requests. Do you have an idea what you did that may trigger citr to re-fetch the library? |
Nope. Simply clicked on "reconnect" once. |
Then what citr is doing seems a little excessive for large libraries. I'm going to think of a way that citr can check whether what it wants to download has changed since it last fetched it. |
I've opened an issue over at citr to coordinate at crsh/citr#58. I'll need your presence on this since I'm not a citr user. |
I have subscribed. |
Report ID: LGZGM3UI-euc |
I have a similar issue. Loading Zotero from citr takes ~2 minutes, also when reupdating. A typical use case is that I am writing in Rmarkdown. I then realise i need to cite a paper not in my library. I add a paper Zotero via browser. To see that paper in citr, I need to reconnect the Zotero library, which means 2 minutes of waiting to use R. My library is 4100 items. |
🤖 this is your friendly neighborhood build bot announcing test build 5.2.14.5836 ("test file existence only when needed") Install in Zotero by downloading test build 5.2.14.5836, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
@ukuvainik can you do the following:
|
(same goes for @jkr - 5836 has a tweak that makes exports like citr requests more efficient, assuming a filled cache) |
thanks for the effort, Report ID: ZSGXIMTV-euc |
I see 2 exports in that log:
so if citr takes considerably more time than 6s, it's either something citr is doing that doesn't involve BBT, or citr requests something more of BBT, but then I'm not seeing that in the log. |
Ok, I will ask citr about this. Thank you for looking into this. crsh/citr#64 |
crsh/citr#64 might be a duplicate of crsh/citr#58 |
🤖 this is your friendly neighborhood build bot announcing test build 5.2.14.5837 ("speed up CSL exports") Install in Zotero by downloading test build 5.2.14.5837, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
I am on it. This takes much longer in my case...so I won't break up the current attempt and install 5837 after that. Will send two different reports. |
phew 😥 BE86BA4X-euc: 256.57s (biblatex, cold), 467.05s (bibtex, cold), 27.594s (bibtex, hot) I'm going to rig something together so you can view these yourself. |
No, I meant connecting to |
So assuming you're connecting with a hot cache, what is it doing the other 150 seconds? |
beats me |
🤖 this is your friendly neighborhood build bot announcing test build 5.2.14.5851 ("the beta shuffles the extra field...") Install in Zotero by downloading test build 5.2.14.5851, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
Installed it last night, no major changes. I will post a report later. |
There are only minor changes in this version. It should provide a very modest speedup, but mostly just discloses the stats. I'm still working on an R script to fetch and visualize them. Such a horrid language, R, but easy to make pretty graphs with once you have the data. |
Report ID: XLQKMMKQ-euc |
Neither of those reports show an export being ran. You can look at these yourself now (doesn't require debug logging on), but man I hope someone around here is better with
|
Thanks for sending the |
You can use this script (or any improvement you make on it) to peer inside the export performance, which will be helpful once the I'm ready to merge these changes into a new release, but I genuinely don't see what else I could do at this point. |
Again: thanks so much. This has been very helpful! |
My pleasure. I'm running a few more tests tonight to see if I can get juris-m beta running again, and then I'll cut a new release. For citr, we'll have to wait for activity on crsh/citr#58. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Uh oh!
There was an error while loading. Please reload this page.
citr
is taking a considerably long time (90-100 sec) to connect to the Zotero database with my large database.Report ID:
WF6BPCRX-euc
The text was updated successfully, but these errors were encountered: