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(60563):@import * as namespace cannot be used with @implements #60566

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

a-tarasyuk
Copy link
Contributor

@a-tarasyuk a-tarasyuk commented Nov 23, 2024

Fixes #60563

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Nov 23, 2024
@typescript-bot typescript-bot added For Backlog Bug PRs that fix a backlog bug and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Jan 10, 2025
@a-tarasyuk a-tarasyuk requested a review from jakebailey January 17, 2025 21:03
@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 17, 2025

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/60566/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,390 62,390 ~ ~ ~ p=1.000 n=6
Types 50,395 50,395 ~ ~ ~ p=1.000 n=6
Memory used 196,133k (± 0.83%) 196,298k (± 0.75%) ~ 193,291k 196,962k p=0.128 n=6
Parse Time 1.61s (± 0.73%) 1.59s (± 1.43%) ~ 1.55s 1.62s p=0.117 n=6
Bind Time 0.88s (± 1.38%) 0.88s (± 0.85%) ~ 0.87s 0.89s p=0.555 n=6
Check Time 11.80s (± 0.55%) 11.77s (± 0.39%) ~ 11.72s 11.85s p=0.518 n=6
Emit Time 3.38s (± 4.19%) 3.35s (± 3.24%) ~ 3.26s 3.56s p=1.000 n=6
Total Time 17.68s (± 0.56%) 17.60s (± 0.68%) ~ 17.48s 17.82s p=0.172 n=6
angular-1 - node (v18.15.0, x64)
Errors 37 37 ~ ~ ~ p=1.000 n=6
Symbols 947,969 947,969 ~ ~ ~ p=1.000 n=6
Types 410,955 410,955 ~ ~ ~ p=1.000 n=6
Memory used 1,225,815k (± 0.00%) 1,225,819k (± 0.00%) ~ 1,225,776k 1,225,888k p=0.936 n=6
Parse Time 8.03s (± 0.79%) 8.09s (± 0.42%) ~ 8.06s 8.14s p=0.108 n=6
Bind Time 2.29s (± 0.58%) 2.29s (± 0.98%) ~ 2.25s 2.31s p=0.742 n=6
Check Time 38.19s (± 0.37%) 38.38s (± 0.57%) ~ 38.12s 38.77s p=0.077 n=6
Emit Time 18.26s (± 0.74%) 18.29s (± 0.42%) ~ 18.18s 18.37s p=0.575 n=6
Total Time 66.77s (± 0.12%) 67.05s (± 0.33%) +0.28s (+ 0.42%) 66.67s 67.28s p=0.045 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,444,602 2,444,602 ~ ~ ~ p=1.000 n=6
Types 896,634 896,634 ~ ~ ~ p=1.000 n=6
Memory used 2,305,808k (± 0.00%) 2,305,741k (± 0.01%) ~ 2,305,420k 2,305,969k p=0.810 n=6
Parse Time 10.77s (± 0.21%) 10.74s (± 0.55%) ~ 10.67s 10.82s p=0.468 n=6
Bind Time 2.52s (± 0.65%) 2.51s (± 0.30%) ~ 2.50s 2.52s p=0.216 n=6
Check Time 86.96s (± 0.32%) 88.52s (± 2.20%) +1.56s (+ 1.80%) 87.16s 92.11s p=0.005 n=6
Emit Time 0.34s (± 1.50%) 0.65s (±117.04%) ~ 0.33s 2.21s p=1.000 n=6
Total Time 100.59s (± 0.29%) 102.42s (± 1.81%) +1.84s (+ 1.82%) 100.69s 105.67s p=0.031 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,228,455 1,228,455 ~ ~ ~ p=1.000 n=6
Types 266,871 266,871 ~ ~ ~ p=1.000 n=6
Memory used 2,606,660k (±14.40%) 2,970,275k (± 9.99%) ~ 2,364,017k 3,092,593k p=0.173 n=6
Parse Time 6.61s (± 1.09%) 6.71s (± 1.34%) +0.10s (+ 1.46%) 6.53s 6.76s p=0.045 n=6
Bind Time 2.18s (± 0.90%) 2.14s (± 1.61%) -0.05s (- 2.14%) 2.09s 2.18s p=0.036 n=6
Check Time 42.78s (± 0.58%) 42.82s (± 0.24%) ~ 42.71s 43.01s p=0.810 n=6
Emit Time 3.55s (± 3.04%) 3.51s (± 1.76%) ~ 3.42s 3.61s p=0.810 n=6
Total Time 55.12s (± 0.56%) 55.17s (± 0.32%) ~ 54.89s 55.43s p=0.689 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,228,455 1,228,455 ~ ~ ~ p=1.000 n=6
Types 266,871 266,871 ~ ~ ~ p=1.000 n=6
Memory used 3,157,700k (± 0.03%) 3,036,002k (± 9.76%) ~ 2,430,704k 3,158,150k p=0.230 n=6
Parse Time 8.71s (± 0.70%) 8.67s (± 1.17%) ~ 8.48s 8.77s p=0.470 n=6
Bind Time 2.64s (± 0.78%) 2.63s (± 1.07%) ~ 2.62s 2.69s p=0.573 n=6
Check Time 53.34s (± 0.57%) 53.32s (± 0.39%) ~ 53.00s 53.54s p=0.810 n=6
Emit Time 4.32s (± 1.99%) 4.34s (± 1.98%) ~ 4.26s 4.45s p=0.748 n=6
Total Time 69.01s (± 0.51%) 68.96s (± 0.44%) ~ 68.42s 69.34s p=0.810 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 262,628 262,628 ~ ~ ~ p=1.000 n=6
Types 106,697 106,697 ~ ~ ~ p=1.000 n=6
Memory used 440,849k (± 0.02%) 440,760k (± 0.02%) ~ 440,670k 440,852k p=0.093 n=6
Parse Time 3.54s (± 0.79%) 3.53s (± 0.81%) ~ 3.50s 3.58s p=0.416 n=6
Bind Time 1.32s (± 0.92%) 1.32s (± 1.12%) ~ 1.30s 1.34s p=0.934 n=6
Check Time 19.08s (± 0.44%) 19.02s (± 0.77%) ~ 18.80s 19.21s p=0.471 n=6
Emit Time 1.53s (± 0.34%) 1.53s (± 1.14%) ~ 1.52s 1.56s p=0.557 n=6
Total Time 25.47s (± 0.30%) 25.40s (± 0.58%) ~ 25.18s 25.61s p=0.378 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 70 70 ~ ~ ~ p=1.000 n=6
Symbols 226,095 226,095 ~ ~ ~ p=1.000 n=6
Types 94,488 94,488 ~ ~ ~ p=1.000 n=6
Memory used 371,636k (± 0.01%) 371,674k (± 0.01%) ~ 371,606k 371,758k p=0.298 n=6
Parse Time 2.90s (± 0.52%) 2.91s (± 1.34%) ~ 2.84s 2.95s p=0.291 n=6
Bind Time 1.59s (± 0.83%) 1.58s (± 1.46%) ~ 1.54s 1.60s p=0.615 n=6
Check Time 16.46s (± 0.22%) 16.48s (± 0.40%) ~ 16.41s 16.60s p=0.374 n=6
Emit Time 0.00s (±244.70%) 0.00s ~ ~ ~ p=0.405 n=6
Total Time 20.96s (± 0.19%) 20.98s (± 0.46%) ~ 20.85s 21.10s p=0.748 n=6
vscode - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 3,251,895 3,251,895 ~ ~ ~ p=1.000 n=6
Types 1,119,160 1,119,160 ~ ~ ~ p=1.000 n=6
Memory used 3,317,092k (± 0.01%) 3,316,915k (± 0.01%) ~ 3,316,574k 3,317,374k p=0.470 n=6
Parse Time 14.19s (± 0.74%) 14.17s (± 0.61%) ~ 14.08s 14.29s p=0.748 n=6
Bind Time 4.58s (± 0.36%) 4.59s (± 0.30%) ~ 4.58s 4.61s p=0.249 n=6
Check Time 88.84s (± 2.23%) 90.93s (± 2.62%) ~ 88.05s 94.82s p=0.093 n=6
Emit Time 27.24s (± 7.13%) 28.17s (± 2.49%) ~ 27.53s 29.13s p=0.810 n=6
Total Time 134.86s (± 0.85%) 137.86s (± 1.48%) +3.00s (+ 2.23%) 135.87s 141.72s p=0.013 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 291,595 291,595 ~ ~ ~ p=1.000 n=6
Types 118,971 118,971 ~ ~ ~ p=1.000 n=6
Memory used 445,397k (± 0.02%) 445,424k (± 0.04%) ~ 445,145k 445,660k p=0.378 n=6
Parse Time 4.12s (± 1.18%) 4.10s (± 0.61%) ~ 4.06s 4.13s p=0.261 n=6
Bind Time 1.78s (± 1.48%) 1.76s (± 1.06%) ~ 1.74s 1.79s p=0.326 n=6
Check Time 18.85s (± 0.53%) 18.82s (± 0.72%) ~ 18.68s 19.02s p=0.810 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.76s (± 0.50%) 24.69s (± 0.61%) ~ 24.54s 24.91s p=0.575 n=6
xstate-main - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 555,050 555,050 ~ ~ ~ p=1.000 n=6
Types 186,115 186,115 ~ ~ ~ p=1.000 n=6
Memory used 493,911k (± 0.01%) 493,915k (± 0.01%) ~ 493,874k 493,946k p=0.810 n=6
Parse Time 2.77s (± 0.23%) 2.76s (± 0.19%) ~ 2.76s 2.77s p=0.091 n=6
Bind Time 0.96s (± 0.93%) 0.96s (± 0.88%) ~ 0.94s 0.96s p=0.437 n=6
Check Time 16.27s (± 0.20%) 16.26s (± 0.30%) ~ 16.19s 16.33s p=0.574 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 20.00s (± 0.15%) 19.98s (± 0.22%) ~ 19.92s 20.04s p=0.418 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/60566/merge:

Everything looks good!

@jakebailey jakebailey merged commit a086a3c into microsoft:main Jan 17, 2025
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.

@import * as namespace cannot be used with @implements
3 participants