# Chrome vs Firefox perfomance?

**URL:** <https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589>\
**Category:** Questions\
**Tags:** performance\
**Created:** [May 16, 2019, 4:12pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589 "2019-05-16T16:12:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DiHand](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/dihand/32/5566_2.png) [@DiHand](https://discourse.threejs.org/u/DiHand)\
**Post date:** [May 16, 2019, 4:12pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/1 "2019-05-16T16:12:19Z")

</div>

Hi, I’m a junior web developer,  
and I recently noticed that my laptop (Dell 7720) heats up differently when working in different browsers.  
I regularly update browsers, so the release of updates is not worth it.  
I opened the scene, which I am doing now as an educational one, and compared the CPU utilization rates … This is not very good for Chrome. right?  
Do you think this is a library or browser question?  
I also understand that I do not understand the optimization and it is possible to assign a part of the code with a speed limit for processing the scene, however, statistics show that chrome gives 17 frames per second versus 40 for a fire fox.  
Just sad indicator of CPU usage. ![ChromeBug-Three](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/threejs/original/2X/5/5b1644d92a4208dd8b82aab76607bbf69975abc8.jpeg) ![ChromeBug-Three](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/threejs/original/2X/0/059cd10f07d920b3bf9ad7062806b01aaf19875a.jpeg)

---

<div class="post-metadata">

**Author:** ![Usnul](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/usnul/32/2355_2.png) [@Usnul](https://discourse.threejs.org/u/Usnul)\
**Post date:** [May 16, 2019, 5:58pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/2 "2019-05-16T17:58:01Z")

</div>

You mentioned laptop. Make sure you’re using discrete GPU on both Firefox and Chrome.

---

<div class="post-metadata">

**Author:** ![DiHand](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/dihand/32/5566_2.png) [@DiHand](https://discourse.threejs.org/u/DiHand)\
**Post date:** [May 16, 2019, 7:09pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/4 "2019-05-16T19:09:07Z")

</div>

This is an interesting variant, I did not configure browsers in any special way - like most users for whom I want to learn how to work.  
These are pretty advanced systems today, even for work out of the box, aren’t they?  
However, I can try to do it if you think that this is the problem.

---

<div class="post-metadata">

**Author:** ![marquizzo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/marquizzo/32/25192_2.png) [@marquizzo](https://discourse.threejs.org/u/marquizzo)\
**Post date:** [May 16, 2019, 7:15pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/5 "2019-05-16T19:15:25Z")

</div>

My favorite tool for performance testing is [Spector.js](https://spector.babylonjs.com/) which shows you step-by-step every drawcall and command that takes place in WebGL, and it even shows you how long it took to perform each command. It comes with plugins for both Chrome and Firefox, so you could run them on both and see which drawcall takes up the most time. You can also use the [performance tab in Chrome’s dev tools](https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/) to see what the browser is doing under the hood.

---

<div class="post-metadata">

**Author:** ![DiHand](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/dihand/32/5566_2.png) [@DiHand](https://discourse.threejs.org/u/DiHand)\
**Post date:** [May 16, 2019, 7:32pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/6 "2019-05-16T19:32:11Z")

</div>

Great, thanks for the hint - I’ll try it.

---

<div class="post-metadata">

**Author:** ![Usnul](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/usnul/32/2355_2.png) [@Usnul](https://discourse.threejs.org/u/Usnul)\
**Post date:** [May 17, 2019, 5:26am UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/7 "2019-05-17T05:26:37Z")

</div>

I’ve had this complaint from players of [my game](https://lazy-cat.itch.io/ex-nihilo), they say

> How come, i have a powerful GPU inside my laptop, but your game runs like sh\*t.

and every time it turned out that system was configured to run chrome using integrated GPU (usually intel HD graphics).

---

<div class="post-metadata">

**Author:** ![DiHand](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/dihand/32/5566_2.png) [@DiHand](https://discourse.threejs.org/u/DiHand)\
**Post date:** [May 17, 2019, 3:48pm UTC](https://discourse.threejs.org/t/chrome-vs-firefox-perfomance/7589/8 "2019-05-17T15:48:39Z")

</div>

You have a pretty game.  
I forcibly enabled the use of a discrete video card in the Chrome browser and everything worked out.  
4-5% CPU usage.  
It is a pity that browser developers do not do this by default.  
After all, not every player will understand why something is slowing down.  
I also saw the settings of my Firefox - it seems that there is a discrete video card used immediately.
