Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a step can take more than 12 seconds #132

Closed
apupier opened this issue Feb 20, 2023 · 7 comments · Fixed by kaoto-archive/kaoto-ui#1338 or #167
Closed

Adding a step can take more than 12 seconds #132

apupier opened this issue Feb 20, 2023 · 7 comments · Fixed by kaoto-archive/kaoto-ui#1338 or #167
Assignees
Labels
bug Something isn't working
Milestone

Comments

@apupier
Copy link
Member

apupier commented Feb 20, 2023

seems to be since backend 0.6.2 (to be confirmed)

image

image

@apupier apupier added the bug Something isn't working label Feb 20, 2023
@apupier apupier added this to the 0.3.0 milestone Feb 20, 2023
@apupier
Copy link
Member Author

apupier commented Feb 20, 2023

sounds related to the time of download of 3 images for which the other request is awaiting:
image

because if I open the mini catalog and await more than 15 seconds, the add step is immediate:
image

@apupier
Copy link
Member Author

apupier commented Feb 20, 2023

so would mean that in VS Code, it is awaiting for the previosu requests to finish but not on OperateFirst?

@apupier
Copy link
Member Author

apupier commented Feb 20, 2023

sounds like the difference is that in VS Code, the contextual catalog is displayed before it has finished to load the images, in Chrome or Firefox, the catalog is taking more time to be displayed, it si waiting for the image to be displayed. Consequently when clicking next on the element to add the step, it is immediate and no more need to wait for it

@apupier apupier self-assigned this Feb 21, 2023
@apupier
Copy link
Member Author

apupier commented Feb 21, 2023

observation:

  • it is the only 3 gif+xml which seems to take time
  • most of the other images seems to come from memory cache
  • request URL and corresponding image:
    • data:image/gif+xml;base64,R0lGODlhVgA2ANUAAP///9D+o8z/mdH3q8/yrcnjrtfUz8DXqMjFwLbIo7q3s7S7qbi2srK3qbCyqKm3m7GuqqyqpailoqakoKKgnJihjpmZmZGPi4+NiomHhIiGg3p4dXl3dXRycGZmZllZWFVVVUtLS0JCQjo6OAoKCgAAAP4BAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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g+L/lRzzYPqb7HfVndme38WR9GOzQbzSxf7+5vCQABnhfBBcQBY4IAyao4CKC9zWw0oEIMighgw0YCGEAAmSo4YYcdujhAA9eKOKIXoQAADs=
      image3

@apupier
Copy link
Member Author

apupier commented Feb 21, 2023

Updated the mime type for the 3 images, these request are now faster (retrieving from cache) but the other request on actimq-action?namespace=default remains slow

@apupier
Copy link
Member Author

apupier commented Feb 21, 2023

sounds unrelated to the request itself given that I reproduce the same kind of delay trying to close the contextual catalog which is triggering no request to the server at all. see #130 (comment)

@apupier
Copy link
Member Author

apupier commented Feb 27, 2023

I do not reproduce in Chromium 102.0.5005.0 which is the closest that I found than the one embedded in VS Code 1.75.1 (102.0.5005.194 )

apupier added a commit to apupier/vscode-kaoto that referenced this issue Mar 6, 2023
fixes KaotoIO#166
fixes KaotoIO#158
fixes KaotoIO#145
fixes KaotoIO#132

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit that referenced this issue Mar 6, 2023
fixes #166
fixes #158
fixes #145
fixes #132

Signed-off-by: Aurélien Pupier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants