wasm-face-detection icon indicating copy to clipboard operation
wasm-face-detection copied to clipboard

Web worker performance

Open Pryanishnik opened this issue 3 years ago • 0 comments

HI guys, ho you can suggest something about my issue. I removed canvas manipulations from your example, and run the wasm/emscripten module inside a dedicated worker. It works, yes, but the same compilation set runs 3 times faster in the main thread comparing to the worker (~60ms per track operation vs ~180ms in a worker). How to overcome the issue? why can it happen?

Pryanishnik avatar May 29 '21 13:05 Pryanishnik