Skip to content

noiffion/Sorters

Repository files navigation

Sorters
Demonstration of the differences in efficiency of sorting algorithms with webworkers. To start the page on a local server (port: 3030) type (after cloning the git repo):

$ yarn install  
$ yarn build  
$ yarn test  
$ yarn start

Multiple workers are spawned during runtime:

  • at first to create the initial array
  • and to sort multiple instances of the same array concurrently

WebWorkers Source: webworker-threads

The results (with the sorting algorithms) are displayed once each of the workers have finished their tasks.

Next.js handles the UI. Next.js
Basis of React Progress Bar: Daniel Zuzevich @ CodePen
And react-tiny-virtual-list for rendering the array elements quickly.

About

Demonstration of the differences in efficiency of sorting algorithms with webworkers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors