iotedgedev icon indicating copy to clipboard operation
iotedgedev copied to clipboard

Add caching to `azure_cli` to optimize performance

Open roel4ez opened this issue 2 years ago • 0 comments

Some calls to the azure_cli wrapper are being called multiple times, where the result can easily be cached. For example: get_default_subscription (see usage https://github.com/Azure/iotedgedev/blob/main/iotedgedev/cli.py#L665 where a local value is used to keep the result)

roel4ez avatar Oct 10 '22 15:10 roel4ez