Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alfonsogarciacaro
Copy link
Contributor

The animate controller should be compatible with any component implementing ReactiveControllerHost not only LitElement, see #2197

@changeset-bot
Copy link

changeset-bot bot commented Oct 11, 2021

🦋 Changeset detected

Latest commit: d21bc4b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@lit-labs/motion Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@leolorenzoluis
Copy link

@justinfagnani Thoughts?

@aomarks aomarks requested a review from sorvell August 18, 2022 00:58
@aomarks
Copy link
Member

aomarks commented Aug 18, 2022

cc @sorvell

@cloudwatcher75

This comment was marked as off-topic.

@justinfagnani
Copy link
Collaborator

justinfagnani commented Aug 18, 2022

I'm mostly ok with this. My one concern is that we don't find a need for having a LitElement host in the future.

(edit: oops, this requires a ReactiveControllerHost)

@OnurGumus
Copy link

Any updates for this?

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2024

📊 Tachometer Benchmark Results

Summary

nop-update

  • this-change, tip-of-tree, previous-release: unsure 🔍 -4% - +5% (-0.49ms - +0.57ms)
    this-change vs tip-of-tree

render

  • this-change: 47.54ms - 50.02ms
  • this-change, tip-of-tree, previous-release: unsure 🔍 -2% - +7% (-0.32ms - +1.37ms)
    this-change vs tip-of-tree
  • this-change, tip-of-tree, previous-release: unsure 🔍 -1% - +4% (-0.23ms - +1.32ms)
    this-change vs tip-of-tree
  • this-change, tip-of-tree, previous-release: unsure 🔍 -2% - +2% (-0.62ms - +0.73ms)
    this-change vs tip-of-tree

update

  • this-change: 505.23ms - 517.54ms
  • this-change, tip-of-tree, previous-release: unsure 🔍 -5% - +8% (-2.00ms - +3.03ms)
    this-change vs tip-of-tree
  • this-change, tip-of-tree, previous-release: unsure 🔍 -1% - +2% (-0.95ms - +1.43ms)
    this-change vs tip-of-tree
  • this-change, tip-of-tree, previous-release: unsure 🔍 -1% - +1% (-7.45ms - +4.83ms)
    this-change vs tip-of-tree

update-reflect

  • this-change: 506.47ms - 522.52ms
  • this-change, tip-of-tree, previous-release: unsure 🔍 -2% - +0% (-8.77ms - +2.54ms)
    this-change vs tip-of-tree

Results

this-change

render

VersionAvg timevs
47.54ms - 50.02ms-

update

VersionAvg timevs
505.23ms - 517.54ms-

update-reflect

VersionAvg timevs
506.47ms - 522.52ms-
this-change, tip-of-tree, previous-release

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
18.55ms - 19.99ms-unsure 🔍
-2% - +7%
-0.32ms - +1.37ms
unsure 🔍
-3% - +6%
-0.62ms - +1.19ms
tip-of-tree
tip-of-tree
18.30ms - 19.19msunsure 🔍
-7% - +2%
-1.37ms - +0.32ms
-unsure 🔍
-5% - +2%
-0.95ms - +0.47ms
previous-release
previous-release
18.43ms - 19.54msunsure 🔍
-6% - +3%
-1.19ms - +0.62ms
unsure 🔍
-3% - +5%
-0.47ms - +0.95ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
38.78ms - 42.48ms-unsure 🔍
-5% - +8%
-2.00ms - +3.03ms
unsure 🔍
-5% - +7%
-2.17ms - +2.95ms
tip-of-tree
tip-of-tree
38.41ms - 41.82msunsure 🔍
-7% - +5%
-3.03ms - +2.00ms
-unsure 🔍
-6% - +6%
-2.58ms - +2.33ms
previous-release
previous-release
38.47ms - 42.01msunsure 🔍
-7% - +5%
-2.95ms - +2.17ms
unsure 🔍
-6% - +6%
-2.33ms - +2.58ms
-

