3 ms·I think simply moving any function that takes more than 10ms to a web worker is enough frankly.by akrymski 12y agoI think simply moving any function that takes more than 10ms to a web worker is enough frankly.