4 ms·
Several seconds of JavaScript execution? That sounds like something that would be best performed in a web worker. If you can pass the data to a worker and have
by SimeVidas 8y ago
Several seconds of JavaScript execution? That sounds like something that would be best performed in a web worker. If you can pass the data to a worker and have it generate the final markup, you won’t have to worry about timers or execution time, since the worker doesn’t block the main thread.