Slow application launch speed
My Zotero has a really slow start up speed. From the the point I double click the application, it takes about ~11-15 secs for Zotero to launch. Is this because of my large library? There any thing I can do to speed up the launch? Sharing my debug ID below.
Debug ID D655853481
Debug ID D655853481
BBT does some prep work when the log says "Loading Better BibTeX: starting...", but defers most of the load until Zotero.Schema.schemaUpdatePromise resolves, at which point the log will say "Zotero ready, let's roll!", and then most of the startup from BBT happens. In my experience, 6 seconds between the BBT overlay loading and Zotero.Schema.schemaUpdatePromise resolving is optimistic -- I usually get 7 - 10 seconds with a small library (MBPro 2018, 16G Ram).
Debug ID: D734872114
What I'm currently seeing is that the BBT code takes approx 4 seconds to load. After that, BBT waits for approx 8 seconds for schemaUpdatePromise to resolve, and after that takes another 4 seconds to initialize. That initialization is mostly async code, so it shouldn't be blocking, but it still runs on the main thread.
The 4 sec code startup is concerning though. I'll see what I can do about that, but I have tried to make the code tree-shakable where I can.
I'd love to shuttle off BBT to a worker in it's entirety, but that'd mean the loss of drag and drop of BBT formats (which must be sync, so they can't interact with the worker).
Debug ID w/BBT disabled: D866400615
Debug ID w/ latest version of BBT enabled: D635771635
What does BBT increase 3x in your experience?