Skip to content

Conversation

@Andarist
Copy link
Contributor

@Andarist Andarist commented Nov 3, 2024

fixes #60394

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Nov 3, 2024
@Andarist Andarist marked this pull request as ready for review November 4, 2024 11:12
@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 4, 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
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 193,412k (± 0.76%) 192,857k (± 0.07%) ~ 192,773k 193,141k p=0.810 n=6
Parse Time 1.32s (± 0.62%) 1.32s (± 0.75%) ~ 1.30s 1.33s p=0.673 n=6
Bind Time 0.72s 0.72s ~ ~ ~ p=1.000 n=6
Check Time 9.74s (± 0.15%) 9.74s (± 0.43%) ~ 9.70s 9.82s p=0.454 n=6
Emit Time 2.72s (± 0.36%) 2.71s (± 0.39%) ~ 2.70s 2.73s p=0.315 n=6
Total Time 14.50s (± 0.17%) 14.50s (± 0.23%) ~ 14.47s 14.56s p=0.513 n=6
angular-1 - node (v18.15.0, x64)
Errors 33 33 ~ ~ ~ p=1.000 n=6
Symbols 947,888 947,888 ~ ~ ~ p=1.000 n=6
Types 410,840 410,840 ~ ~ ~ p=1.000 n=6
Memory used 1,224,795k (± 0.00%) 1,224,839k (± 0.00%) ~ 1,224,778k 1,224,889k p=0.128 n=6
Parse Time 8.10s (± 0.60%) 8.04s (± 1.04%) ~ 7.95s 8.13s p=0.166 n=6
Bind Time 2.27s (± 0.87%) 2.26s (± 0.97%) ~ 2.23s 2.29s p=0.280 n=6
Check Time 37.74s (± 0.25%) 37.89s (± 0.51%) ~ 37.69s 38.17s p=0.229 n=6
Emit Time 18.20s (± 0.22%) 18.19s (± 0.55%) ~ 18.09s 18.35s p=0.575 n=6
Total Time 66.32s (± 0.12%) 66.37s (± 0.32%) ~ 66.02s 66.55s p=0.378 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,495,004 2,495,004 ~ ~ ~ p=1.000 n=6
Types 908,592 908,592 ~ ~ ~ p=1.000 n=6
Memory used 2,307,568k (± 0.00%) 2,307,490k (± 0.01%) ~ 2,307,223k 2,307,655k p=0.689 n=6
Parse Time 11.22s (± 0.40%) 11.17s (± 0.54%) ~ 11.08s 11.23s p=0.199 n=6
Bind Time 2.63s (± 1.02%) 2.63s (± 0.56%) ~ 2.61s 2.65s p=0.569 n=6
Check Time 90.10s (± 0.89%) 91.39s (± 2.35%) ~ 89.16s 94.59s p=0.378 n=6
Emit Time 0.34s (± 1.59%) 0.35s (± 2.35%) ~ 0.34s 0.36s p=0.859 n=6
Total Time 104.29s (± 0.78%) 105.53s (± 2.01%) ~ 103.27s 108.67s p=0.378 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,258,544 1,258,552 +8 (+ 0.00%) ~ ~ p=0.001 n=6
Types 266,358 266,360 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,147,938k (± 0.03%) 3,028,391k (± 9.73%) ~ 2,426,003k 3,149,562k p=0.378 n=6
Parse Time 6.64s (± 0.78%) 6.60s (± 1.47%) ~ 6.45s 6.72s p=0.521 n=6
Bind Time 2.29s (± 4.91%) 2.31s (± 5.45%) ~ 2.07s 2.41s p=0.378 n=6
Check Time 43.15s (± 0.36%) 42.93s (± 0.39%) -0.21s (- 0.49%) 42.71s 43.13s p=0.031 n=6
Emit Time 3.50s (± 2.08%) 3.50s (± 2.17%) ~ 3.39s 3.59s p=1.000 n=6
Total Time 55.57s (± 0.22%) 55.35s (± 0.42%) ~ 55.06s 55.63s p=0.128 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,258,544 1,258,552 +8 (+ 0.00%) ~ ~ p=0.001 n=6
Types 266,358 266,360 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,981,829k (±12.38%) 2,740,454k (±13.55%) ~ 2,499,656k 3,220,685k p=0.128 n=6
Parse Time 6.76s (± 2.10%) 6.64s (± 2.22%) ~ 6.51s 6.85s p=0.149 n=6
Bind Time 2.22s (± 5.02%) 2.15s (± 1.69%) ~ 2.09s 2.20s p=0.230 n=6
Check Time 43.21s (± 0.28%) 43.21s (± 0.43%) ~ 43.04s 43.55s p=0.689 n=6
Emit Time 3.53s (± 1.72%) 3.52s (± 2.03%) ~ 3.42s 3.64s p=1.000 n=6
Total Time 55.73s (± 0.47%) 55.52s (± 0.45%) ~ 55.28s 55.89s p=0.128 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 261,751 261,757 +6 (+ 0.00%) ~ ~ p=0.001 n=6
Types 106,472 106,473 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 438,566k (± 0.01%) 438,645k (± 0.01%) ~ 438,580k 438,737k p=0.066 n=6
Parse Time 2.88s (± 0.56%) 2.89s (± 0.57%) ~ 2.87s 2.91s p=0.623 n=6
Bind Time 1.10s 1.10s (± 0.37%) ~ 1.10s 1.11s p=0.405 n=6
Check Time 15.69s (± 0.29%) 15.73s (± 0.32%) ~ 15.67s 15.81s p=0.198 n=6
Emit Time 1.30s (± 0.79%) 1.30s (± 1.49%) ~ 1.28s 1.33s p=1.000 n=6
Total Time 20.97s (± 0.17%) 21.01s (± 0.28%) ~ 20.96s 21.09s p=0.226 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 68 68 ~ ~ ~ p=1.000 n=6
Symbols 225,921 225,921 ~ ~ ~ p=1.000 n=6
Types 94,415 94,415 ~ ~ ~ p=1.000 n=6
Memory used 371,091k (± 0.03%) 371,046k (± 0.02%) ~ 370,943k 371,104k p=0.810 n=6
Parse Time 2.31s (± 0.71%) 2.31s (± 0.76%) ~ 2.30s 2.35s p=0.669 n=6
Bind Time 1.32s (± 0.68%) 1.32s (± 0.31%) ~ 1.31s 1.32s p=0.787 n=6
Check Time 13.61s (± 0.53%) 13.63s (± 0.46%) ~ 13.57s 13.74s p=0.470 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 17.25s (± 0.46%) 17.26s (± 0.44%) ~ 17.19s 17.40s p=0.748 n=6
vscode - node (v18.15.0, x64)
Errors 3 14 🔻+11 (+366.67%) ~ ~ p=0.001 n=6
Symbols 3,132,118 3,132,242 +124 (+ 0.00%) ~ ~ p=0.001 n=6
Types 1,079,618 1,079,661 +43 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,220,955k (± 0.00%) 3,220,982k (± 0.01%) ~ 3,220,262k 3,221,274k p=0.230 n=6
Parse Time 11.58s (± 0.14%) 11.57s (± 0.31%) ~ 11.52s 11.62s p=0.467 n=6
Bind Time 3.70s (± 0.50%) 3.72s (± 0.55%) ~ 3.69s 3.75s p=0.118 n=6
Check Time 71.94s (± 0.34%) 72.31s (± 0.43%) +0.38s (+ 0.53%) 72.04s 72.90s p=0.037 n=6
Emit Time 22.79s (± 0.29%) 22.89s (± 0.39%) +0.10s (+ 0.43%) 22.79s 23.04s p=0.045 n=6
Total Time 110.01s (± 0.23%) 110.48s (± 0.32%) +0.48s (+ 0.43%) 110.07s 111.09s p=0.031 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 288,119 288,119 ~ ~ ~ p=1.000 n=6
Types 116,928 116,928 ~ ~ ~ p=1.000 n=6
Memory used 439,502k (± 0.02%) 439,457k (± 0.02%) ~ 439,355k 439,586k p=0.423 n=6
Parse Time 4.05s (± 0.73%) 4.08s (± 0.70%) ~ 4.05s 4.11s p=0.063 n=6
Bind Time 1.73s (± 0.67%) 1.75s (± 1.24%) ~ 1.72s 1.78s p=0.288 n=6
Check Time 18.63s (± 0.56%) 18.66s (± 0.53%) ~ 18.52s 18.77s p=0.575 n=6
Emit Time 0.00s 0.00s (±244.70%) ~ 0.00s 0.01s p=0.405 n=6
Total Time 24.41s (± 0.44%) 24.49s (± 0.35%) ~ 24.37s 24.59s p=0.199 n=6
xstate-main - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 543,132 543,132 ~ ~ ~ p=1.000 n=6
Types 181,889 181,889 ~ ~ ~ p=1.000 n=6
Memory used 485,555k (± 0.01%) 485,556k (± 0.01%) ~ 485,516k 485,588k p=0.630 n=6
Parse Time 3.37s (± 0.60%) 3.38s (± 0.31%) ~ 3.37s 3.40s p=0.253 n=6
Bind Time 1.18s (± 1.46%) 1.18s (± 1.03%) ~ 1.16s 1.19s p=0.806 n=6
Check Time 19.20s (± 0.32%) 19.17s (± 0.36%) ~ 19.05s 19.24s p=0.470 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 23.76s (± 0.19%) 23.74s (± 0.27%) ~ 23.63s 23.81s p=0.572 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

@typescript-bot
Copy link
Collaborator

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

Something interesting changed - please have a look.

Details

adonisjs/core

tsconfig.json

  • error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • error TS2345: Argument of type '"server" | "router" | "named" | undefined' is not assignable to parameter of type '"server" | "router" | "named"'.

GrapesJS/grapesjs

1 of 3 projects failed to build with the old tsc and were ignored

packages/core/tsconfig.json

microsoft/vscode

5 of 53 projects failed to build with the old tsc and were ignored

src/tsconfig.tsec.json

src/tsconfig.monaco.json

@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 Nov 30, 2024
@Andarist
Copy link
Contributor Author

@jakebailey I fixed a small regression that has been caught above, could you rerun the tests? :)

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: Not started

Development

Successfully merging this pull request may close these issues.

[Regression] Failed to assign to a discriminated union class property when its type is inferred from constructor

3 participants