Skip to content

Infer between generic mapped types before inferring from apparent type #56640

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

Merged
merged 5 commits into from
Jan 2, 2024

Conversation

gabritto
Copy link
Member

@gabritto gabritto commented Dec 1, 2023

Fixes #56133

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Dec 1, 2023
@gabritto
Copy link
Member Author

gabritto commented Dec 1, 2023

@typescript-bot run DT
@typescript-bot user test this
@typescript-bot test top100
@typescript-bot perf test this

@gabritto
Copy link
Member Author

gabritto commented Dec 1, 2023

@typescript-bot run DT
@typescript-bot user test this
@typescript-bot test top100
@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 1, 2023

Heya @gabritto, I've started to run the parallelized Definitely Typed test suite on this PR at 88f7f12. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 1, 2023

Heya @gabritto, I've started to run the diff-based user code test suite on this PR at 88f7f12. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 1, 2023

Heya @gabritto, I've started to run the diff-based top-repos suite on this PR at 88f7f12. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 1, 2023

Heya @gabritto, I've started to run the regular perf test suite on this PR at 88f7f12. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@gabritto Here are the results of running the user test suite comparing main and refs/pull/56640/merge:

There were infrastructure failures potentially unrelated to your change:

  • 2 instances of "Package install failed"

Otherwise...

Something interesting changed - please have a look.

Details

puppeteer

packages/browsers/test/src/tsconfig.json

@typescript-bot
Copy link
Collaborator

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

Here they are:

Compiler

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Angular - node (v18.15.0, x64)
Memory used 295,379k (± 0.00%) 295,416k (± 0.01%) ~ 295,372k 295,448k p=0.065 n=6
Parse Time 2.64s (± 0.44%) 2.65s (± 0.32%) ~ 2.63s 2.65s p=0.652 n=6
Bind Time 0.82s (± 0.50%) 0.82s (± 0.00%) ~ 0.82s 0.82s p=0.405 n=6
Check Time 8.12s (± 0.16%) 8.13s (± 0.32%) ~ 8.09s 8.15s p=0.625 n=6
Emit Time 7.08s (± 0.36%) 7.07s (± 0.21%) ~ 7.04s 7.08s p=0.324 n=6
Total Time 18.67s (± 0.17%) 18.66s (± 0.09%) ~ 18.64s 18.68s p=0.737 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used 195,311k (± 1.54%) 193,761k (± 1.46%) ~ 191,392k 197,207k p=0.128 n=6
Parse Time 1.36s (± 1.36%) 1.35s (± 0.81%) ~ 1.34s 1.37s p=0.206 n=6
Bind Time 0.72s (± 0.00%) 0.72s (± 0.00%) ~ 0.72s 0.72s p=1.000 n=6
Check Time 9.27s (± 0.40%) 9.29s (± 0.31%) ~ 9.25s 9.33s p=0.469 n=6
Emit Time 2.61s (± 0.67%) 2.62s (± 0.52%) ~ 2.60s 2.64s p=0.287 n=6
Total Time 13.97s (± 0.34%) 13.98s (± 0.28%) ~ 13.94s 14.05s p=0.568 n=6
Monaco - node (v18.15.0, x64)
Memory used 347,378k (± 0.01%) 347,390k (± 0.01%) ~ 347,358k 347,410k p=0.630 n=6
Parse Time 2.45s (± 0.31%) 2.46s (± 0.31%) ~ 2.45s 2.47s p=0.062 n=6
Bind Time 0.92s (± 0.59%) 0.93s (± 0.68%) ~ 0.92s 0.94s p=0.201 n=6
Check Time 6.91s (± 0.18%) 6.92s (± 0.33%) ~ 6.88s 6.94s p=0.290 n=6
Emit Time 4.08s (± 0.83%) 4.05s (± 0.48%) ~ 4.02s 4.07s p=0.253 n=6
Total Time 14.37s (± 0.25%) 14.35s (± 0.14%) ~ 14.32s 14.38s p=0.746 n=6
TFS - node (v18.15.0, x64)
Memory used 302,662k (± 0.01%) 302,679k (± 0.01%) ~ 302,653k 302,751k p=0.298 n=6
Parse Time 1.99s (± 1.58%) 2.00s (± 1.07%) ~ 1.98s 2.03s p=0.626 n=6
Bind Time 1.01s (± 1.49%) 1.00s (± 0.98%) ~ 0.99s 1.02s p=0.654 n=6
Check Time 6.30s (± 0.28%) 6.29s (± 0.30%) ~ 6.26s 6.31s p=0.511 n=6
Emit Time 3.58s (± 0.49%) 3.58s (± 0.21%) ~ 3.57s 3.59s p=0.620 n=6
Total Time 12.88s (± 0.39%) 12.87s (± 0.25%) ~ 12.82s 12.91s p=0.686 n=6
material-ui - node (v18.15.0, x64)
Memory used 506,768k (± 0.00%) 506,750k (± 0.01%) ~ 506,724k 506,819k p=0.173 n=6
Parse Time 2.58s (± 0.57%) 2.59s (± 0.76%) ~ 2.57s 2.61s p=0.206 n=6
Bind Time 0.99s (± 1.11%) 1.00s (± 0.82%) ~ 0.99s 1.01s p=0.197 n=6
Check Time 16.84s (± 0.38%) 16.91s (± 0.30%) ~ 16.83s 16.96s p=0.126 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.41s (± 0.36%) 20.49s (± 0.25%) +0.08s (+ 0.39%) 20.42s 20.56s p=0.042 n=6
xstate - node (v18.15.0, x64)
Memory used 512,725k (± 0.01%) 512,724k (± 0.01%) ~ 512,682k 512,794k p=0.575 n=6
Parse Time 3.27s (± 0.36%) 3.27s (± 0.12%) ~ 3.27s 3.28s p=0.858 n=6
Bind Time 1.54s (± 0.49%) 1.54s (± 0.49%) ~ 1.53s 1.55s p=1.000 n=6
Check Time 2.81s (± 0.27%) 2.82s (± 0.61%) ~ 2.79s 2.84s p=0.087 n=6
Emit Time 0.08s (± 4.99%) 0.08s (± 4.99%) ~ 0.08s 0.09s p=1.000 n=6
Total Time 7.69s (± 0.11%) 7.71s (± 0.15%) +0.02s (+ 0.19%) 7.69s 7.72s p=0.037 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Angular - node (v18.15.0, x64)
  • Compiler-Unions - node (v18.15.0, x64)
  • Monaco - node (v18.15.0, x64)
  • TFS - node (v18.15.0, x64)
  • material-ui - node (v18.15.0, x64)
  • xstate - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

