msgraph-cli icon indicating copy to clipboard operation
msgraph-cli copied to clipboard

Performance issue on CLI compared to M365 for same endpoint

Open CarolKigoonya opened this issue 1 year ago • 1 comments

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.

CarolKigoonya avatar Oct 02 '23 11:10 CarolKigoonya

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.

ddyett avatar Oct 04 '23 05:10 ddyett