…piece of JavaScript able to make everything else stuck regardless the number of CPU and WebWorkers the Browser can handle
the " close window/tab " explicit action that takes ages due some greedy onunload operation
any sort of security issue
the change/update that requires a page reload
We are all in the same field Architecture matters, experience matters, performances matter, investigations matter, code quality matter, unit tests matter, UX is essential, and UI only …
…console4Worker , License: MIT ) by Jerome Etienne helps debug WebWorkers by making console.log (and other console methods) work inside workers in browsers that don't yet support this.
Some configuration within each worker is required first:
importScripts ( 'console4Worker-worker.js' ); console . log ( "console call made from inside a webworker" );
Then on the actual page:
// init the worker var worker = new Worker ( "worker.js" ); // bind …