Skip to content

Conversation

@Tyriar
Copy link
Member

@Tyriar Tyriar commented Dec 6, 2022

Fixes #4292


This shouldn't happen in practice if we do good, the idea is for these warnings to get reported back to us so we can split tasks up further.

Here's a simulation I did to test it by tweaking the number to 5ms and changing the texture atlas warmup to perform in a single callback:

image
image

When profiling you don't get a full trace, but this is what it looks like normally (at least in dev):

image

@Tyriar Tyriar added this to the 5.1.0 milestone Dec 6, 2022
@Tyriar Tyriar self-assigned this Dec 6, 2022
@Tyriar Tyriar merged commit 497df06 into xtermjs:master Dec 6, 2022
@Tyriar Tyriar deleted the 4292 branch December 6, 2022 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn when tasks queues exceed the task deadline

1 participant