Jump to content
Search Community

irregular fps timeline graph

gyofeel test
Moderator Tag

Recommended Posts

I use TweenLite and useFrames:true for scrolling caroseul UI(lists of images).

Also, because of low performance of environment,  use TweenLite.fps for setting fps as 20.

 

when deveploping, I often use a performace tab of Chrome development tools.

For a performace test, after recording performance, I expected a flat timeline graph line.

However, the result is a rugged line.(min: about 20fps, max: about 60fps)

like a below image,

image.png.c6019ea65964cf3f22fb88ca6e8ce2bc.png

 

when this carosuel UI scrolling, component mounting(image components), image lazy-loading, scrolling animation and image scale-up(transform) are done together.

 

Why is the fps not constant?

 

Thank you.

 

Link to comment
Share on other sites

Thank you for your replying.

 

Then, I have a question.

I understand that ,even though I fixed the fps to 20 using TweenLite.fps(),  a scrolling animation make a fps changing.

So, I think when a container scrolling, fps is under 20, otherwise fps is 20.

 

I checked the fps timeline and scene with the screenshot function on the performance tab.

Then, when a container moving(scrolling), fps is about 20 ~ 60, otherwise fps is about 20.

Rather, fps is higher.

 

Why is that?

Link to comment
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
  • Recently Browsing   0 members

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