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

fix(55168): Computed properties do not respect setter signatures #55178

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

a-tarasyuk
Copy link
Contributor

Fixes #55168

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Jul 27, 2023
@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Oct 8, 2024

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started ✅ Results
user test this ✅ Started ✅ Results
run dt ✅ Started ✅ Results
perf test this faster ✅ Started 👀 Results

@typescript-bot
Copy link
Collaborator

Hey @jakebailey, the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user tests with tsc comparing main and refs/pull/55178/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

@jakebailey
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - node (v18.15.0, x64)
Errors 31 31 ~ ~ ~ p=1.000 n=6
Symbols 62,340 62,340 ~ ~ ~ p=1.000 n=6
Types 50,379 50,379 ~ ~ ~ p=1.000 n=6
Memory used 195,772k (± 0.75%) 195,201k (± 0.99%) ~ 192,443k 196,546k p=0.810 n=6
Parse Time 1.99s (± 0.99%) 2.00s (± 0.52%) ~ 1.98s 2.01s p=0.250 n=6
Bind Time 1.09s (± 1.38%) 1.08s (± 1.52%) ~ 1.06s 1.10s p=0.324 n=6
Check Time 14.54s (± 0.23%) 14.59s (± 0.33%) ~ 14.54s 14.67s p=0.053 n=6
Emit Time 4.29s (± 4.13%) 4.14s (± 3.39%) ~ 4.03s 4.41s p=0.093 n=6
Total Time 21.90s (± 1.03%) 21.81s (± 0.67%) ~ 21.62s 22.06s p=0.521 n=6
angular-1 - node (v18.15.0, x64)
Errors 33 33 ~ ~ ~ p=1.000 n=6
Symbols 947,886 947,886 ~ ~ ~ p=1.000 n=6
Types 410,840 410,840 ~ ~ ~ p=1.000 n=6
Memory used 1,224,808k (± 0.00%) 1,224,807k (± 0.00%) ~ 1,224,754k 1,224,906k p=0.689 n=6
Parse Time 8.03s (± 0.95%) 8.09s (± 1.04%) ~ 7.97s 8.19s p=0.229 n=6
Bind Time 2.26s (± 0.46%) 2.27s (± 0.87%) ~ 2.24s 2.30s p=1.000 n=6
Check Time 37.97s (± 0.54%) 37.85s (± 0.54%) ~ 37.61s 38.11s p=0.378 n=6
Emit Time 18.25s (± 0.62%) 18.18s (± 0.37%) ~ 18.12s 18.30s p=0.192 n=6
Total Time 66.51s (± 0.20%) 66.38s (± 0.44%) ~ 66.04s 66.72s p=0.469 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,529,678 2,529,678 ~ ~ ~ p=1.000 n=6
Types 916,161 916,161 ~ ~ ~ p=1.000 n=6
Memory used 2,341,183k (± 0.01%) 2,341,220k (± 0.00%) ~ 2,341,064k 2,341,342k p=0.810 n=6
Parse Time 13.77s (± 0.56%) 13.81s (± 0.94%) ~ 13.56s 13.93s p=0.261 n=6
Bind Time 3.21s (± 1.17%) 3.23s (± 0.51%) ~ 3.21s 3.25s p=0.686 n=6
Check Time 113.30s (± 2.36%) 112.30s (± 2.35%) ~ 110.39s 117.50s p=0.378 n=6
Emit Time 0.42s (± 2.33%) 0.42s (± 2.44%) ~ 0.41s 0.44s p=0.933 n=6
Total Time 130.71s (± 2.02%) 129.76s (± 1.94%) ~ 127.90s 134.73s p=0.471 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,258,109 1,258,109 ~ ~ ~ p=1.000 n=6
Types 266,266 266,266 ~ ~ ~ p=1.000 n=6
Memory used 3,026,615k (± 9.77%) 3,146,671k (± 0.05%) ~ 3,145,349k 3,149,506k p=0.689 n=6
Parse Time 6.58s (± 0.93%) 6.59s (± 0.70%) ~ 6.52s 6.65s p=1.000 n=6
Bind Time 2.37s (± 0.87%) 2.32s (± 1.58%) ~ 2.28s 2.38s p=0.052 n=6
Check Time 42.93s (± 0.17%) 43.01s (± 0.10%) ~ 42.94s 43.05s p=0.066 n=6
Emit Time 3.53s (± 2.64%) 3.53s (± 1.81%) ~ 3.44s 3.60s p=0.936 n=6
Total Time 55.41s (± 0.19%) 55.46s (± 0.18%) ~ 55.35s 55.57s p=0.298 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,258,109 1,258,109 ~ ~ ~ p=1.000 n=6
Types 266,266 266,266 ~ ~ ~ p=1.000 n=6
Memory used 2,645,463k (±10.85%) 2,646,376k (±10.84%) ~ 2,499,012k 3,218,833k p=0.471 n=6
Parse Time 8.24s (± 2.38%) 8.21s (± 2.67%) ~ 8.07s 8.64s p=0.423 n=6
Bind Time 2.64s (± 1.21%) 2.67s (± 0.80%) ~ 2.65s 2.71s p=0.127 n=6
Check Time 53.48s (± 0.94%) 53.28s (± 0.47%) ~ 52.98s 53.57s p=0.471 n=6
Emit Time 4.40s (± 3.87%) 4.28s (± 1.96%) ~ 4.18s 4.41s p=0.261 n=6
Total Time 68.78s (± 0.87%) 68.44s (± 0.50%) ~ 67.92s 68.73s p=0.378 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 261,786 261,786 ~ ~ ~ p=1.000 n=6
Types 106,508 106,508 ~ ~ ~ p=1.000 n=6
Memory used 438,774k (± 0.01%) 438,767k (± 0.01%) ~ 438,671k 438,843k p=1.000 n=6
Parse Time 3.55s (± 0.34%) 3.55s (± 0.92%) ~ 3.51s 3.60s p=0.871 n=6
Bind Time 1.31s (± 0.62%) 1.32s (± 0.62%) ~ 1.31s 1.33s p=0.666 n=6
Check Time 18.94s (± 0.24%) 18.93s (± 0.45%) ~ 18.85s 19.08s p=0.470 n=6
Emit Time 1.53s (± 1.07%) 1.53s (± 0.89%) ~ 1.51s 1.55s p=0.512 n=6
Total Time 25.33s (± 0.21%) 25.33s (± 0.38%) ~ 25.19s 25.48s p=1.000 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 68 68 ~ ~ ~ p=1.000 n=6
Symbols 225,919 225,919 ~ ~ ~ p=1.000 n=6
Types 94,415 94,415 ~ ~ ~ p=1.000 n=6
Memory used 371,084k (± 0.01%) 371,065k (± 0.01%) ~ 371,002k 371,130k p=0.575 n=6
Parse Time 2.91s (± 1.24%) 2.90s (± 1.17%) ~ 2.85s 2.93s p=0.629 n=6
Bind Time 1.58s (± 1.53%) 1.58s (± 1.36%) ~ 1.55s 1.61s p=0.936 n=6
Check Time 16.38s (± 0.40%) 16.35s (± 0.15%) ~ 16.32s 16.38s p=0.378 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 20.87s (± 0.46%) 20.83s (± 0.18%) ~ 20.79s 20.90s p=0.227 n=6
vscode - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 3,113,231 3,113,231 ~ ~ ~ p=1.000 n=6
Types 1,073,156 1,073,156 ~ ~ ~ p=1.000 n=6
Memory used 3,206,506k (± 0.01%) 3,206,412k (± 0.01%) ~ 3,206,050k 3,206,755k p=0.689 n=6
Parse Time 11.54s (± 0.79%) 11.53s (± 0.48%) ~ 11.47s 11.61s p=0.873 n=6
Bind Time 3.69s (± 0.37%) 3.68s (± 0.51%) ~ 3.65s 3.70s p=0.618 n=6
Check Time 72.02s (± 0.20%) 72.03s (± 0.30%) ~ 71.78s 72.29s p=0.810 n=6
Emit Time 20.80s (± 9.83%) 21.54s (± 8.81%) ~ 19.00s 23.19s p=0.471 n=6
Total Time 108.04s (± 1.83%) 108.79s (± 1.62%) ~ 106.53s 110.69s p=0.810 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 285,172 285,172 ~ ~ ~ p=1.000 n=6
Types 115,780 115,780 ~ ~ ~ p=1.000 n=6
Memory used 434,951k (± 0.01%) 435,042k (± 0.02%) ~ 434,932k 435,126k p=0.093 n=6
Parse Time 4.06s (± 1.28%) 4.04s (± 0.96%) ~ 3.99s 4.10s p=0.574 n=6
Bind Time 1.72s (± 1.34%) 1.74s (± 2.16%) ~ 1.69s 1.78s p=0.466 n=6
Check Time 18.31s (± 0.40%) 18.30s (± 0.57%) ~ 18.15s 18.46s p=0.810 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.10s (± 0.34%) 24.08s (± 0.42%) ~ 23.90s 24.18s p=1.000 n=6
xstate-main - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 540,222 540,222 ~ ~ ~ p=1.000 n=6
Types 181,145 181,145 ~ ~ ~ p=1.000 n=6
Memory used 483,886k (± 0.02%) 483,854k (± 0.02%) ~ 483,643k 483,947k p=0.936 n=6
Parse Time 3.38s (± 0.95%) 3.35s (± 0.44%) ~ 3.34s 3.38s p=0.088 n=6
Bind Time 1.17s (± 0.88%) 1.18s (± 0.93%) ~ 1.16s 1.19s p=0.281 n=6
Check Time 19.10s (± 0.50%) 19.20s (± 1.18%) ~ 19.00s 19.64s p=0.423 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 23.65s (± 0.37%) 23.73s (± 0.92%) ~ 23.53s 24.16s p=0.630 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the top 400 repos with tsc comparing main and refs/pull/55178/merge:

Everything looks good!

@a-tarasyuk
Copy link
Contributor Author

@jakebailey it appears that similar changes were made a while back. Should the PR be closed, or should the test be merged to resolve the issue?

@jakebailey
Copy link
Member

Taking the tests should be fine, though it'd be nice to know which PR actually fixed this...

@a-tarasyuk
Copy link
Contributor Author

@jakebailey It looks like this one

@jakebailey
Copy link
Member

Aha, yep. I knew I read that somewhere.

@jakebailey jakebailey merged commit 241a6c9 into microsoft:main Oct 22, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Computed properties do not respect setter signatures
4 participants