caido/caido

Assistant GraphQL requests slow down Caido start

Opened this issue ยท 2 comments

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help us know what to work on
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Bug description

assistantUsage and assistantModels graphql queries sometimes add a few seconds to my Caido startup time

2.95s for assistantUsage and 2.59s for assistantModels. it happens to me once in ~15 refreshes

normally it's 496ms + 242ms i think that running it after Caido is fully loaded should be better

Environment & setup

OS: <!--- Mac OS, Windows, Debian, CentOS, ... --->
OS version: <!--- 10.14, 11, ... (kernel version appreciated for linux) --->
Caido client: <!--- Chrome, Firefox, Caido Desktop, ... --->
Caido version: <!--- 0.8.0 --->

As far as I understands it, this is a query that the plugin makes? Normally it should be async already for the main app.

It slows down the Caido loading screen for me