This is a small demo of a webworker that sorts an array of 4 000 000 elements. Note that the array is created on the main thread and therefor the browser is locked during this time. However when the browser send the array to the web worker for sorting, then the browser unfreezes.
-
Notifications
You must be signed in to change notification settings - Fork 0
JonatanPaalsson/webworker-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published