tsserver

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-UnionsTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,347ms (± 0.73%) 2,343ms (± 0.69%) ~ 2,321ms 2,362ms p=0.810 n=6
Req 2 - geterr 5,434ms (± 1.74%) 5,437ms (± 1.18%) ~ 5,338ms 5,492ms p=0.689 n=6
Req 3 - references 323ms (± 0.71%) 327ms (± 1.74%) ~ 320ms 334ms p=0.295 n=6
Req 4 - navto 277ms (± 1.34%) 275ms (± 1.18%) ~ 273ms 280ms p=0.504 n=6
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) ~ 1,356 1,356 p=1.000 n=6
Req 5 - completionInfo 85ms (± 7.45%) 87ms (± 5.22%) ~ 81ms 90ms p=0.863 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,488ms (± 0.83%) 2,488ms (± 1.52%) ~ 2,428ms 2,530ms p=0.936 n=6
Req 2 - geterr 4,096ms (± 1.61%) 4,123ms (± 1.75%) ~ 4,057ms 4,216ms p=0.298 n=6
Req 3 - references 344ms (± 1.43%) 342ms (± 1.48%) ~ 335ms 347ms p=0.520 n=6
Req 4 - navto 285ms (± 0.34%) 286ms (± 1.40%) ~ 283ms 294ms p=0.858 n=6
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) ~ 1,518 1,518 p=1.000 n=6
Req 5 - completionInfo 87ms (± 5.73%) 85ms (± 7.90%) ~ 76ms 90ms p=1.000 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,591ms (± 0.59%) 2,606ms (± 0.49%) ~ 2,587ms 2,619ms p=0.077 n=6
Req 2 - geterr 1,689ms (± 2.19%) 1,679ms (± 1.81%) ~ 1,651ms 1,719ms p=0.575 n=6
Req 3 - references 117ms (± 9.37%) 104ms (± 5.02%) 🟩-12ms (-10.44%) 102ms 115ms p=0.046 n=6
Req 4 - navto 364ms (± 0.47%) 364ms (± 0.80%) ~ 358ms 366ms p=0.565 n=6
Req 5 - completionInfo count 2,073 (± 0.00%) 2,073 (± 0.00%) ~ 2,073 2,073 p=1.000 n=6
Req 5 - completionInfo 312ms (± 2.11%) 311ms (± 2.66%) ~ 304ms 323ms p=0.872 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • CompilerTSServer - node (v18.15.0, x64)
  • Compiler-UnionsTSServer - node (v18.15.0, x64)
  • xstateTSServer - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Startup

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
tsc-startup - node (v18.15.0, x64)
Execution time 152.57ms (± 0.19%) 152.51ms (± 0.18%) ~ 151.45ms 154.74ms p=0.062 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 227.95ms (± 0.15%) 227.76ms (± 0.22%) -0.20ms (- 0.09%) 226.26ms 244.38ms p=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 229.31ms (± 0.17%) 229.31ms (± 0.19%) ~ 227.60ms 234.57ms p=0.549 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 229.20ms (± 0.17%) 229.15ms (± 0.18%) ~ 227.71ms 232.28ms p=0.120 n=600
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • tsc-startup - node (v18.15.0, x64)
  • tsserver-startup - node (v18.15.0, x64)
  • tsserverlibrary-startup - node (v18.15.0, x64)
  • typescript-startup - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

