Skip to content

Memory on using animation.KeyframeAnimation #94

Open
@ZhenguoYang

Description

@ZhenguoYang

We did the following tests for the same animation behaviour:

  1. Use KeyframeAnimation to read one combined picture (contains 12 small pictures) and run the animation. (Chrome Memory: 28M);
  2. Use KeyframeAnimation to add 12 frames (12 small pictures) seperatelly and run the animation. (Chrome Memory: 19M);
  3. Use setInterval (change background pic each 200ms) to replace KeyframeAnimation (12 small pictures). (Chrome Memory:18M);
  4. Use setInterval (change background pic each 200ms) to replace KeyframeAnimation (one combined pictures). (Chrome Memory: 12M)

Any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions