TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Default reverse mapped type inference to its constraint

Open Andarist opened this issue 2 years ago • 17 comments

closes https://github.com/microsoft/TypeScript/issues/56241

Andarist avatar Nov 03 '23 08:11 Andarist

@typescript-bot test top200 @typescript-bot user test this @typescript-bot run dt @typescript-bot perf test this @typescript-bot pack this

jakebailey avatar Nov 03 '23 16:11 jakebailey

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

Update: The results are in!

typescript-bot avatar Nov 03 '23 16:11 typescript-bot

Heya @jakebailey, I've started to run the tarball bundle task on this PR at 720a860394c5c96c71475f434aae12659305a253. You can monitor the build here.

typescript-bot avatar Nov 03 '23 16:11 typescript-bot

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

Update: The results are in!

typescript-bot avatar Nov 03 '23 16:11 typescript-bot

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

Update: The results are in!

typescript-bot avatar Nov 03 '23 16:11 typescript-bot

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

typescript-bot avatar Nov 03 '23 16:11 typescript-bot

Hey @jakebailey, 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/158454/artifacts?artifactName=tgz&fileId=69B8D4D93203CCB3C86748B20CB1D44417DE59215D6FAF4B9363F872E287B43D02&fileName=/typescript-5.4.0-insiders.20231103.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/[email protected]".;

typescript-bot avatar Nov 03 '23 16:11 typescript-bot

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

There were infrastructure failures potentially unrelated to your change:

  • 3 instances of "Package install failed"

Otherwise...

Everything looks good!

typescript-bot avatar Nov 03 '23 17:11 typescript-bot

