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

Application gets unresponsive with large amounts of spans #3293

Open
jhoogstraatLHIND opened this issue Oct 25, 2023 · 8 comments
Open

Application gets unresponsive with large amounts of spans #3293

jhoogstraatLHIND opened this issue Oct 25, 2023 · 8 comments
Assignees
Labels
bug Something isn't working triage requires triage user-request

Comments

@jhoogstraatLHIND
Copy link

Describe the bug
The tabs trace and test won't load and render the application unresponsive when the trace contains a large amount of spans (tested with >8000 spans).

To Reproduce
Steps to reproduce the behavior:

  1. Go to Test with large amount of spans
  2. Click on trace or test
  3. See website unresponsive

Expected behavior
The visualization display.

Browser (please complete the following information):

  • Browser: Edge
  • Version 118
@jhoogstraatLHIND jhoogstraatLHIND added bug Something isn't working triage requires triage labels Oct 25, 2023
@mathnogueira
Copy link
Contributor

Hi @jhoogstraatLHIND . Thanks for opening this issue. We will investigate this problem!

@jhoogstraatLHIND
Copy link
Author

Great!

I just noticed it does load eventually, it just takes minutes on my machine and the graph is horribly slow.

@mathnogueira
Copy link
Contributor

mathnogueira commented Oct 30, 2023

@jhoogstraatLHIND which version are you using? are you self-hosting tracetest or using app.tracetest.io? I remember seeing a similar behavior, but we released a fix a couple of versions ago.

Edit: we released a performance patch for parsing a large number of spans in v0.13.9

@jorgeepc
Copy link
Contributor

Hi @jhoogstraatLHIND, thanks for reporting this. The team is working on identifying the bottlenecks to support that amount of spans, but we are also trying to propose a UI graph that makes sense for big traces.

It would be really helpful if you can share with us your 8K spans trace. Please let me know if that is possible.

@xoscar xoscar self-assigned this Feb 2, 2024
@jorgeepc
Copy link
Contributor

jorgeepc commented Feb 6, 2024

The team is prioritizing this work. We are doing some planning and will update this ticket with tasks and progress.

@jhoogstraatLHIND
Copy link
Author

jhoogstraatLHIND commented Feb 7, 2024

That's great to hear. We are still evaluating Tracetest.

On a similar note:
When the request or response bodies get very long the applications slows down to a crawl.
Maybe a move to MS Monaco Editor would already do the trick.

@jorgeepc
Copy link
Contributor

jorgeepc commented Feb 8, 2024

Thanks @jhoogstraatLHIND We will take a look at those performance issues as part of this work.

@xoscar
Copy link
Contributor

xoscar commented Feb 14, 2024

Heyo @jhoogstraatLHIND today we have great news for you, we just released version v0.15.6 of tracetest core, which includes better handling for large traces and updated UI with quality-of-life improvements, let us know if you have any feedback :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage requires triage user-request
Projects
None yet
Development

No branches or pull requests

4 participants