Description
Original issue: #9157
CLI's autocompletion is not as fast as other tools, I create this issue to track the progress.
If you find any command's completion is slow, please report it here and attach the output of {your_command} --debug and az -v.
TODO
Result
Here is the data after applying disable aladdin in 2.45 and enhance module loading in 2.49:
| |
az account |
az storage |
az keyvault |
az vm |
az aks |
| Before (s) |
0.646 |
0.720 |
0.695 |
0.730 |
0.696 |
| Disable aladdin (s) |
0.337 |
0.426 |
0.352 |
0.552 |
0.597 |
| Enhance loading (s) |
0.268 |
0.340 |
0.285 |
0.532 |
0.503 |
| Percentage (%) |
41.5 |
47.2 |
41.0 |
72.9 |
72.3 |
| |
az account s |
az storage s |
az keyvault s |
az vm s |
az aks s |
| Before (s) |
2.553 |
2.483 |
2.450 |
2.541 |
2.519 |
| Disable aladdin (s) |
2.364 |
2.353 |
2.398 |
2.355 |
2.376 |
| Enhance loading (s) |
0.269 |
0.301 |
0.282 |
0.422 |
0.280 |
| Percentage (%) |
10.5 |
12.1 |
11.5 |
16.6 |
11.1 |
Description
Original issue: #9157
CLI's autocompletion is not as fast as other tools, I create this issue to track the progress.
If you find any command's completion is slow, please report it here and attach the output of
{your_command} --debugandaz -v.TODO
az s<tab>. Don't need to load all modules, read fromcommandindex.jsonResult
Here is the data after applying disable aladdin in 2.45 and enhance module loading in 2.49: