Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.46k stars 1.95k forks source link

perf: change org performance improvement [INS-3968] #7582

Closed CurryYangxx closed 2 months ago

CurryYangxx commented 3 months ago

Changes

Spike May be we can try to sync project in advance when app is idle

CurryYangxx commented 2 months ago

@CurryYangxx initial tests I did show a 100 to 150 ms improvement from the click event until we draw another organization.

There's a couple of points I think could help the performance improvement:

  • Whenever we switch between Orgs, we have some duplicate API requests being done:

@filfreire Thanks for your test. Duplicate API requests are due to the remix's revalidate mechanism. I will start working on reducing the repeat requests next step.