Open
Description
Importing qcodes with import qcodes
takes a long time (> 2 seconds on the system tested). The import time can be analysed with tools like https://github.com/asottile/importtime-waterfall
Several components could perhaps not be loaded by default, or with a lazy loader (e.g. https://scientific-python.org/specs/spec-0001/, but there are more tools)
An example is the import from opencensus.ext.azure.log_exporter import AzureLogHandler
from qcodes.logger.logger
. By default qc.config.telemetry.enabled
is False, so the import is executed at startup, but not used.
(more examples can be found by analysing the output of importtime-waterfall)
Metadata
Metadata
Assignees
Labels
No labels