Skip to content

raph-of-burgondy/web-worker-chrome-firefox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

web-worker-chrome-firefox

the web worker is very slow on firefox. For this code, on my computer it' roughly 4x slower on Firefox compared to Chrome

Trying to simplify my code for publihing on stackoverflow I have found a solution... let's say it's more a hack !

Adding anywhere in the worker's message handler a blank try {} catch {} block the performance of Firefox is equivalent (and sometimes better :) than Chrome.

Explanation ?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published