How to profile web workers in Chrome?
问题 Does anyone know an easy way to profile web workers in Chrome? I found this question from last year, but unfortunately the only provided answer didn't work. Is there any way to do this or am I just out of look? It seems like a rather large oversight that hinders web development if you can't even do profiling. 回答1: To profile Web Workers navigate to "Developer Tools -> Sources -> Workers" and enable the checkbox "Pause on start". Now, when you refresh the page, a popup window with an inspector