Jump to content

[Performance] Example 01 on mobile devices


benny!
 Share

Recommended Posts

EDIT:

NOTE - The performance issue does not seem to be a problem with Pixi.js. It more seems to be a browser/hardware related problem.

 

Hi,

 

today I finally wanted to give Pixi.js a try. Since I am most concerned about mobile devices I started with example 01 to see how it performs on mobiles. Unfortunately the performance seems not smooth at all. Is there anything wrong with my modified example ?

 

Working example:

 

http://bit.ly/10Qvg0X

 

I tested it on my Nexus4 (chrome) and I got around ~28fps.

 

Any help appreciated.

 

Best,

benny!

Link to comment
Share on other sites

Hi Benny,

 

Not too sure what could be going on there :/ 28fps with 1 bunny ain't no good at all! Something is definitely not quite right... Have you tried testing some of the other pixi.js examples on your phone at all?

 

how many bunnys can ya get with bunny bench mark?

http://www.goodboydigital.com/pixijs/bunnymark/ 

 

Thanks!

Link to comment
Share on other sites

Hey doormat23,

 

thanks for your reply.

 

On the same device/browser (Nexus4/chrome) I got ~48FPS with 10 bunnys (sometimes it feels like some slowdowns, too).

 

Hmm ... how is performance on other devices. I though that the nexus4 was a relatively good device when it comes to HTML5 performance ?

 

Strange.

Link to comment
Share on other sites

Update.

 

Just tested my example code as well as the bunnymark on firefox beta (v21). Both run with nearly 60fps. The bunnymark shows no FPS drops even with 1000 bunnies. Unbelievable. Did not expect that chrome performance is worse than firefox.

 

Can anyone verify this? This surprises me a lot.

Link to comment
Share on other sites

yeah, thats pretty bad performance. Nexus 4 is normally pretty fast..

On a Nexus 7 you should get about 1,200 bunnies at 30fps. Is a Nexus 4 a lot slower than a 7?

 

Hmm .. don't know. Never had the chance to compare them really.

 

how does run pixie run run go on you phone? http://www.goodboydigital.com/runpixierun/

 

The game runs pretty ok on both browser. Altough I have to say that it also seems to run smoother in Firefox. I think I did test RunPixieRun already on Chrome when you first released it and it ran faster. Maybe I am wrong - but perhaps the was a Chrome update lately which hurts the performance. Just guessing though ...

Link to comment
Share on other sites

Yup. Guess this has nothing to do with your lib. Just tested some other benchmarks of other libs. All in all - the performance I experienced seem to be way slower than I remember them to be. Hmm ... strange. Will try to do some more research on this. Just came across this thread - but this does not have to do anything with canvas/webgl I guess.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...