Skip to content

test(motion): added performance benchmark for spring vs linear easing at 60fps - #39

Open
tmdeveloper007 wants to merge 1 commit into
mainfrom
#3289
Open

test(motion): added performance benchmark for spring vs linear easing at 60fps#39
tmdeveloper007 wants to merge 1 commit into
mainfrom
#3289

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

Summary of What Has Been Done

Added with performance benchmarks comparing spring, linear, and easeInOut easing at simulated 60fps (16.67ms per frame).

Changes Made

  • Created with 6 test cases:
    • Spring tick: measures average time per frame over 10,000 iterations, asserts < 1ms/frame
    • Linear easing: measures average time per frame over 10,000 iterations, asserts < 0.1ms/frame
    • easeInOut easing: measures average time per frame over 10,000 iterations, asserts < 0.1ms/frame
    • Spring reaches target within 60 frames at 60fps
    • Linear interpolation determinism check
    • easeInOut symmetry check

Impact it Made

  • Documents expected performance envelope for CI regression checks
  • Provides quantitative evidence of animation performance characteristics
  • Validates spring convergence within one second at 60fps

Closes Karanjot786#3289.

Note: Please assign this PR to the tmdeveloper007 account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(motion): add performance benchmark for spring vs linear easing at 60fps

1 participant