Different FPS in the sandbox for the same GLB

Hi!

MacOS/latest Chrome, https://sandbox.babylonjs.com/ with the same glb performs very differently. What the heck? :wink: Any ideas?

Thanks!

GLB available via message.

How do you replicate? Ideally do not touch inputs, all setup by script. Hard reload via timeout. Record fps time series.

Other than that: DevTools is closed right? Also, can you access FPS/render time outside the Inspector?


Also noticed inter-frame goes down in the slow sample.

1 Like

The problem is that when I load the model in my project and run it locally, it always performs poorly. I tried to strip down the code so I have nothing “extra” in it, just a simple scene and the GLB file loaded. This makes me crazy :woozy_face:

The render time is very different in both cases… Could it be that in one case the rendering is done by the CPU and in the other by the GPU? Also, you could try to use the performance tab of Chrome and see if there are differences in the snapshots.

2 Likes

I agree. This seems to look like a local computer issue

1 Like

@Evgeni_Popov @Deltakosh

Seems to be a Chrome issue. Safari is not affected.

I started to have another “funny” issue in Chrome. This code kills Chrome if pageMode is undefined :smiley:

It’s been running w/o any issues for quite a long time but after updating the browser it breaks. Safari is not affected though… Life is hard :see_no_evil:

1 Like

Is it a recent mac? Like m2/m3 class? This is super weird

1 Like

I’m a proud owner of a MacBook M4 Max :wink: :grinning_face_with_big_eyes: :flexed_biceps: It’s a beast!

/jealous :smiley:

1 Like