msgraph-cli
msgraph-cli copied to clipboard
Performance issue on CLI compared to M365 for same endpoint
applications list using Graph CLI takes over 2s (sometimes as much as 3.5s)
In comparison, the same command using CLI for Microsoft 365 takes 0.675s
NOTE Ideally, the CLI should respond in less than 1second.
- 0.1 s feels like an instant response.
- 1s is the limit for the user to maintain their flow of thought without interruption. The CLI + API response time should be within the 1s limit for the ideal UX.
- 10 seconds is the limit for the user to keep their attention on the task. The CLI should timeout and/or give a response within the 10s limit.
there's some options we can look at around command building time. in my testing it's about 1.7 seconds for my machine and data size for my account.