nop-update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
10.99ms - 11.81ms-unsure 🔍
-4% - +5%
-0.49ms - +0.57ms
unsure 🔍
-5% - +4%
-0.63ms - +0.41ms
tip-of-tree
tip-of-tree
11.03ms - 11.69msunsure 🔍
-5% - +4%
-0.57ms - +0.49ms
-unsure 🔍
-5% - +3%
-0.61ms - +0.32ms
previous-release
previous-release
11.18ms - 11.83msunsure 🔍
-4% - +6%
-0.41ms - +0.63ms
unsure 🔍
-3% - +5%
-0.32ms - +0.61ms
-
this-change, tip-of-tree, previous-release

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
33.15ms - 34.47ms-unsure 🔍
-1% - +4%
-0.23ms - +1.32ms
unsure 🔍
-2% - +3%
-0.73ms - +0.88ms
tip-of-tree
tip-of-tree
32.86ms - 33.67msunsure 🔍
-4% - +1%
-1.32ms - +0.23ms
-unsure 🔍
-3% - +0%
-1.08ms - +0.14ms
previous-release
previous-release
33.28ms - 34.19msunsure 🔍
-3% - +2%
-0.88ms - +0.73ms
unsure 🔍
-0% - +3%
-0.14ms - +1.08ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
68.04ms - 70.01ms-unsure 🔍
-1% - +2%
-0.95ms - +1.43ms
unsure 🔍
-3% - +1%
-1.81ms - +0.91ms
tip-of-tree
tip-of-tree
68.13ms - 69.45msunsure 🔍
-2% - +1%
-1.43ms - +0.95ms
-unsure 🔍
-3% - +1%
-1.84ms - +0.46ms
previous-release
previous-release
68.54ms - 70.41msunsure 🔍
-1% - +3%
-0.91ms - +1.81ms
unsure 🔍
-1% - +3%
-0.46ms - +1.84ms
-
this-change, tip-of-tree, previous-release

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
33.17ms - 34.17ms-unsure 🔍
-2% - +2%
-0.62ms - +0.73ms
unsure 🔍
-2% - +2%
-0.65ms - +0.67ms
tip-of-tree
tip-of-tree
33.17ms - 34.07msunsure 🔍
-2% - +2%
-0.73ms - +0.62ms
-unsure 🔍
-2% - +2%
-0.67ms - +0.59ms
previous-release
previous-release
33.23ms - 34.10msunsure 🔍
-2% - +2%
-0.67ms - +0.65ms
unsure 🔍
-2% - +2%
-0.59ms - +0.67ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
527.50ms - 535.81ms-unsure 🔍
-1% - +1%
-7.45ms - +4.83ms
unsure 🔍
-1% - +1%
-6.69ms - +5.16ms
tip-of-tree
tip-of-tree
528.45ms - 537.48msunsure 🔍
-1% - +1%
-4.83ms - +7.45ms
-unsure 🔍
-1% - +1%
-5.63ms - +6.72ms
previous-release
previous-release
528.20ms - 536.64msunsure 🔍
-1% - +1%
-5.16ms - +6.69ms
unsure 🔍
-1% - +1%
-6.72ms - +5.63ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
535.64ms - 543.18ms-unsure 🔍
-2% - +0%
-8.77ms - +2.54ms
unsure 🔍
-1% - +1%
-5.37ms - +5.68ms
tip-of-tree
tip-of-tree
538.31ms - 546.74msunsure 🔍
-0% - +2%
-2.54ms - +8.77ms
-unsure 🔍
-0% - +2%
-2.57ms - +9.12ms
previous-release
previous-release
535.21ms - 543.30msunsure 🔍
-1% - +1%
-5.68ms - +5.37ms
unsure 🔍
-2% - +0%
-9.12ms - +2.57ms
-

tachometer-reporter-action v2 for Benchmarks

Copy link
Member

@augustjk augustjk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for taking so long to get to this. The changes here make sense.
I rebased to current main, resolving conflict, and added a changeset.
Thank you very much for the contribution!

@github-actions
Copy link
Contributor

The size of lit-html.js and lit-core.min.js are as expected.

@augustjk augustjk merged commit 851334c into lit:main Jan 12, 2024
@lit-robot lit-robot mentioned this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants