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(60484): Implementing a prim type in a class expression should report error #60490

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

a-tarasyuk
Copy link
Contributor

Fixes #60484

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Nov 12, 2024
@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 13, 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

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

Everything looks good!

@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
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 34 34 ~ ~ ~ p=1.000 n=6
Symbols 62,363 62,363 ~ ~ ~ p=1.000 n=6
Types 50,395 50,395 ~ ~ ~ p=1.000 n=6
Memory used 193,036k (± 0.01%) 193,712k (± 0.76%) ~ 193,000k 196,691k p=0.689 n=6
Parse Time 1.31s (± 0.96%) 1.31s (± 0.62%) ~ 1.30s 1.32s p=0.558 n=6
Bind Time 0.72s 0.72s ~ ~ ~ p=1.000 n=6
Check Time 9.80s (± 0.44%) 9.82s (± 0.37%) ~ 9.76s 9.87s p=0.375 n=6
Emit Time 2.73s (± 0.67%) 2.73s (± 0.71%) ~ 2.71s 2.76s p=1.000 n=6
Total Time 14.56s (± 0.22%) 14.58s (± 0.23%) ~ 14.53s 14.62s p=0.521 n=6
angular-1 - node (v18.15.0, x64)
Errors 37 37 ~ ~ ~ p=1.000 n=6
Symbols 947,936 947,936 ~ ~ ~ p=1.000 n=6
Types 410,955 410,955 ~ ~ ~ p=1.000 n=6
Memory used 1,226,017k (± 0.00%) 1,225,994k (± 0.00%) ~ 1,225,948k 1,226,055k p=0.229 n=6
Parse Time 6.64s (± 0.90%) 6.68s (± 0.55%) ~ 6.64s 6.73s p=0.261 n=6
Bind Time 1.89s (± 0.27%) 1.89s (± 0.44%) ~ 1.87s 1.89s p=0.923 n=6
Check Time 32.08s (± 0.54%) 32.09s (± 0.24%) ~ 31.97s 32.18s p=0.810 n=6
Emit Time 15.25s (± 0.64%) 15.18s (± 0.41%) ~ 15.10s 15.26s p=0.336 n=6
Total Time 55.86s (± 0.27%) 55.84s (± 0.14%) ~ 55.75s 55.96s p=1.000 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,498,292 2,498,292 ~ ~ ~ p=1.000 n=6
Types 908,904 908,904 ~ ~ ~ p=1.000 n=6
Memory used 2,317,079k (± 0.00%) 2,317,077k (± 0.00%) ~ 2,317,033k 2,317,097k p=0.873 n=6
Parse Time 9.32s (± 0.33%) 9.32s (± 0.16%) ~ 9.31s 9.34s p=0.453 n=6
Bind Time 2.17s (± 0.29%) 2.16s (± 0.68%) ~ 2.14s 2.18s p=0.345 n=6
Check Time 74.69s (± 0.38%) 75.02s (± 0.34%) ~ 74.80s 75.46s p=0.066 n=6
Emit Time 0.29s (± 4.05%) 0.28s (± 2.67%) ~ 0.27s 0.29s p=0.279 n=6
Total Time 86.47s (± 0.32%) 86.79s (± 0.30%) ~ 86.56s 87.23s p=0.109 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,225,389 1,225,389 ~ ~ ~ p=1.000 n=6
Types 266,556 266,555 -1 (- 0.00%) ~ ~ p=0.001 n=6
Memory used 2,415,089k (± 6.13%) 2,415,182k (± 6.13%) ~ 2,354,119k 2,717,845k p=0.689 n=6
Parse Time 5.26s (± 0.89%) 5.25s (± 1.34%) ~ 5.18s 5.38s p=0.572 n=6
Bind Time 1.77s (± 0.86%) 1.77s (± 1.40%) ~ 1.73s 1.80s p=0.572 n=6
Check Time 35.20s (± 0.58%) 35.08s (± 0.63%) ~ 34.73s 35.31s p=0.298 n=6
Emit Time 2.98s (± 0.81%) 2.98s (± 1.05%) ~ 2.94s 3.02s p=0.873 n=6
Total Time 45.23s (± 0.36%) 45.09s (± 0.42%) ~ 44.85s 45.30s p=0.199 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,225,389 1,225,389 ~ ~ ~ p=1.000 n=6
Types 266,556 266,555 -1 (- 0.00%) ~ ~ p=0.001 n=6
Memory used 2,786,889k (±14.22%) 3,149,153k (± 0.03%) ~ 3,147,856k 3,150,021k p=0.173 n=6
Parse Time 6.97s (± 1.93%) 7.03s (± 0.73%) ~ 6.97s 7.12s p=0.810 n=6
Bind Time 2.15s (± 1.08%) 2.15s (± 0.82%) ~ 2.13s 2.17s p=0.747 n=6
Check Time 42.82s (± 0.65%) 42.85s (± 0.20%) ~ 42.73s 42.93s p=1.000 n=6
Emit Time 3.50s (± 3.06%) 3.55s (± 2.27%) ~ 3.49s 3.70s p=0.298 n=6
Total Time 55.43s (± 0.84%) 55.58s (± 0.23%) ~ 55.38s 55.70s p=1.000 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 262,223 262,223 ~ ~ ~ p=1.000 n=6
Types 106,607 106,606 -1 (- 0.00%) ~ ~ p=0.001 n=6
Memory used 439,795k (± 0.01%) 439,814k (± 0.02%) ~ 439,726k 439,968k p=0.810 n=6
Parse Time 3.55s (± 0.40%) 3.55s (± 0.83%) ~ 3.52s 3.59s p=0.871 n=6
Bind Time 1.32s (± 0.83%) 1.32s (± 0.96%) ~ 1.31s 1.34s p=0.932 n=6
Check Time 18.98s (± 0.33%) 18.96s (± 0.40%) ~ 18.89s 19.09s p=0.628 n=6
Emit Time 1.53s (± 1.40%) 1.52s (± 1.79%) ~ 1.47s 1.55s p=0.624 n=6
Total Time 25.38s (± 0.23%) 25.35s (± 0.42%) ~ 25.23s 25.54s p=0.377 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 70 70 ~ ~ ~ p=1.000 n=6
Symbols 226,062 226,062 ~ ~ ~ p=1.000 n=6
Types 94,488 94,488 ~ ~ ~ p=1.000 n=6
Memory used 371,606k (± 0.01%) 371,578k (± 0.01%) ~ 371,549k 371,603k p=0.173 n=6
Parse Time 3.61s (± 0.57%) 3.60s (± 1.30%) ~ 3.56s 3.68s p=0.373 n=6
Bind Time 1.96s (± 0.82%) 1.95s (± 1.73%) ~ 1.92s 2.00s p=0.519 n=6
Check Time 20.50s (± 0.55%) 20.41s (± 0.18%) ~ 20.34s 20.45s p=0.126 n=6
Emit Time 0.00s (±244.70%) 0.00s ~ ~ ~ p=0.405 n=6
Total Time 26.07s (± 0.43%) 25.96s (± 0.31%) ~ 25.86s 26.07s p=0.077 n=6
vscode - node (v18.15.0, x64)
Errors 4 4 ~ ~ ~ p=1.000 n=6
Symbols 3,144,290 3,144,290 ~ ~ ~ p=1.000 n=6
Types 1,084,113 1,084,113 ~ ~ ~ p=1.000 n=6
Memory used 3,228,274k (± 0.01%) 3,228,217k (± 0.01%) ~ 3,227,496k 3,228,549k p=0.575 n=6
Parse Time 14.05s (± 0.57%) 14.03s (± 0.28%) ~ 13.97s 14.06s p=0.628 n=6
Bind Time 4.53s (± 2.33%) 4.60s (± 3.31%) ~ 4.44s 4.74s p=0.573 n=6
Check Time 85.80s (± 0.42%) 86.27s (± 1.66%) ~ 84.71s 89.01s p=0.575 n=6
Emit Time 23.97s (± 7.21%) 24.50s (± 8.80%) ~ 22.75s 27.26s p=1.000 n=6
Total Time 128.35s (± 1.16%) 129.41s (± 2.24%) ~ 127.33s 134.70s p=0.689 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 288,542 288,542 ~ ~ ~ p=1.000 n=6
Types 117,082 117,082 ~ ~ ~ p=1.000 n=6
Memory used 440,787k (± 0.03%) 440,780k (± 0.02%) ~ 440,630k 440,915k p=0.936 n=6
Parse Time 4.11s (± 1.16%) 4.07s (± 0.83%) ~ 4.03s 4.13s p=0.295 n=6
Bind Time 1.73s (± 1.58%) 1.75s (± 0.47%) ~ 1.74s 1.76s p=0.133 n=6
Check Time 18.91s (± 0.13%) 18.85s (± 0.46%) ~ 18.72s 18.98s p=0.090 n=6
Emit Time 0.00s 0.00s (±244.70%) ~ 0.00s 0.01s p=0.405 n=6
Total Time 24.74s (± 0.12%) 24.66s (± 0.37%) ~ 24.54s 24.80s p=0.088 n=6
xstate-main - node (v18.15.0, x64)
Errors 8 8 ~ ~ ~ p=1.000 n=6
Symbols 551,583 551,583 ~ ~ ~ p=1.000 n=6
Types 184,808 184,808 ~ ~ ~ p=1.000 n=6
Memory used 491,944k (± 0.01%) 491,908k (± 0.01%) ~ 491,839k 491,968k p=0.261 n=6
Parse Time 3.43s (± 0.51%) 3.41s (± 0.63%) ~ 3.38s 3.44s p=0.145 n=6
Bind Time 1.18s (± 0.35%) 1.18s (± 1.16%) ~ 1.16s 1.20s p=0.245 n=6
Check Time 19.54s (± 0.29%) 19.53s (± 0.31%) ~ 19.43s 19.61s p=0.873 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.15s (± 0.21%) 24.12s (± 0.27%) ~ 24.01s 24.21s p=0.520 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/60490/merge:

Everything looks good!

@jakebailey jakebailey merged commit d85767a into microsoft:main Nov 20, 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.

Implementing a prim type in a class expression should report error
4 participants