logquacious icon indicating copy to clipboard operation
logquacious copied to clipboard

Logquacious UI freeze when rendering many large logs

Open mightyguava opened this issue 4 years ago • 1 comments

image

For a time some simple queries returned log lines with messages consistently with size ~1MB. This causes lq's UI to freeze for about 20 seconds after the search returns.

Looking at the profile, the bottleneck is almost entirely browser rendering. Though it's interesting to see that the page is reflowed twice on render (maybe that's the chunking logic?).

Regardless, we should probably truncate long fields in the compact view.

mightyguava avatar Jan 08 '20 01:01 mightyguava

The second reflow could be the secondary fetch for all the extra fields.

alecthomas avatar Jan 08 '20 02:01 alecthomas