2 ms·
classic web engineering demo: - small well contained math operation that could be put in a worker - instead of putting that in a worker, startup a whole pa
by raggi 2y ago
classic web engineering demo:
- small well contained math operation that could be put in a worker
- instead of putting that in a worker, startup a whole parallel page and shuttle messages via ipc for the heaviest part of the process, redoing a lot of the work twice
why are the solutions always backward?
- ashubham 2y agoEven the visualization is drawn in the parallel worker. Which CANNOT be put in a worker. If you wait long enough on the demo page, you will see how much time just redrawing the DOM is consuming.