Hey @gabritto, the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@typescript-bot
Copy link
Collaborator

@gabritto Here are the results of running the top-repos suite comparing main and refs/pull/56640/merge:

Everything looks good!

@gabritto
Copy link
Member Author

gabritto commented Dec 1, 2023

@typescript-bot test top300

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 1, 2023

Heya @gabritto, I've started to run the diff-based top-repos suite on this PR at 88f7f12. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@gabritto Here are the results of running the top-repos suite comparing main and refs/pull/56640/merge:

Everything looks good!

@gabritto
Copy link
Member Author

gabritto commented Dec 7, 2023

@typescript-bot pack this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 7, 2023

Heya @gabritto, I've started to run the tarball bundle task on this PR at 88f7f12. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 7, 2023

Hey @gabritto, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/159017/artifacts?artifactName=tgz&fileId=DCA5A96FD292469CC766CCC55F42CE569146C7627ECF2E4447A5C661ADEE920902&fileName=/typescript-5.4.0-insiders.20231207.tgz"
    }
}

and then running npm install.


There is also a playground for this build and an npm module you can use via "typescript": "npm:@typescript-deploys/pr-build@5.4.0-pr-56640-15".;

@typescript-bot typescript-bot added For Milestone Bug PRs that fix a bug with a specific milestone and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Dec 14, 2023
@gabritto gabritto marked this pull request as ready for review December 14, 2023 00:37
@gabritto
Copy link
Member Author

@typescript-bot run DT
@typescript-bot user test this
@typescript-bot test top300
@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 14, 2023

Heya @gabritto, I've started to run the regular perf test suite on this PR at d867225. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 14, 2023

Heya @gabritto, I've started to run the diff-based user code test suite on this PR at d867225. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 14, 2023

Heya @gabritto, I've started to run the parallelized Definitely Typed test suite on this PR at d867225. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Dec 14, 2023

Heya @gabritto, I've started to run the diff-based top-repos suite on this PR at d867225. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@gabritto Here are the results of running the user test suite comparing main and refs/pull/56640/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Package install failed"

Otherwise...

Something interesting changed - please have a look.

Details

puppeteer

packages/browsers/test/src/tsconfig.json

@typescript-bot
Copy link
Collaborator

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

Here they are:

