acquire-project / acquire-common

Core libraries, runtime, and common devices driver for Acquire
Apache License 2.0
0 stars 7 forks source link

driver loading should be lazy so it doesn't impact acquire_init time #21

Open nclack opened 1 year ago

nclack commented 1 year ago

Currently driver loading blocks acquire_init(). This can be a problem if there are drivers that take a while.

For example, initializing hdcam takes ~6 seconds typically. Every test that runs on a machine with hdcam gets impacted by this time. If we made it lazy, then the tests that don't use hdcam could run faster.