sciencefair-land / sciencefair

The futuristic, fabulous and free desktop app for working with scientific literature :microscope: :book:
https://sciencefair-app.com
MIT License
603 stars 52 forks source link

[v1.0.3 macOS 10.12, ubuntu 16.04] initial sync very slow, high CPU #99

Closed blahah closed 7 years ago

blahah commented 7 years ago

Some users are reporting initial sync being very slow (~10 mins) on fast internet connections, and high CPU usage (100-200%) at the same time. Downloading the same dataset with dat CLI takes a few seconds, so there's a performance regression further downstream, probably search-index.

blahah commented 7 years ago

I think this has been solved by optimising the search index configuration: https://github.com/blahah/yunodb/commit/03e0215964c6e5571c845414b5079b2733dba678