Kether Posted August 9, 2017 Share Posted August 9, 2017 I tried to make 9999 balls in Babylon playground, and FPS down to 45 in my PC. But my CPU and GPU is far away from full. Is there any limit of performance in Chrome or v8? Quote Link to comment Share on other sites More sharing options...
Mezzorio Posted August 9, 2017 Share Posted August 9, 2017 I noticed when building you want to use something like prepros to build on a local as many browsers have conflict issues using local sourcing for images and a couple other things, but working on the local host I havn't had any issues other than the occasional hard refresh needed Quote Link to comment Share on other sites More sharing options...
Kether Posted August 9, 2017 Author Share Posted August 9, 2017 2 minutes ago, Mezzorio said: I noticed when building you want to use something like prepros to build on a local as many browsers have conflict issues using local sourcing for images and a couple other things, but working on the local host I havn't had any issues other than the occasional hard refresh needed I didn't use any image, just white ball without textures. Quote Link to comment Share on other sites More sharing options...
Mezzorio Posted August 9, 2017 Share Posted August 9, 2017 Performance is still better, I have noticed issues relating to crashing in browsers but unrelated to the amount of work being carried out, I have had some issues with slow loading in of content, i'm playing around with sprites at the minute, but using fewer large high quality images and it takes a fair few seconds to try and load them all in slowly Quote Link to comment Share on other sites More sharing options...
JohnK Posted August 9, 2017 Share Posted August 9, 2017 25 minutes ago, Kether said: I tried to make 9999 balls in Babylon playground Have you tried fewer segments in your balls? Are you using instances or clones? Have you tried Solid Particle System? 9999 is a lot of balls. Quote Link to comment Share on other sites More sharing options...
Kether Posted August 9, 2017 Author Share Posted August 9, 2017 Just now, JohnK said: Have you tried fewer segments in your balls? Are you using instances or clones? Have you tried Solid Particle System? 9999 is a lot of balls. I just want to know if chrome (or Babylonjs) can take advantage of PC performance. If chrome can't not use 90% performance of my PC, it will be a big problem I think. I doult there is a performance limit to chrome single page, because chrome is design for web brower Quote Link to comment Share on other sites More sharing options...
mattstyles Posted August 9, 2017 Share Posted August 9, 2017 How are you measuring performance? JS execution is (mostly) single threaded so if you have a multi core CPU one of them might be maxed out but your monitoring tool might be averaging across cores so whilst it looks (in that tool) like your CPU isn't taxed (which it isn't!) you have in fact reached the limit on a single core, which is all JS can use. I'm less clear on how to accurately measure GPU. And, yes, Chrome is just an app/program on your computer, it has the same access to the hardware as any other app/program. Quote Link to comment Share on other sites More sharing options...
jerome Posted August 9, 2017 Share Posted August 9, 2017 If you want to draw 9999 balls, it will require 9999 draw calls to the GPU. Instances or the Solid Particle System can do the same work in one single draw call. http://doc.babylonjs.com/overviews/solid_particle_system http://doc.babylonjs.com/tutorials/how_to_use_instances Quote Link to comment Share on other sites More sharing options...
Kether Posted August 9, 2017 Author Share Posted August 9, 2017 50 minutes ago, mattstyles said: How are you measuring performance? JS execution is (mostly) single threaded so if you have a multi core CPU one of them might be maxed out but your monitoring tool might be averaging across cores so whilst it looks (in that tool) like your CPU isn't taxed (which it isn't!) you have in fact reached the limit on a single core, which is all JS can use. I'm less clear on how to accurately measure GPU. And, yes, Chrome is just an app/program on your computer, it has the same access to the hardware as any other app/program. Thanks for reply My bad English can't tell it, please look this image, and the FPS is 17, test in electron, same result in chrome Quote Link to comment Share on other sites More sharing options...
Kether Posted August 9, 2017 Author Share Posted August 9, 2017 12 minutes ago, jerome said: If you want to draw 9999 balls, it will require 9999 draw calls to the GPU. Instances or the Solid Particle System can do the same work in one single draw call. http://doc.babylonjs.com/overviews/solid_particle_system http://doc.babylonjs.com/tutorials/how_to_use_instances I want to test how much performance can take by Chrome, not really want 9999 balls in my game. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 9, 2017 Share Posted August 9, 2017 Hello, one of the problem of web development is that you only use one single thread So even if you have 18 cores, only one will be used unfortunately Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.