Skip to content

Please stop the library manager from updating the list of libraries EVERY time #10615

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

Open
thearduinoguy opened this issue Aug 9, 2020 · 4 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager feature request A request to make an enhancement (not a bug fix)

Comments

@thearduinoguy
Copy link

Please stop the library manager from updating the list of libraries EVERY time.

If I install a library then go back to install another library a few mins later there is n o need for the IDE to yet again check the library list. Nothing will have changed in such a short amount of time. Have an option so it checks only once per day or something.

This is very annoying when installing several libraries in a short space of time.

@per1234 per1234 added Component: Board/Lib Manager Boards Manager or Library Manager feature request A request to make an enhancement (not a bug fix) labels Aug 9, 2020
@per1234
Copy link
Collaborator

per1234 commented Aug 9, 2020

Ever since #9023, the Library Manager index has been cached. So, as long as you're using Arduino IDE 1.8.10 or newer, the index will only be downloaded the first time you open Library Manager. The delay you see on subsequent openings of Library Manager is purely the time required to parse the >13 MB Library Manager index file that's already stored on your computer.

@thearduinoguy
Copy link
Author

Why does it say "Updating list of installed libraries" every time I open it? Version 1.8.13

@per1234
Copy link
Collaborator

per1234 commented Aug 10, 2020

That's when it's scanning the installed libraries and parsing the index's 13 MB of JSON.

When it's downloading the Library Manager index from the Internet the status bar says "Downloading libraries index".

@thearduinoguy
Copy link
Author

For only a tiny 13Mb file it seems to take a very long time to parse it. Why can it not keep such a small amount of data in memory. Why does it have to keep on parsing it over and over?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

2 participants