aws --version
doesn't it get faster and faster after running it a few times?
We tried it and found that CreateFile
(so-called file open) has been run nearly 2000 times before aws --version
is completed, requiring a lot of file access.After several runs, the files were cached and tended to improve gradually.
This is not a direct answer, but when I installed aws on WSL, the symptom was not reproduced.I'll be back in a few seconds.
[Installation instructions]
sudo apt update
sudo apt upgrade
pip3 install awscli --upgrade --user
sudo apt install awscli
Why don't you enable WSL for Win10 and install aws on WSL?
With WSL, you can check the execution time of the system call level in trace, so you may know where it is taking you.
strace-ttaws --version
© 2024 OneMinuteCode. All rights reserved.