-1

I made an application that runs a very compute heavy operation when user clicks a button.

This expensive operation is ran from a web assembly worker compiled with Rust. It can spawn multiple workers.

It works great on Firefox, but on Chrome it is much slower, about the same speed as if I only spawn one worker. If I reduce the workers spawned to only one, it stays the same speed.

And here is the weird thing : If I spawn multiple workers and have Chrome dev tools opened, it runs very fast, almost as fast as in Firefox. Opening Devtools doesn't have an impact if I only have one worker.

Is it a known limitation of Chrome ? I couldn't find anything about it. Would be nice to have it working well without having to open the dev tools.

Let me know if you need more information. This is the website : https://dofusminmax.fr check tutorial if you want to try.

1
  • It would help if you provided a minimal example that demonstrates the problem. Commented 2 days ago

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.