Compiler

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Angular - node (v18.15.0, x64)
Memory used 295,417k (± 0.01%) 295,442k (± 0.01%) ~ 295,382k 295,486k p=0.229 n=6
Parse Time 2.65s (± 0.21%) 2.65s (± 0.21%) ~ 2.64s 2.65s p=1.000 n=6
Bind Time 0.82s (± 0.00%) 0.82s (± 0.50%) ~ 0.82s 0.83s p=0.405 n=6
Check Time 8.15s (± 0.39%) 8.14s (± 0.27%) ~ 8.12s 8.18s p=0.871 n=6
Emit Time 7.10s (± 0.40%) 7.09s (± 0.21%) ~ 7.07s 7.11s p=0.808 n=6
Total Time 18.72s (± 0.23%) 18.70s (± 0.12%) ~ 18.66s 18.73s p=0.871 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used 194,396k (± 1.64%) 191,951k (± 0.57%) ~ 191,454k 194,200k p=0.521 n=6
Parse Time 1.35s (± 1.27%) 1.35s (± 1.01%) ~ 1.34s 1.38s p=0.932 n=6
Bind Time 0.72s (± 0.00%) 0.72s (± 0.00%) ~ 0.72s 0.72s p=1.000 n=6
Check Time 9.24s (± 0.51%) 9.24s (± 0.41%) ~ 9.18s 9.29s p=1.000 n=6
Emit Time 2.63s (± 0.70%) 2.63s (± 0.71%) ~ 2.61s 2.66s p=0.935 n=6
Total Time 13.94s (± 0.32%) 13.94s (± 0.37%) ~ 13.86s 13.99s p=0.746 n=6
Monaco - node (v18.15.0, x64)
Memory used 347,397k (± 0.00%) 347,378k (± 0.01%) ~ 347,349k 347,405k p=0.149 n=6
Parse Time 2.45s (± 0.49%) 2.46s (± 0.33%) ~ 2.45s 2.47s p=0.157 n=6
Bind Time 0.92s (± 0.56%) 0.92s (± 0.56%) ~ 0.92s 0.93s p=1.000 n=6
Check Time 6.87s (± 0.25%) 6.88s (± 0.23%) ~ 6.86s 6.90s p=0.192 n=6
Emit Time 4.06s (± 0.20%) 4.04s (± 0.26%) ~ 4.03s 4.06s p=0.078 n=6
Total Time 14.30s (± 0.12%) 14.31s (± 0.15%) ~ 14.28s 14.34s p=0.331 n=6
TFS - node (v18.15.0, x64)
Memory used 302,660k (± 0.01%) 302,662k (± 0.00%) ~ 302,654k 302,670k p=0.936 n=6
Parse Time 1.99s (± 0.99%) 1.99s (± 0.88%) ~ 1.96s 2.01s p=0.867 n=6
Bind Time 1.01s (± 1.20%) 1.00s (± 1.21%) ~ 0.99s 1.02s p=0.680 n=6
Check Time 6.28s (± 0.27%) 6.28s (± 0.33%) ~ 6.25s 6.29s p=1.000 n=6
Emit Time 3.58s (± 0.14%) 3.58s (± 0.39%) ~ 3.56s 3.60s p=0.667 n=6
Total Time 12.86s (± 0.18%) 12.85s (± 0.16%) ~ 12.82s 12.88s p=0.463 n=6
material-ui - node (v18.15.0, x64)
Memory used 506,788k (± 0.01%) 506,806k (± 0.01%) ~ 506,768k 506,852k p=0.378 n=6
Parse Time 2.59s (± 0.29%) 2.59s (± 0.58%) ~ 2.57s 2.61s p=0.492 n=6
Bind Time 0.99s (± 1.05%) 0.99s (± 0.76%) ~ 0.98s 1.00s p=0.931 n=6
Check Time 16.88s (± 0.29%) 16.95s (± 0.49%) ~ 16.82s 17.07s p=0.077 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.46s (± 0.26%) 20.52s (± 0.42%) ~ 20.40s 20.66s p=0.127 n=6
xstate - node (v18.15.0, x64)
Memory used 512,906k (± 0.02%) 512,848k (± 0.01%) ~ 512,795k 512,950k p=0.173 n=6
Parse Time 3.27s (± 0.23%) 3.27s (± 0.17%) ~ 3.26s 3.27s p=0.137 n=6
Bind Time 1.54s (± 0.41%) 1.53s (± 0.36%) ~ 1.53s 1.54s p=0.201 n=6
Check Time 2.83s (± 0.47%) 2.82s (± 0.83%) ~ 2.79s 2.86s p=0.413 n=6
Emit Time 0.07s (± 0.00%) 0.07s (± 7.03%) ~ 0.07s 0.08s p=0.174 n=6
Total Time 7.71s (± 0.13%) 7.70s (± 0.24%) ~ 7.67s 7.72s p=0.255 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Angular - node (v18.15.0, x64)
  • Compiler-Unions - node (v18.15.0, x64)
  • Monaco - node (v18.15.0, x64)
  • TFS - node (v18.15.0, x64)
  • material-ui - node (v18.15.0, x64)
  • xstate - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

