3 ms·
The timer heap currently lives on a different thread instead of the main thread, which means timers have to be allocated and scheduled separately for each one.
by Jarred 2y ago
The timer heap currently lives on a different thread instead of the main thread, which means timers have to be allocated and scheduled separately for each one. Scheduling things to other threads is expensive. The reason it works this way isn't good and we will fix it but haven't prioritized it yet