lit
lit copied to clipboard
[labs/virtualizer] Added RangeChangedEvent/VisibilityChangedEvent to main module exports
Per https://github.com/lit/lit/issues/3051#issuecomment-1163649651 we are exporting the events from the main module to facilitate users (re-)emitting them for certain use-cases.
🦋 Changeset detected
Latest commit: ad3c7d55992737595ebe53cd9af025fe701d7e2e
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
📊 Tachometer Benchmark Results
Summary
nop-update
- lit-html-kitchen-sink: unsure 🔍 -1% - +2% (-0.25ms - +0.46ms)
this-change vs tip-of-tree
render
- lit-element-list: 74.40ms - 77.98ms
- lit-html-kitchen-sink: unsure 🔍 -2% - +1% (-0.44ms - +0.39ms)
this-change vs tip-of-tree - lit-html-repeat: unsure 🔍 -2% - +3% (-0.17ms - +0.29ms)
this-change vs tip-of-tree - lit-html-template-heavy: unsure 🔍 -1% - +1% (-0.68ms - +0.44ms)
this-change vs tip-of-tree - reactive-element-list: unsure 🔍 -2% - +2% (-1.05ms - +1.01ms)
this-change vs tip-of-tree
update
- lit-element-list: 795.73ms - 809.12ms
- lit-html-kitchen-sink: unsure 🔍 -2% - +6% (-1.36ms - +4.71ms)
this-change vs tip-of-tree - lit-html-repeat: unsure 🔍 -2% - +0% (-5.42ms - +0.90ms)
this-change vs tip-of-tree - lit-html-template-heavy: unsure 🔍 -2% - +1% (-1.82ms - +0.87ms)
this-change vs tip-of-tree - reactive-element-list: unsure 🔍 -1% - +1% (-5.98ms - +6.41ms)
this-change vs tip-of-tree
update-reflect
- lit-element-list: 806.92ms - 817.97ms
- reactive-element-list: unsure 🔍 -1% - +3% (-8.38ms - +29.60ms)
this-change vs tip-of-tree
Results
lit-element-list
- Browser: chrome-headless 104.0.5112.79
- Sample size: 50
- Built by: Benchmarks #3690
-
Commit: ea4c8a5
render
| Version | Avg time | vs |
|---|---|---|
| 74.40ms - 77.98ms | - |
update
| Version | Avg time | vs |
|---|---|---|
| 795.73ms - 809.12ms | - |
update-reflect
| Version | Avg time | vs |
|---|---|---|
| 806.92ms - 817.97ms | - |
lit-html-kitchen-sink
- Browser: chrome-headless 104.0.5112.79
- Sample size: 30
- Built by: Benchmarks #3690
-
Commit: ea4c8a5
render
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 28.71ms - 29.47ms | - | unsure 🔍 -2% - +1% -0.44ms - +0.39ms | unsure 🔍 -2% - +1% -0.46ms - +0.36ms |
| tip-of-tree tip-of-tree | 28.95ms - 29.28ms | unsure 🔍 -1% - +2% -0.39ms - +0.44ms | - | unsure 🔍 -1% - +1% -0.24ms - +0.20ms |
| previous-release previous-release | 28.99ms - 29.29ms | unsure 🔍 -1% - +2% -0.36ms - +0.46ms | unsure 🔍 -1% - +1% -0.20ms - +0.24ms | - |
update
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 80.98ms - 84.83ms | - | unsure 🔍 -2% - +6% -1.36ms - +4.71ms | slower ❌ 0% - 6% 0.07ms - 4.77ms |
| tip-of-tree tip-of-tree | 78.89ms - 83.58ms | unsure 🔍 -6% - +2% -4.71ms - +1.36ms | - | unsure 🔍 -2% - +4% -1.96ms - +3.45ms |
| previous-release previous-release | 79.14ms - 81.84ms | faster ✔ 0% - 6% 0.07ms - 4.77ms | unsure 🔍 -4% - +2% -3.45ms - +1.96ms | - |
nop-update
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 25.46ms - 25.99ms | - | unsure 🔍 -1% - +2% -0.25ms - +0.46ms | unsure 🔍 -1% - +2% -0.22ms - +0.48ms |
| tip-of-tree tip-of-tree | 25.39ms - 25.85ms | unsure 🔍 -2% - +1% -0.46ms - +0.25ms | - | unsure 🔍 -1% - +1% -0.29ms - +0.35ms |
| previous-release previous-release | 25.37ms - 25.81ms | unsure 🔍 -2% - +1% -0.48ms - +0.22ms | unsure 🔍 -1% - +1% -0.35ms - +0.29ms | - |
lit-html-repeat
- Browser: chrome-headless 104.0.5112.79
- Sample size: 30
- Built by: Benchmarks #3690
-
Commit: ea4c8a5
render
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 10.20ms - 10.54ms | - | unsure 🔍 -2% - +3% -0.17ms - +0.29ms | unsure 🔍 -1% - +4% -0.06ms - +0.37ms |
| tip-of-tree tip-of-tree | 10.15ms - 10.47ms | unsure 🔍 -3% - +2% -0.29ms - +0.17ms | - | unsure 🔍 -1% - +3% -0.12ms - +0.31ms |
| previous-release previous-release | 10.07ms - 10.36ms | unsure 🔍 -4% - +1% -0.37ms - +0.06ms | unsure 🔍 -3% - +1% -0.31ms - +0.12ms | - |
update
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 290.56ms - 294.29ms | - | unsure 🔍 -2% - +0% -5.42ms - +0.90ms | unsure 🔍 -1% - +1% -2.17ms - +3.09ms |
| tip-of-tree tip-of-tree | 292.13ms - 297.24ms | unsure 🔍 -0% - +2% -0.90ms - +5.42ms | - | unsure 🔍 -0% - +2% -0.44ms - +5.88ms |
| previous-release previous-release | 290.11ms - 293.82ms | unsure 🔍 -1% - +1% -3.09ms - +2.17ms | unsure 🔍 -2% - +0% -5.88ms - +0.44ms | - |
lit-html-template-heavy
- Browser: chrome-headless 104.0.5112.79
- Sample size: 50
- Built by: Benchmarks #3690
-
Commit: ea4c8a5
render
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 53.73ms - 54.54ms | - | unsure 🔍 -1% - +1% -0.68ms - +0.44ms | unsure 🔍 -2% - +2% -1.07ms - +0.97ms |
| tip-of-tree tip-of-tree | 53.86ms - 54.64ms | unsure 🔍 -1% - +1% -0.44ms - +0.68ms | - | unsure 🔍 -2% - +2% -0.95ms - +1.08ms |
| previous-release previous-release | 53.24ms - 55.12ms | unsure 🔍 -2% - +2% -0.97ms - +1.07ms | unsure 🔍 -2% - +2% -1.08ms - +0.95ms | - |
update
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 115.14ms - 116.96ms | - | unsure 🔍 -2% - +1% -1.82ms - +0.87ms | unsure 🔍 -2% - +0% -2.66ms - +0.58ms |
| tip-of-tree tip-of-tree | 115.53ms - 117.51ms | unsure 🔍 -1% - +2% -0.87ms - +1.82ms | - | unsure 🔍 -2% - +1% -2.23ms - +1.11ms |
| previous-release previous-release | 115.75ms - 118.43ms | unsure 🔍 -1% - +2% -0.58ms - +2.66ms | unsure 🔍 -1% - +2% -1.11ms - +2.23ms | - |
reactive-element-list
- Browser: chrome-headless 104.0.5112.79
- Sample size: 50
- Built by: Benchmarks #3690
-
Commit: ea4c8a5
render
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 55.75ms - 56.82ms | - | unsure 🔍 -2% - +2% -1.05ms - +1.01ms | unsure 🔍 -1% - +2% -0.48ms - +1.05ms |
| tip-of-tree tip-of-tree | 55.42ms - 57.18ms | unsure 🔍 -2% - +2% -1.01ms - +1.05ms | - | unsure 🔍 -1% - +2% -0.73ms - +1.34ms |
| previous-release previous-release | 55.45ms - 56.55ms | unsure 🔍 -2% - +1% -1.05ms - +0.48ms | unsure 🔍 -2% - +1% -1.34ms - +0.73ms | - |
update
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 819.37ms - 827.98ms | - | unsure 🔍 -1% - +1% -5.98ms - +6.41ms | unsure 🔍 -0% - +1% -2.24ms - +10.32ms |
| tip-of-tree tip-of-tree | 819.00ms - 827.92ms | unsure 🔍 -1% - +1% -6.41ms - +5.98ms | - | unsure 🔍 -0% - +1% -2.56ms - +10.21ms |
| previous-release previous-release | 815.06ms - 824.20ms | unsure 🔍 -1% - +0% -10.32ms - +2.24ms | unsure 🔍 -1% - +0% -10.21ms - +2.56ms | - |
update-reflect
| Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree | vs previous-release previous-release |
|---|---|---|---|---|
| this-change | 920.35ms - 944.75ms | - | unsure 🔍 -1% - +3% -8.38ms - +29.60ms | unsure 🔍 -2% - +2% -14.90ms - +20.91ms |
| tip-of-tree tip-of-tree | 907.39ms - 936.50ms | unsure 🔍 -3% - +1% -29.60ms - +8.38ms | - | unsure 🔍 -3% - +1% -27.19ms - +11.98ms |
| previous-release previous-release | 916.44ms - 942.66ms | unsure 🔍 -2% - +2% -20.91ms - +14.90ms | unsure 🔍 -1% - +3% -11.98ms - +27.19ms | - |