@jakebailey 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,139k (± 0.01%) 295,142k (± 0.01%) ~ 295,068k 295,182k p=0.810 n=6
Parse Time 2.63s (± 0.54%) 2.63s (± 0.44%) ~ 2.62s 2.65s p=0.934 n=6
Bind Time 0.84s (± 0.97%) 0.83s (± 1.00%) ~ 0.83s 0.85s p=0.718 n=6
Check Time 8.04s (± 0.22%) 8.04s (± 0.24%) ~ 8.02s 8.07s p=1.000 n=6
Emit Time 7.08s (± 0.30%) 7.09s (± 0.29%) ~ 7.06s 7.11s p=0.628 n=6
Total Time 18.58s (± 0.14%) 18.60s (± 0.17%) ~ 18.56s 18.64s p=0.747 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used 192,642k (± 1.57%) 193,067k (± 1.49%) ~ 190,643k 196,550k p=1.000 n=6
Parse Time 1.35s (± 1.02%) 1.35s (± 0.00%) ~ 1.35s 1.35s p=0.599 n=6
Bind Time 0.73s (± 0.00%) 0.73s (± 0.00%) ~ 0.73s 0.73s p=1.000 n=6
Check Time 9.17s (± 0.32%) 9.15s (± 0.29%) ~ 9.12s 9.19s p=0.225 n=6
Emit Time 2.63s (± 0.44%) 2.63s (± 0.56%) ~ 2.61s 2.65s p=0.680 n=6
Total Time 13.88s (± 0.26%) 13.87s (± 0.25%) ~ 13.84s 13.93s p=0.519 n=6
Monaco - node (v18.15.0, x64)
Memory used 347,352k (± 0.00%) 347,348k (± 0.00%) ~ 347,327k 347,364k p=0.748 n=6
Parse Time 2.46s (± 0.56%) 2.47s (± 0.22%) ~ 2.46s 2.47s p=0.138 n=6
Bind Time 0.94s (± 0.00%) 0.94s (± 0.43%) ~ 0.94s 0.95s p=0.405 n=6
Check Time 6.91s (± 0.53%) 6.93s (± 0.30%) ~ 6.90s 6.95s p=0.511 n=6
Emit Time 4.04s (± 0.49%) 4.05s (± 0.44%) ~ 4.03s 4.08s p=0.677 n=6
Total Time 14.35s (± 0.15%) 14.38s (± 0.17%) ~ 14.35s 14.41s p=0.085 n=6
TFS - node (v18.15.0, x64)
Memory used 302,581k (± 0.01%) 302,600k (± 0.01%) ~ 302,573k 302,647k p=0.297 n=6
Parse Time 2.01s (± 0.87%) 2.00s (± 1.16%) ~ 1.98s 2.04s p=0.739 n=6
Bind Time 1.01s (± 1.02%) 1.01s (± 1.15%) ~ 1.00s 1.03s p=0.801 n=6
Check Time 6.25s (± 0.48%) 6.26s (± 0.36%) ~ 6.24s 6.30s p=0.421 n=6
Emit Time 3.58s (± 0.46%) 3.57s (± 0.34%) ~ 3.56s 3.59s p=0.191 n=6
Total Time 12.85s (± 0.25%) 12.84s (± 0.23%) ~ 12.81s 12.89s p=0.686 n=6
material-ui - node (v18.15.0, x64)
Memory used 470,512k (± 0.01%) 470,516k (± 0.01%) ~ 470,480k 470,571k p=1.000 n=6
Parse Time 2.58s (± 0.32%) 2.57s (± 0.29%) ~ 2.56s 2.58s p=0.383 n=6
Bind Time 0.99s (± 0.64%) 0.99s (± 1.28%) ~ 0.97s 1.00s p=0.799 n=6
Check Time 16.62s (± 0.37%) 16.65s (± 0.60%) ~ 16.54s 16.79s p=0.936 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.18s (± 0.31%) 20.21s (± 0.51%) ~ 20.11s 20.36s p=0.747 n=6
xstate - node (v18.15.0, x64)
Memory used 512,648k (± 0.01%) 512,691k (± 0.01%) ~ 512,619k 512,793k p=0.173 n=6
Parse Time 3.27s (± 0.36%) 3.28s (± 0.23%) ~ 3.27s 3.29s p=0.279 n=6
Bind Time 1.55s (± 0.33%) 1.54s (± 0.33%) ~ 1.54s 1.55s p=0.311 n=6
Check Time 2.84s (± 0.74%) 2.84s (± 0.36%) ~ 2.82s 2.85s p=0.743 n=6
Emit Time 0.08s (± 0.00%) 0.08s (± 4.99%) ~ 0.08s 0.09s p=0.405 n=6
Total Time 7.73s (± 0.21%) 7.74s (± 0.12%) ~ 7.73s 7.75s p=0.365 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,391ms (± 1.47%) 2,380ms (± 1.11%) ~ 2,359ms 2,428ms p=0.872 n=6
Req 2 - geterr 5,350ms (± 1.63%) 5,386ms (± 1.70%) ~ 5,279ms 5,486ms p=0.378 n=6
Req 3 - references 328ms (± 1.01%) 326ms (± 1.04%) ~ 323ms 332ms p=0.462 n=6
Req 4 - navto 279ms (± 1.46%) 277ms (± 1.26%) ~ 273ms 280ms p=0.284 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 81ms (± 9.14%) 85ms (± 7.45%) ~ 75ms 90ms p=0.402 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,492ms (± 0.57%) 2,503ms (± 1.22%) ~ 2,451ms 2,531ms p=0.298 n=6
Req 2 - geterr 4,056ms (± 1.53%) 4,134ms (± 1.73%) +77ms (+ 1.91%) 4,039ms 4,195ms p=0.031 n=6
Req 3 - references 342ms (± 1.34%) 336ms (± 1.44%) ~ 332ms 343ms p=0.076 n=6
Req 4 - navto 283ms (± 0.30%) 281ms (± 0.29%) -1ms (- 0.41%) 280ms 282ms p=0.045 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.15%) 80ms (± 5.97%) 🟩-7ms (- 7.84%) 77ms 89ms p=0.038 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,594ms (± 0.25%) 2,589ms (± 0.68%) ~ 2,562ms 2,611ms p=0.687 n=6
Req 2 - geterr 1,692ms (± 1.69%) 1,727ms (± 2.55%) ~ 1,668ms 1,779ms p=0.229 n=6
Req 3 - references 118ms (± 8.12%) 111ms (± 7.49%) ~ 105ms 125ms p=0.170 n=6
Req 4 - navto 364ms (± 0.25%) 365ms (± 0.30%) ~ 364ms 367ms p=0.149 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 309ms (± 1.14%) 310ms (± 1.80%) ~ 300ms 316ms p=0.422 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.20ms (± 0.17%) 152.17ms (± 0.19%) ~ 150.92ms 156.05ms p=0.193 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 227.91ms (± 0.18%) 227.66ms (± 0.16%) -0.25ms (- 0.11%) 226.18ms 232.66ms p=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 228.96ms (± 0.17%) 228.90ms (± 0.17%) ~ 227.31ms 236.30ms p=0.096 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 228.91ms (± 0.16%) 228.94ms (± 0.15%) ~ 227.59ms 231.34ms p=0.188 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 avatar Nov 03 '23 17:11 typescript-bot

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