tsserver

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-UnionsTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,359ms (± 0.58%) 2,349ms (± 1.19%) ~ 2,315ms 2,376ms p=0.810 n=6
Req 2 - geterr 5,373ms (± 0.50%) 5,362ms (± 1.11%) ~ 5,308ms 5,476ms p=0.229 n=6
Req 3 - references 325ms (± 0.90%) 326ms (± 0.57%) ~ 324ms 328ms p=0.677 n=6
Req 4 - navto 280ms (± 0.69%) 279ms (± 0.85%) ~ 276ms 281ms p=0.550 n=6
Req 5 - completionInfo count 1,356 (± 0.00%) 1,356 (± 0.00%) ~ 1,356 1,356 p=1.000 n=6
Req 5 - completionInfo 87ms (± 6.67%) 86ms (± 5.69%) ~ 82ms 94ms p=0.801 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,470ms (± 1.35%) 2,474ms (± 0.85%) ~ 2,436ms 2,498ms p=1.000 n=6
Req 2 - geterr 4,142ms (± 1.90%) 4,170ms (± 1.90%) ~ 4,063ms 4,237ms p=0.423 n=6
Req 3 - references 340ms (± 1.07%) 338ms (± 0.70%) ~ 335ms 341ms p=0.295 n=6
Req 4 - navto 287ms (± 1.39%) 286ms (± 1.19%) ~ 283ms 292ms p=0.514 n=6
Req 5 - completionInfo count 1,518 (± 0.00%) 1,518 (± 0.00%) ~ 1,518 1,518 p=1.000 n=6
Req 5 - completionInfo 85ms (± 6.29%) 81ms (± 7.52%) ~ 76ms 89ms p=0.361 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,602ms (± 0.59%) 2,600ms (± 0.22%) ~ 2,592ms 2,609ms p=0.470 n=6
Req 2 - geterr 1,719ms (± 1.81%) 1,698ms (± 3.28%) ~ 1,637ms 1,773ms p=0.378 n=6
Req 3 - references 109ms (± 9.00%) 112ms (± 9.55%) ~ 102ms 124ms p=0.870 n=6
Req 4 - navto 366ms (± 0.47%) 364ms (± 0.14%) ~ 364ms 365ms p=0.051 n=6
Req 5 - completionInfo count 2,073 (± 0.00%) 2,073 (± 0.00%) ~ 2,073 2,073 p=1.000 n=6
Req 5 - completionInfo 306ms (± 1.97%) 304ms (± 1.67%) ~ 298ms 311ms p=0.520 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • CompilerTSServer - node (v18.15.0, x64)
  • Compiler-UnionsTSServer - node (v18.15.0, x64)
  • xstateTSServer - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Startup

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
tsc-startup - node (v18.15.0, x64)
Execution time 153.06ms (± 0.20%) 153.05ms (± 0.21%) ~ 151.75ms 158.28ms p=0.216 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 228.22ms (± 0.14%) 228.15ms (± 0.16%) -0.07ms (- 0.03%) 226.84ms 232.38ms p=0.004 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 229.77ms (± 0.20%) 229.68ms (± 0.19%) -0.09ms (- 0.04%) 228.08ms 237.00ms p=0.022 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 229.36ms (± 0.16%) 229.35ms (± 0.17%) ~ 227.86ms 233.02ms p=0.509 n=600
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • tsc-startup - node (v18.15.0, x64)
  • tsserver-startup - node (v18.15.0, x64)
  • tsserverlibrary-startup - node (v18.15.0, x64)
  • typescript-startup - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

Hey @gabritto, the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@gabritto gabritto changed the title Gabritto/issue56133 Infer between generic mapped types before inferring from apparent type Dec 14, 2023
@typescript-bot
Copy link
Collaborator

@gabritto Here are the results of running the top-repos suite comparing main and refs/pull/56640/merge:

Everything looks good!

@gabritto gabritto merged commit be20dbb into main Jan 2, 2024
@gabritto gabritto deleted the gabritto/issue56133 branch January 2, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Defining a type predicate breaks inheritance for methods with mapped types
3 participants