# Babylonjs takes longer to render the first frame on mobile compared to Threejs

**URL:** <https://forum.babylonjs.com/t/babylonjs-takes-longer-to-render-the-first-frame-on-mobile-compared-to-threejs/41213>\
**Category:** Questions\
**Tags:** material, performance\
**Created:** [May 29, 2023, 8:57am UTC](https://forum.babylonjs.com/t/babylonjs-takes-longer-to-render-the-first-frame-on-mobile-compared-to-threejs/41213 "2023-05-29T08:57:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ling](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ling/32/29324_2.png) [@ling](https://forum.babylonjs.com/u/ling)\
**Post date:** [May 30, 2023, 2:31am UTC](https://forum.babylonjs.com/t/babylonjs-takes-longer-to-render-the-first-frame-on-mobile-compared-to-threejs/41213/4 "2023-05-30T02:31:39Z")

</div>

Thanks for your reply 😀  
I found that this maybe a bug caused by the engine’s not setting the `engine.disableUniformBuffers` property correctly in mobile mode.  
When I visit my project in my browser in normal mode, after I create my engine,the `engine.disableUniformBuffers` is `true`,and it perform well.  
But when I change my browser to mobile mode, the `engine.disableUniformBuffers` value become `false`,which cause a bad performance ☹.

And I think this is similar to this bug:  
[https://forum.babylonjs.com/t/loading-time-performance-regression/28504/4](https://forum.babylonjs.com/t/loading-time-performance-regression/28504/4)  
([Related Commit](https://github.com/BabylonJS/Babylon.js/pull/12487))

And my solution is change this value to `true` manully after I create my engine.(now it performace well!!!)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/0/8/082e23cdbd58056beae185dc9be7406b19899f0c.png)

@sebavan @Evgeni_Popov

---

_[View the full topic](https://forum.babylonjs.com/t/babylonjs-takes-longer-to-render-the-first-frame-on-mobile-compared-to-threejs/41213)._