typescript-bot avatar Nov 03 '23 17:11 typescript-bot

@typescript-bot test it @typescript-bot pack this

jakebailey avatar Nov 29 '25 13:11 jakebailey

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

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

typescript-bot avatar Nov 29 '25 13:11 typescript-bot

Hey @jakebailey, 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/166619/artifacts?artifactName=tgz&fileId=B721D8D403FD80E8AA7B9AC340153121ED331A25713EBA3BD4101F5C6DB1EC3402&fileName=/typescript-6.0.0-insiders.20251129.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/[email protected]".;

typescript-bot avatar Nov 29 '25 13:11 typescript-bot

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

Everything looks the same!

You can check the log here.

typescript-bot avatar Nov 29 '25 13:11 typescript-bot

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

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Git clone failed"

Otherwise...

Everything looks good!

typescript-bot avatar Nov 29 '25 14:11 typescript-bot

@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 1 1 ~ ~ ~ p=1.000 n=6
Symbols 62,370 62,370 ~ ~ ~ p=1.000 n=6
Types 50,386 50,386 ~ ~ ~ p=1.000 n=6
Memory used 196,285k (± 0.13%) 195,802k (± 0.75%) ~ 192,809k 196,565k p=0.936 n=6
Parse Time 1.61s (± 1.22%) 1.60s (± 0.92%) ~ 1.58s 1.62s p=0.463 n=6
Bind Time 0.91s (± 1.70%) 0.91s (± 1.94%) ~ 0.88s 0.93s p=0.737 n=6
Check Time 11.96s (± 0.26%) 11.98s (± 0.43%) ~ 11.91s 12.05s p=0.809 n=6
Emit Time 3.39s (± 3.59%) 3.30s (± 2.17%) ~ 3.19s 3.41s p=0.199 n=6
Total Time 17.87s (± 0.81%) 17.77s (± 0.65%) ~ 17.59s 17.91s p=0.471 n=6
angular-1 - node (v18.15.0, x64)
Errors 2 2 ~ ~ ~ p=1.000 n=6
Symbols 956,047 956,165 +118 (+ 0.01%) ~ ~ p=0.001 n=6
Types 415,881 415,889 +8 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 1,255,268k (± 0.01%) 1,255,267k (± 0.01%) ~ 1,255,132k 1,255,353k p=0.936 n=6
Parse Time 7.90s (± 0.57%) 7.94s (± 1.05%) ~ 7.81s 8.07s p=0.335 n=6
Bind Time 2.33s (± 0.75%) 2.35s (± 0.52%) ~ 2.33s 2.36s p=0.277 n=6
Check Time 38.71s (± 0.27%) 38.70s (± 0.32%) ~ 38.52s 38.85s p=0.521 n=6
Emit Time 17.87s (± 0.44%) 17.82s (± 0.37%) ~ 17.74s 17.89s p=0.298 n=6
Total Time 66.81s (± 0.28%) 66.81s (± 0.24%) ~ 66.56s 67.00s p=0.810 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,724,073 2,724,076 +3 (+ 0.00%) ~ ~ p=0.001 n=6
Types 937,413 937,420 +7 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,053,238k (± 0.01%) 3,053,257k (± 0.00%) ~ 3,053,089k 3,053,452k p=0.575 n=6
Parse Time 8.61s (± 0.09%) 8.60s (± 0.16%) ~ 8.58s 8.62s p=0.059 n=6
Bind Time 2.33s (± 0.88%) 2.33s (± 0.32%) ~ 2.32s 2.34s p=0.682 n=6
Check Time 93.20s (± 0.60%) 93.39s (± 0.68%) ~ 92.55s 94.37s p=0.689 n=6
Emit Time 0.31s (± 2.04%) 0.31s (± 1.31%) ~ 0.31s 0.32s p=0.673 n=6
Total Time 104.46s (± 0.55%) 104.63s (± 0.60%) ~ 103.79s 105.61s p=0.689 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,251,545 1,251,579 +34 (+ 0.00%) ~ ~ p=0.001 n=6
Types 259,756 259,760 +4 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,454,152k (± 6.05%) 2,514,997k (±11.82%) ~ 2,392,757k 3,122,603k p=0.810 n=6
Parse Time 5.16s (± 0.94%) 5.16s (± 0.98%) ~ 5.11s 5.25s p=0.872 n=6
Bind Time 1.82s (± 1.53%) 1.82s (± 1.33%) ~ 1.79s 1.86s p=0.809 n=6
Check Time 35.42s (± 0.99%) 35.54s (± 0.55%) ~ 35.36s 35.89s p=0.471 n=6
Emit Time 2.98s (± 2.71%) 2.92s (± 2.32%) ~ 2.85s 3.03s p=0.298 n=6
Total Time 45.38s (± 0.79%) 45.45s (± 0.44%) ~ 45.28s 45.79s p=0.471 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,251,545 1,251,579 +34 (+ 0.00%) ~ ~ p=0.001 n=6
Types 259,756 259,760 +4 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,066,923k (± 9.65%) 3,067,032k (± 9.65%) ~ 2,462,526k 3,188,124k p=0.810 n=6
Parse Time 6.78s (± 1.50%) 6.79s (± 0.84%) ~ 6.68s 6.83s p=0.575 n=6
Bind Time 2.26s (± 2.13%) 2.25s (± 1.50%) ~ 2.21s 2.30s p=0.809 n=6
Check Time 43.03s (± 0.54%) 43.07s (± 0.43%) ~ 42.73s 43.26s p=0.689 n=6
Emit Time 3.49s (± 1.42%) 3.50s (± 1.52%) ~ 3.42s 3.56s p=1.000 n=6
Total Time 55.57s (± 0.47%) 55.61s (± 0.50%) ~ 55.09s 55.92s p=0.936 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 264,177 264,188 +11 (+ 0.00%) ~ ~ p=0.001 n=6
Types 103,979 103,982 +3 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 443,224k (± 0.02%) 443,237k (± 0.02%) ~ 443,082k 443,310k p=0.630 n=6
Parse Time 3.52s (± 0.83%) 3.51s (± 0.94%) ~ 3.46s 3.55s p=0.686 n=6
Bind Time 1.39s (± 1.56%) 1.39s (± 1.29%) ~ 1.37s 1.42s p=0.808 n=6
Check Time 19.24s (± 0.26%) 19.22s (± 0.51%) ~ 19.08s 19.33s p=1.000 n=6
Emit Time 1.55s (± 1.87%) 1.54s (± 1.54%) ~ 1.50s 1.57s p=0.629 n=6
Total Time 25.70s (± 0.19%) 25.66s (± 0.48%) ~ 25.51s 25.81s p=0.873 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 72 72 ~ ~ ~ p=1.000 n=6
Symbols 225,386 225,386 ~ ~ ~ p=1.000 n=6
Types 94,304 94,306 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 370,146k (± 0.04%) 370,038k (± 0.02%) ~ 369,987k 370,136k p=0.093 n=6
Parse Time 2.85s (± 1.06%) 2.85s (± 1.23%) ~ 2.82s 2.90s p=0.806 n=6
Bind Time 1.65s (± 1.21%) 1.64s (± 0.90%) ~ 1.63s 1.66s p=0.498 n=6
Check Time 16.61s (± 0.53%) 16.64s (± 0.35%) ~ 16.55s 16.71s p=0.423 n=6
Emit Time 0.00s (±244.70%) 0.00s ~ ~ ~ p=0.405 n=6
Total Time 21.11s (± 0.46%) 21.13s (± 0.36%) ~ 21.03s 21.24s p=0.630 n=6
vscode - node (v18.15.0, x64)
Errors 11 11 ~ ~ ~ p=1.000 n=6
Symbols 4,068,329 4,068,429 +100 (+ 0.00%) ~ ~ p=0.001 n=6
Types 1,281,534 1,281,580 +46 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,854,018k (± 0.00%) 3,854,051k (± 0.00%) ~ 3,853,929k 3,854,137k p=0.689 n=6
Parse Time 12.89s (± 0.56%) 12.89s (± 0.61%) ~ 12.83s 13.04s p=0.936 n=6
Bind Time 4.38s (± 0.54%) 4.38s (± 1.46%) ~ 4.31s 4.46s p=1.000 n=6
Check Time 93.91s (± 0.20%) 94.04s (± 0.18%) ~ 93.78s 94.28s p=0.470 n=6
Emit Time 31.57s (± 0.44%) 31.61s (± 0.87%) ~ 31.35s 32.14s p=0.936 n=6
Total Time 142.74s (± 0.16%) 142.92s (± 0.14%) ~ 142.75s 143.28s p=0.090 n=6
webpack - node (v18.15.0, x64)
Errors 40 40 ~ ~ ~ p=1.000 n=6
Symbols 379,892 379,892 ~ ~ ~ p=1.000 n=6
Types 166,631 166,635 +4 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 539,873k (± 0.01%) 539,891k (± 0.03%) ~ 539,739k 540,157k p=0.810 n=6
Parse Time 3.89s (± 0.60%) 3.90s (± 0.66%) ~ 3.88s 3.95s p=0.618 n=6
Bind Time 1.68s (± 1.27%) 1.67s (± 0.88%) ~ 1.65s 1.69s p=0.622 n=6
Check Time 19.13s (± 0.23%) 19.15s (± 0.63%) ~ 19.01s 19.29s p=1.000 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.70s (± 0.24%) 24.72s (± 0.49%) ~ 24.56s 24.87s p=0.810 n=6
xstate-main - node (v18.15.0, x64)
Errors 30 30 ~ ~ ~ p=1.000 n=6
Symbols 690,397 697,389 +6,992 (+ 1.01%) ~ ~ p=0.001 n=6
Types 208,790 211,183 +2,393 (+ 1.15%) ~ ~ p=0.001 n=6
Memory used 586,184k (± 0.02%) 590,023k (± 0.02%) +3,840k (+ 0.66%) 589,896k 590,226k p=0.005 n=6
Parse Time 4.17s (± 0.69%) 4.18s (± 0.62%) ~ 4.14s 4.21s p=0.418 n=6
Bind Time 1.40s (± 1.14%) 1.41s (± 1.67%) ~ 1.37s 1.43s p=0.503 n=6
Check Time 20.57s (± 1.97%) 20.80s (± 1.80%) ~ 20.38s 21.16s p=0.127 n=6
Emit Time 0.00s 0.00s (±244.70%) ~ 0.00s 0.01s p=0.405 n=6
Total Time 26.14s (± 1.61%) 26.38s (± 1.38%) ~ 25.94s 26.73s p=0.092 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 avatar Nov 29 '25 14:11 typescript-bot

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

Everything looks good!

typescript-bot avatar Nov 29 '25 15:11 typescript-bot