How to know the memory and gpu cost of babylon webpage?

When I want to use my babylon webpage on phone, the webpage can be opened on Android but not on iphone.
I think this maybe related to memory and gpu.
So how to know the memory and gpu cost of babylon webpage?

First of all I would say is it on all browsers on the IPhone or only a specific browser.

But that wont solve your case of knowing the memory usage.
Maybe this link helps you to have that insight.

https://developer.apple.com/documentation/xcode/monitoring-your-metal-apps-graphics-performance

For the memory you may use performance.memory like here - https://playground.babylonjs.com/#938RNX#29
The problem with iPnohes are often related to big texture sizes. It shouldn’t be more than 2048*2048, smaller is better.

1 Like