(The max is 10 due to server hardware constraints)
Serial Time: ns.
Parallel Time: ns.
This website was built using NodeJS and the library webworker-threads for NodeJS. This library allows me to spin off additional threads as threads, "workers" or in a threadpool. This site utilizes the threadpool feature to generate a list of primes (based on your selection). Upon hitting "Submit" the button will be disabled, the data will be sent to my server and the primes will be generated in serial and in parallel with the specified number of threads.
Once it's done processing, a portion will show up in the bottom showing the serial and paralell run-times. Obviously I'd like to show the resulting array, but after about 9 hours of work I could not get the array returned back out of the threadpool. I could access the array within the threadpool but not outside of it (which is where the rest of this server is running..), but overall this was not easy to implement in the first place so I'm thrilled it works.
My greatest takeaway is that this couldn't have been easy to implement for the developers of the NodeJS parallel libraries discussed in this paper, based on the clear limitations and difficulties in implementation. Clearly NodeJS itself needs a massive redesign as it lacks many of the creature comforts that make parallelism intuitive to use.
One random thing: this website is using a themekit I designed. If you like it and want to use it, please do! You can see a real demo here and you can grab it and use it here!