Message from JavaScript discussions

September 2017

— Yes, giving small event loops time to run


If an event fires something, then a short job could become a long job on that cycle, which means on the next cycle it runs later

— I see

— Which means, continually, the processes that have the smallest load on the system will always run first

Message permanent page

— So processes will be rewarded by being efficient

— Exactly

— Since it is cooperative, a developer can directly implement efficiency by splitting their application up into units of work, yield ing to the dispatcher frequently

Message permanent page

— I will also add HRRN which apparently also gives priority to procs that have to wait a long time

— Uhhhh

— Heh

— Sounds strange

— I'd just round robin it