Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Avoid updating all animation effects on single animation mutation#485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
suzyh merged 5 commits intoweb-animations:masterfromalancutter:optimiseAnimationMutations
Aug 3, 2016
Merged

Avoid updating all animation effects on single animation mutation#485

suzyh merged 5 commits intoweb-animations:masterfromalancutter:optimiseAnimationMutations
Aug 3, 2016

Conversation

@alancutter
Copy link
Contributor

This change avoids applying the effects of all Animations when a single Animation's state is modified (e.g. setting currentTime).
This is particularly effective

Performance numbers on Firefox Nightly:
500 calls to element.animate(null, 1000): 1600ms down to 170ms.
The 500 Individual Stars demo (rewritten to use element.animate()): 8.5-9.5s down to 4.5-5s
Test case in#472: 2.5-4s down to 30-50ms

jide reacted with hooray emoji
@ewilligers
Copy link
Contributor

lgtm

@suzyhsuzyh merged commitfbb1a15 intoweb-animations:masterAug 3, 2016
@alancutter
Copy link
ContributorAuthor

I discovered afterwards that the quoted performance numbers in the description are a bit bogus. Turns out Firefox's performance is heavily influenced by the developer console being open which I was not accounting for.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@alancutter@ewilligers@suzyh

[8]ページ先頭

©2009-2025 Movatter.jp