I am running computations e.g. path-finding in web workers. This can take several seconds and I want to optimise it. Chrome seems to be about 3x faster for my current code, but where the time is spent or why I have no insight into.
Generally, how can you debug web workers?
How can you profile web workers?
(Firefox and Chrome)