-
-
Save eligrey/9a48b71b2f5da67b834b to your computer and use it in GitHub Desktop.
Explaining to Ehsan Akhgari that modern OS schedulers can handle multitasking under 100% load
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cores = prompt("Enter your total logical processors"); | |
var code = new Blob(["while(1)"], {type: "application/javascript"}); | |
var url = URL.createObjectURL(code); | |
while (cores--) { | |
new Worker(url); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment