0
Improving python import speed on a yocto-based embedded linux system

I'm working on an application that uses the checksumdir application to validate a couple of directories on boot, after which the normal boot process will proceed. However, we have found that it takes around ~6 seconds to import checksumdir which is increasing our overall boot time.

I've tried importing using importlib but that takes around ~9 seconds to do the same import. Is there a quicker way to do an import?


Python 22-04-22, 1:30 p.m. Mukii
0
Very good article; it provided me with a lot of useful knowledge. As a blog, please continue to share more. I've added it to my bookmarks so that I can keep up with you. infected days
23-04-22, 12:10 p.m. minion89


0

Please continue to share more as a blog. So that I can keep up with you happy wheels, I've added it to my bookmarks.

09-06-22, 3:39 p.m. odobasicyu


Log-in to answer to this question.