High CPU Usage on macOS chrome


there was a cpu load post.

when these said 0.5 to 3% cpu load about below sample,

but with my macbook air and chrome

  • processor : 1.7 GHz Intel Core i7
  • memory: 8GB 1600 MHz DDR3
  • graphic: Intel HD Graphics 5000 1536 MB
  • macOS Mojave: 10.14.2

uses about 20% cpu (system: 7.56%, user: 15.89%)
and there is slightly usage of gpu graphic history
(sorry for my os language setting)

this is normal state (system 3.09%, user 3.93%)

above samples uses just 20% but, my application uses 50% or more :frowning:

what is check point for my environment?


Making comparisons of different things is not pertinent imho.
When you use the PG site, there are plenty of processes running behind the scene.

Moreover, BJS and 3J have different default settings about the lights/materials, the environment, the culling process, etc.
You have to set the very same values everywhere to make a pertinent comparison.

Hello :slight_smile:
ThreeJS is not for me.
just commented older similar thread.
Iā€™m curious whether it has different result between now and the past
or because of my computing spec.


I double checked and nothing strange is showing up in the perf analyser

Can you run a profile and check which functions are eating your CPU time?
Something like that (from my computer):

Please go to Babylon.js Playground to get a precise test

here is from mine.

Looking down the self time column. An anonymous function which you wrote is the largest single piece of 11.9.

You should take at the function at line 589 in index.js. Maybe break it out into some smaller functions to get more fine grained.

1 Like