Skip to content

[labs/virtualizer] Fix #3493#3525

Merged
graynorton merged 2 commits intomainfrom
fix-3493
Dec 15, 2022
Merged

[labs/virtualizer] Fix #3493#3525
graynorton merged 2 commits intomainfrom
fix-3493

Conversation

@graynorton
Copy link
Copy Markdown
Contributor

Fix #3493

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 15, 2022

🦋 Changeset detected

Latest commit: aebf233

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/virtualizer 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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 15, 2022

📊 Tachometer Benchmark Results

Summary

nop-update

  • lit-html-kitchen-sink: unsure 🔍 -2% - +3% (-0.40ms - +0.69ms)
    this-change vs tip-of-tree

render

  • lit-element-list: 83.75ms - 88.81ms
  • lit-html-kitchen-sink: unsure 🔍 -2% - +7% (-0.58ms - +2.34ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -6% - +4% (-0.71ms - +0.45ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -2% - +2% (-0.97ms - +1.08ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -2% - +4% (-0.84ms - +2.44ms)
    this-change vs tip-of-tree

update

  • lit-element-list: 772.54ms - 786.05ms
  • lit-html-kitchen-sink: unsure 🔍 -5% - +3% (-4.12ms - +2.55ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -1% - +3% (-2.54ms - +8.03ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -0% - +2% (-0.51ms - +1.87ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -1% - +1% (-5.79ms - +11.31ms)
    this-change vs tip-of-tree

update-reflect

  • lit-element-list: 770.02ms - 779.04ms
  • reactive-element-list: unsure 🔍 -1% - +1% (-8.46ms - +7.07ms)
    this-change vs tip-of-tree

Results

lit-element-list

render

VersionAvg timevs
83.75ms - 88.81ms-

update

VersionAvg timevs
772.54ms - 786.05ms-

update-reflect

VersionAvg timevs
770.02ms - 779.04ms-
lit-html-kitchen-sink

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
31.11ms - 33.51ms-unsure 🔍
-2% - +7%
-0.58ms - +2.34ms
unsure 🔍
-4% - +5%
-1.25ms - +1.71ms
tip-of-tree
tip-of-tree
30.60ms - 32.26msunsure 🔍
-7% - +2%
-2.34ms - +0.58ms
-unsure 🔍
-6% - +2%
-1.84ms - +0.54ms
previous-release
previous-release
31.22ms - 32.94msunsure 🔍
-5% - +4%
-1.71ms - +1.25ms
unsure 🔍
-2% - +6%
-0.54ms - +1.84ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
82.16ms - 86.00ms-unsure 🔍
-5% - +3%
-4.12ms - +2.55ms
unsure 🔍
-3% - +3%
-2.42ms - +2.43ms
tip-of-tree
tip-of-tree
82.13ms - 87.59msunsure 🔍
-3% - +5%
-2.55ms - +4.12ms
-unsure 🔍
-3% - +5%
-2.31ms - +3.90ms
previous-release
previous-release
82.59ms - 85.55msunsure 🔍
-3% - +3%
-2.43ms - +2.42ms
unsure 🔍
-5% - +3%
-3.90ms - +2.31ms
-

nop-update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
22.37ms - 23.19ms-unsure 🔍
-2% - +3%
-0.40ms - +0.69ms
unsure 🔍
-2% - +3%
-0.48ms - +0.58ms
tip-of-tree
tip-of-tree
22.28ms - 23.00msunsure 🔍
-3% - +2%
-0.69ms - +0.40ms
-unsure 🔍
-3% - +2%
-0.59ms - +0.40ms
previous-release
previous-release
22.40ms - 23.07msunsure 🔍
-3% - +2%
-0.58ms - +0.48ms
unsure 🔍
-2% - +3%
-0.40ms - +0.59ms
-
lit-html-repeat

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
11.46ms - 12.27ms-unsure 🔍
-6% - +4%
-0.71ms - +0.45ms
unsure 🔍
-6% - +3%
-0.72ms - +0.41ms
tip-of-tree
tip-of-tree
11.59ms - 12.41msunsure 🔍
-4% - +6%
-0.45ms - +0.71ms
-unsure 🔍
-5% - +5%
-0.60ms - +0.54ms
previous-release
previous-release
11.63ms - 12.42msunsure 🔍
-4% - +6%
-0.41ms - +0.72ms
unsure 🔍
-5% - +5%
-0.54ms - +0.60ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
302.77ms - 311.37ms-unsure 🔍
-1% - +3%
-2.54ms - +8.03ms
unsure 🔍
-1% - +3%
-2.29ms - +8.83ms
tip-of-tree
tip-of-tree
301.24ms - 307.40msunsure 🔍
-3% - +1%
-8.03ms - +2.54ms
-unsure 🔍
-1% - +2%
-4.16ms - +5.21ms
previous-release
previous-release
300.26ms - 307.33msunsure 🔍
-3% - +1%
-8.83ms - +2.29ms
unsure 🔍
-2% - +1%
-5.21ms - +4.16ms
-
lit-html-template-heavy

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
54.23ms - 55.40ms-unsure 🔍
-2% - +2%
-0.97ms - +1.08ms
unsure 🔍
-1% - +3%
-0.57ms - +1.36ms
tip-of-tree
tip-of-tree
53.92ms - 55.59msunsure 🔍
-2% - +2%
-1.08ms - +0.97ms
-unsure 🔍
-1% - +3%
-0.80ms - +1.47ms
previous-release
previous-release
53.65ms - 55.18msunsure 🔍
-2% - +1%
-1.36ms - +0.57ms
unsure 🔍
-3% - +1%
-1.47ms - +0.80ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
113.84ms - 115.40ms-unsure 🔍
-0% - +2%
-0.51ms - +1.87ms
unsure 🔍
-1% - +1%
-0.84ms - +1.50ms
tip-of-tree
tip-of-tree
113.04ms - 114.84msunsure 🔍
-2% - +0%
-1.87ms - +0.51ms
-unsure 🔍
-1% - +1%
-1.60ms - +0.90ms
previous-release
previous-release
113.42ms - 115.16msunsure 🔍
-1% - +1%
-1.50ms - +0.84ms
unsure 🔍
-1% - +1%
-0.90ms - +1.60ms
-
reactive-element-list

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
54.23ms - 56.57ms-unsure 🔍
-2% - +4%
-0.84ms - +2.44ms
unsure 🔍
-3% - +3%
-1.71ms - +1.54ms
tip-of-tree
tip-of-tree
53.46ms - 55.75msunsure 🔍
-4% - +1%
-2.44ms - +0.84ms
-unsure 🔍
-4% - +1%
-2.49ms - +0.72ms
previous-release
previous-release
54.36ms - 56.61msunsure 🔍
-3% - +3%
-1.54ms - +1.71ms
unsure 🔍
-1% - +5%
-0.72ms - +2.49ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
789.60ms - 801.92ms-unsure 🔍
-1% - +1%
-5.79ms - +11.31ms
unsure 🔍
-1% - +1%
-7.43ms - +9.00ms
tip-of-tree
tip-of-tree
787.07ms - 798.93msunsure 🔍
-1% - +1%
-11.31ms - +5.79ms
-unsure 🔍
-1% - +1%
-10.02ms - +6.07ms
previous-release
previous-release
789.54ms - 800.41msunsure 🔍
-1% - +1%
-9.00ms - +7.43ms
unsure 🔍
-1% - +1%
-6.07ms - +10.02ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
810.27ms - 821.14ms-unsure 🔍
-1% - +1%
-8.46ms - +7.07ms
unsure 🔍
-1% - +1%
-9.27ms - +5.99ms
tip-of-tree
tip-of-tree
810.86ms - 821.95msunsure 🔍
-1% - +1%
-7.07ms - +8.46ms
-unsure 🔍
-1% - +1%
-8.66ms - +6.77ms
previous-release
previous-release
811.99ms - 822.71msunsure 🔍
-1% - +1%
-5.99ms - +9.27ms
unsure 🔍
-1% - +1%
-6.77ms - +8.66ms
-

tachometer-reporter-action v2 for Benchmarks

Copy link
Copy Markdown
Contributor

@usergenic usergenic left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the test cases @graynorton

@graynorton graynorton merged commit 0b67553 into main Dec 15, 2022
@graynorton graynorton deleted the fix-3493 branch December 15, 2022 00:51
This was referenced Dec 15, 2022
43081j pushed a commit to 43081j/lit-html that referenced this pull request Jan 4, 2023
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.

[labs/virtualizer] Doesn't update on scroll when a clipping ancestor is in Shadow DOM

2 participants