[wasm] compiling wasm in a worker is considerably slower in osx compared to windows |
||||
Issue descriptionThe problem was reported when running on the same hardware. The "in a web worker" part is important. I wonder if we somehow get less threads for our compilation when on osx. This should be relatively easy to validate without dual-boot-ing a mac box.
,
Aug 10 2017
I ran into this problem on MacOS as well. Using Chrome's profiling tools, it always seems like the compile tasks had 50% CPU utilization. I had surmised that we were spinning up too many threads and because of hyperthreading we were not overcommitting the CPUs, but I never got to look deeper into it.
,
Aug 18 2017
Adding Gaurav, who reported the issue. Note that deserialization is also slow in that same context (workers)
,
Feb 16 2018
Please note that this issue can be easily reproduced using simple wasm in webworker which is attached in bug: https://bugs.chromium.org/p/chromium/issues/detail?id=811373 Note the difference between the last timestamp and first timestamp shown on console. This test case doesn't do anything useful and just a wasm loading example. This bug happens in chrome canary 66 as well.
,
Feb 16 2018
,
Feb 17 2018
,
Feb 17 2018
+ bbudge, Bill could you look at reproing this? The speculation has been that it might be we're giving fewer threads to compile on OSX.
,
Feb 17 2018
I'll take a look.
,
May 23 2018
Bill, wanted to re-up this on your radar. |
||||
►
Sign in to add a comment |
||||
Comment 1 by bradnelson@chromium.org
, Aug 9 2017Components: Blink>JavaScript>WebAssembly
Owner: binji@chromium.org
Status: Assigned (was: Available)