tracetest icon indicating copy to clipboard operation
tracetest copied to clipboard

Application gets unresponsive with large amounts of spans

Open jhoogstraatLHIND opened this issue 9 months ago • 8 comments

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 avatar Oct 25 '23 17:10 jhoogstraatLHIND

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

mathnogueira avatar Oct 25 '23 17:10 mathnogueira

Great!

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

jhoogstraatLHIND avatar Oct 25 '23 17:10 jhoogstraatLHIND

@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

mathnogueira avatar Oct 30 '23 14:10 mathnogueira

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.

jorgeepc avatar Oct 31 '23 17:10 jorgeepc

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

jorgeepc avatar Feb 06 '24 02:02 jorgeepc

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.

jhoogstraatLHIND avatar Feb 07 '24 15:02 jhoogstraatLHIND

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

jorgeepc avatar Feb 08 '24 16:02 jorgeepc

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

xoscar avatar Feb 14 '24 21:02 xoscar