Sign in to follow this  

Spine performance

Recommended Posts

I have canvas 1920 x 1080 and 5 different Spine animations that uses a lot of textures.
Add 20 animations of every type all over the screen

Test performance in two ways. For this I use GPU-Z and check GPU load parameter

1) Every animation has its own atlas with images and json file - GPU Load 47%
2) Every animation has its own json file but uses the same atlas with images - GPU Load 61%

Made the same tests with sprites as well,  total amount of sprites is 180, 10 of each type.  

1) Each sprite has its own download link - GPU Load 90 %
2) All textures are in the same spritesheet - GPU Load 63%

Why tests with Spine have opposite results?

PC config is Google Chrome v65, Windows 10, AMD Radeon HD 7450, Intel Xeon x5650

Share this post

Link to post
Share on other sites

I hope it's ok me piggybacking this thread for another, probably unrelated spine performance issue rather than starting another thread.

The project I'm working on has a lot of spine animation and also can have a very large canvas. I'm finding that if I have the game running then switch to another tab and wait more than 4-5 seconds, when I switch back to the project it freezes for a few seconds with the permorance analyser showing it being s. I have every spine with autoUpdate set to false and I have found that if I cap the delta time that can be passed into update it helps, but if with that there is still a noticable stutter.

To clarify, my update function looks something like this:

this.lastTime = this.lastTime ||;
var timeDelta = ( - this.lastTime) * 0.001;
this.lastTime =;
   timeDelta = 0.01;

Is this something anyone else has seen and is there anything that can be done to help?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.