Jump to content

Slow spriter player for java/libgdx


JasonCh

Recommended Posts

I have 2 phones, a Huawei Y6 and a Sony Xperia sola.

I narrowed down poor frame rate performance under 60fps down to spriter player.update() function

The Sony Xperia sola has a dual core 1.0 ghz cortex A9, it is able to achieve 60 fps with 20 spriter players on screen. Mali-400 gpu

The Huawei Y6 has a quad core 1.1 ghz cortex A7. it is struggling and only achieved 20 fps with 20 spriter players on screen. Adreno 304 gpu.

 

The Xperia is at least 5 years old whereas the huawei Y6 is quite recent (2015 model)

Benchmark apps rated the Y6 as almost twice the performance of the Xperia sola but on actual use of spriter player, it runs slower.

It is not the spriter.draw speed, because without calling the player.update() function, the frame rate doesn't suffer.

What is being done inside player.update() function that is destroying the cortex A7 cpu performance?

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.

  • Recently Browsing   0 members

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