Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[all] Upgrade all package locks, includes TypeScript 4.4.2 #2113

Merged
merged 10 commits into from Aug 31, 2021
Merged

Conversation

aomarks
Copy link
Member

@aomarks aomarks commented Aug 31, 2021

@changeset-bot
Copy link

changeset-bot bot commented Aug 31, 2021

🦋 Changeset detected

Latest commit: 18bd187

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

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

@google-cla google-cla bot added the cla: yes label Aug 31, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Aug 31, 2021

📊 Tachometer Benchmark Results

Summary

nop-update

  • lit-html-kitchen-sink: unsure 🔍 -3% - +16% (-1.06ms - +6.07ms)
    this-change vs tip-of-tree

render

  • lit-element-list: unsure 🔍 -2% - +2% (-1.59ms - +2.04ms)
    this-change vs tip-of-tree
  • lit-html-kitchen-sink: unsure 🔍 -1% - +12% (-0.34ms - +5.48ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -2% - +4% (-0.31ms - +0.47ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -3% - +2% (-2.06ms - +1.21ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -2% - +2% (-1.30ms - +1.38ms)
    this-change vs tip-of-tree

update

  • lit-element-list: unsure 🔍 -1% - +2% (-5.03ms - +14.79ms)
    this-change vs tip-of-tree
  • lit-html-kitchen-sink: unsure 🔍 -4% - +9% (-5.64ms - +12.04ms)
    this-change vs tip-of-tree
  • lit-html-repeat: unsure 🔍 -1% - +2% (-5.62ms - +6.94ms)
    this-change vs tip-of-tree
  • lit-html-template-heavy: unsure 🔍 -4% - +2% (-5.39ms - +2.22ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -2% - +4% (-20.19ms - +31.03ms)
    this-change vs tip-of-tree

update-reflect

  • lit-element-list: unsure 🔍 -1% - +1% (-6.94ms - +11.88ms)
    this-change vs tip-of-tree
  • reactive-element-list: unsure 🔍 -2% - +3% (-21.73ms - +27.00ms)
    this-change vs tip-of-tree

Results

lit-element-list

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
99.87ms - 102.62ms-unsure 🔍
-2% - +2%
-1.59ms - +2.04ms
faster ✔
22% - 25%
28.33ms - 32.82ms
tip-of-tree
tip-of-tree
99.83ms - 102.20msunsure 🔍
-2% - +2%
-2.04ms - +1.59ms
-faster ✔
22% - 25%
28.67ms - 32.94ms
previous-release
previous-release
130.04ms - 133.60msslower ❌
28% - 33%
28.33ms - 32.82ms
slower ❌
28% - 33%
28.67ms - 32.94ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
800.33ms - 813.91ms-unsure 🔍
-1% - +2%
-5.03ms - +14.79ms
faster ✔
7% - 9%
63.97ms - 81.66ms
tip-of-tree
tip-of-tree
795.02ms - 809.46msunsure 🔍
-2% - +1%
-14.79ms - +5.03ms
-faster ✔
8% - 10%
68.51ms - 86.88ms
previous-release
previous-release
874.26ms - 885.61msslower ❌
8% - 10%
63.97ms - 81.66ms
slower ❌
8% - 11%
68.51ms - 86.88ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
810.64ms - 823.98ms-unsure 🔍
-1% - +1%
-6.94ms - +11.88ms
faster ✔
6% - 8%
51.40ms - 72.79ms
tip-of-tree
tip-of-tree
808.21ms - 821.48msunsure 🔍
-1% - +1%
-11.88ms - +6.94ms
-faster ✔
6% - 9%
53.89ms - 75.23ms
previous-release
previous-release
871.04ms - 887.76msslower ❌
6% - 9%
51.40ms - 72.79ms
slower ❌
7% - 9%
53.89ms - 75.23ms
-
lit-html-kitchen-sink

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
45.32ms - 50.18ms-unsure 🔍
-1% - +12%
-0.34ms - +5.48ms
faster ✔
22% - 33%
13.50ms - 22.23ms
tip-of-tree
tip-of-tree
43.58ms - 46.79msunsure 🔍
-11% - +0%
-5.48ms - +0.34ms
-faster ✔
27% - 36%
16.47ms - 24.40ms
previous-release
previous-release
62.00ms - 69.24msslower ❌
27% - 48%
13.50ms - 22.23ms
slower ❌
36% - 55%
16.47ms - 24.40ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
126.00ms - 140.76ms-unsure 🔍
-4% - +9%
-5.64ms - +12.04ms
unsure 🔍
-8% - +6%
-10.79ms - +8.15ms
tip-of-tree
tip-of-tree
125.32ms - 135.05msunsure 🔍
-9% - +4%
-12.04ms - +5.64ms
-unsure 🔍
-9% - +2%
-12.19ms - +3.16ms
previous-release
previous-release
128.76ms - 140.64msunsure 🔍
-6% - +8%
-8.15ms - +10.79ms
unsure 🔍
-3% - +9%
-3.16ms - +12.19ms
-

nop-update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
38.42ms - 43.58ms-unsure 🔍
-3% - +16%
-1.06ms - +6.07ms
unsure 🔍
-10% - +11%
-4.20ms - +4.53ms
tip-of-tree
tip-of-tree
36.03ms - 40.95msunsure 🔍
-15% - +2%
-6.07ms - +1.06ms
-unsure 🔍
-16% - +4%
-6.63ms - +1.95ms
previous-release
previous-release
37.32ms - 44.35msunsure 🔍
-11% - +10%
-4.53ms - +4.20ms
unsure 🔍
-5% - +17%
-1.95ms - +6.63ms
-
lit-html-repeat

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
13.16ms - 13.73ms-unsure 🔍
-2% - +4%
-0.31ms - +0.47ms
faster ✔
8% - 15%
1.10ms - 2.26ms
tip-of-tree
tip-of-tree
13.10ms - 13.63msunsure 🔍
-3% - +2%
-0.47ms - +0.31ms
-faster ✔
8% - 15%
1.19ms - 2.33ms
previous-release
previous-release
14.62ms - 15.63msslower ❌
8% - 17%
1.10ms - 2.26ms
slower ❌
9% - 18%
1.19ms - 2.33ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
379.58ms - 388.43ms-unsure 🔍
-1% - +2%
-5.62ms - +6.94ms
faster ✔
27% - 30%
145.06ms - 159.38ms
tip-of-tree
tip-of-tree
378.88ms - 387.80msunsure 🔍
-2% - +1%
-6.94ms - +5.62ms
-faster ✔
27% - 30%
145.70ms - 160.06ms
previous-release
previous-release
530.59ms - 541.85msslower ❌
37% - 42%
145.06ms - 159.38ms
slower ❌
38% - 42%
145.70ms - 160.06ms
-
lit-html-template-heavy

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
65.35ms - 67.31ms-unsure 🔍
-3% - +2%
-2.06ms - +1.21ms
faster ✔
16% - 20%
12.52ms - 16.18ms
tip-of-tree
tip-of-tree
65.45ms - 68.06msunsure 🔍
-2% - +3%
-1.21ms - +2.06ms
-faster ✔
15% - 20%
11.91ms - 15.95ms
previous-release
previous-release
79.14ms - 82.22msslower ❌
19% - 25%
12.52ms - 16.18ms
slower ❌
18% - 24%
11.91ms - 15.95ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
127.36ms - 133.24ms-unsure 🔍
-4% - +2%
-5.39ms - +2.22ms
faster ✔
12% - 17%
18.39ms - 26.92ms
tip-of-tree
tip-of-tree
129.46ms - 134.31msunsure 🔍
-2% - +4%
-2.22ms - +5.39ms
-faster ✔
11% - 16%
17.14ms - 25.00ms
previous-release
previous-release
149.86ms - 156.05msslower ❌
14% - 21%
18.39ms - 26.92ms
slower ❌
13% - 19%
17.14ms - 25.00ms
-
reactive-element-list

render

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
71.39ms - 73.05ms-unsure 🔍
-2% - +2%
-1.30ms - +1.38ms
unsure 🔍
-0% - +4%
-0.19ms - +2.49ms
tip-of-tree
tip-of-tree
71.13ms - 73.24msunsure 🔍
-2% - +2%
-1.38ms - +1.30ms
-unsure 🔍
-1% - +4%
-0.37ms - +2.60ms
previous-release
previous-release
70.02ms - 72.12msunsure 🔍
-3% - +0%
-2.49ms - +0.19ms
unsure 🔍
-4% - +0%
-2.60ms - +0.37ms
-

update

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
806.09ms - 843.53ms-unsure 🔍
-2% - +4%
-20.19ms - +31.03ms
unsure 🔍
-3% - +4%
-20.54ms - +32.38ms
tip-of-tree
tip-of-tree
801.92ms - 836.86msunsure 🔍
-4% - +2%
-31.03ms - +20.19ms
-unsure 🔍
-3% - +3%
-25.09ms - +26.09ms
previous-release
previous-release
800.18ms - 837.59msunsure 🔍
-4% - +2%
-32.38ms - +20.54ms
unsure 🔍
-3% - +3%
-26.09ms - +25.09ms
-

update-reflect

VersionAvg timevs this-change
vs tip-of-tree
tip-of-tree
vs previous-release
previous-release
this-change
867.16ms - 900.01ms-unsure 🔍
-2% - +3%
-21.73ms - +27.00ms
unsure 🔍
-2% - +3%
-16.60ms - +28.27ms
tip-of-tree
tip-of-tree
862.95ms - 898.94msunsure 🔍
-3% - +2%
-27.00ms - +21.73ms
-unsure 🔍
-2% - +3%
-20.41ms - +26.81ms
previous-release
previous-release
862.46ms - 893.04msunsure 🔍
-3% - +2%
-28.27ms - +16.60ms
unsure 🔍
-3% - +2%
-26.81ms - +20.41ms
-

tachometer-reporter-action v2 for Benchmarks

// entityReferenceExpansion parameter. This is the previous signature.
entityReferenceExpansion?: boolean
) => TreeWalker
)(d, 129 /* NodeFilter.SHOW_{ELEMENT|COMMENT} */, null, false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems awkward in comparison to just depending on the IE11 types.

Another nice part about depending on IE11 types is that if/when we drop IE11 support, we can drop those types and the error will let us know we can drop this hack

Copy link
Member Author

@aomarks aomarks Aug 31, 2021

Choose a reason for hiding this comment

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

True, done.

We will need to add this dependency, or write a patch, when we next import into google3, though.

Actually I guess not until we upgrade the TS version.

Copy link
Member Author

Choose a reason for hiding this comment

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

PTAL @rictic

@@ -20,6 +20,6 @@
"rollup": "^2.41.1",
"rollup-plugin-summary": "^1.3.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.3.5"
"typescript": "~4.3.5"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this what we want to do here long term?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, but the typescript rollup plugin is totally broken with TypeScript 4.4, see rollup/plugins#983

Copy link
Collaborator

Choose a reason for hiding this comment

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

I see. Too bad there's no comments allowed in json files :/

Copy link
Collaborator

Choose a reason for hiding this comment

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

We do want to keep the typescript constraint as a ~x.y.z though, so this is great. We should have had that before, but relied on the package lock...

@aomarks aomarks requested a review from rictic August 31, 2021 02:13
@aomarks aomarks merged commit 5b2f364 into main Aug 31, 2021
@aomarks aomarks deleted the upgrade-deps branch August 31, 2021 02:31
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.

None yet

3 participants