Skip to content

Preserve alias symbols on references to type aliases via imports - #51152

Merged
Wesley Wigham (weswigham) merged 3 commits into
microsoft:mainfrom
weswigham:preserve-alias-symbols-on-type-alias-references-more
Nov 18, 2022
Merged

Preserve alias symbols on references to type aliases via imports#51152
Wesley Wigham (weswigham) merged 3 commits into
microsoft:mainfrom
weswigham:preserve-alias-symbols-on-type-alias-references-more

Conversation

@weswigham

Copy link
Copy Markdown
Member

Fixes#51106

Technically, we could always use the alias we're referring to as the alias symbol saved for an alias lookup, but that could be a lot of new type identities, and by limiting it to only cases where the type reference refers to an import alias, we capture the cases where referring to exactly the symbol exported is particularly important for reusing the imports/names the user has made available.

@weswigham

Copy link
Copy Markdown
MemberAuthor

TypeScript Bot (@typescript-bot) perf test this

@typescript-bot

TypeScript Bot (typescript-bot) commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Heya Wesley Wigham (@weswigham), I've started to run the perf test suite on this PR at aa26036. You can monitor the build here.

Update: The results are in!

@typescript-bot

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham)
The results of the perf run you requested are in!

Here they are:

Compiler

Comparison Report - main..51152
Metricmain51152DeltaBestWorst
Angular - node (v18.10.0, x64)
Memory used352,840k (± 0.02%)352,835k (± 0.02%)-5k (- 0.00%)352,590k352,987k
Parse Time1.55s (± 0.32%)1.55s (± 0.58%)+0.00s (+ 0.00%)1.52s1.57s
Bind Time0.61s (± 0.77%)0.61s (± 0.73%)+0.00s (+ 0.33%)0.60s0.62s
Check Time4.40s (± 0.72%)4.39s (± 0.32%)-0.02s (- 0.36%)4.35s4.42s
Emit Time4.94s (± 0.67%)4.90s (± 0.46%)-0.04s (- 0.87%)4.85s4.94s
Total Time11.50s (± 0.57%)11.44s (± 0.28%)-0.06s (- 0.50%)11.39s11.51s
Compiler-Unions - node (v18.10.0, x64)
Memory used200,062k (± 0.84%)200,542k (± 0.63%)+480k (+ 0.24%)195,496k201,370k
Parse Time0.61s (± 0.78%)0.61s (± 0.98%)-0.00s (- 0.16%)0.60s0.62s
Bind Time0.36s (± 0.62%)0.36s (± 1.30%)+0.00s (+ 0.28%)0.35s0.37s
Check Time5.38s (± 0.41%)5.39s (± 0.69%)+0.02s (+ 0.35%)5.31s5.52s
Emit Time1.82s (± 0.80%)1.83s (± 1.04%)+0.00s (+ 0.22%)1.80s1.89s
Total Time8.17s (± 0.32%)8.19s (± 0.69%)+0.02s (+ 0.27%)8.10s8.40s
Monaco - node (v18.10.0, x64)
Memory used331,714k (± 0.02%)331,723k (± 0.01%)+9k (+ 0.00%)331,631k331,854k
Parse Time1.17s (± 0.51%)1.17s (± 0.92%)+0.01s (+ 0.52%)1.15s1.20s
Bind Time0.56s (± 1.00%)0.56s (± 0.84%)+0.00s (+ 0.36%)0.55s0.57s
Check Time4.29s (± 0.40%)4.29s (± 0.88%)+0.00s (+ 0.02%)4.21s4.36s
Emit Time2.61s (± 0.41%)2.63s (± 0.57%)+0.02s (+ 0.76%)2.59s2.67s
Total Time8.62s (± 0.31%)8.65s (± 0.48%)+0.03s (+ 0.32%)8.50s8.71s
TFS - node (v18.10.0, x64)
Memory used294,678k (± 0.01%)294,687k (± 0.03%)+9k (+ 0.00%)294,488k294,834k
Parse Time0.94s (± 0.78%)0.94s (± 0.92%)-0.00s (- 0.00%)0.92s0.96s
Bind Time0.59s (± 3.65%)0.56s (± 1.54%)🟩-0.03s (- 4.42%)0.55s0.58s
Check Time4.01s (± 0.55%)4.01s (± 0.50%)+0.01s (+ 0.12%)3.98s4.07s
Emit Time2.62s (± 0.54%)2.63s (± 0.93%)+0.01s (+ 0.23%)2.58s2.70s
Total Time8.15s (± 0.47%)8.14s (± 0.52%)-0.01s (- 0.17%)8.05s8.23s
material-ui - node (v18.10.0, x64)
Memory used439,978k (± 0.01%)439,960k (± 0.01%)-18k (- 0.00%)439,876k440,170k
Parse Time1.35s (± 0.59%)1.36s (± 1.63%)+0.01s (+ 1.04%)1.34s1.43s
Bind Time0.44s (± 0.82%)0.44s (± 1.31%)-0.00s (- 0.23%)0.43s0.46s
Check Time10.86s (± 0.56%)10.95s (± 0.64%)+0.09s (+ 0.84%)10.83s11.11s
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)0.00s ( NaN%)0.00s0.00s
Total Time12.65s (± 0.54%)12.76s (± 0.68%)+0.11s (+ 0.84%)12.62s12.91s
xstate - node (v18.10.0, x64)
Memory used556,574k (± 0.01%)556,758k (± 0.01%)+185k (+ 0.03%)556,628k556,949k
Parse Time1.92s (± 0.47%)1.91s (± 0.23%)-0.01s (- 0.36%)1.90s1.92s
Bind Time0.68s (± 1.95%)0.69s (± 1.83%)+0.01s (+ 1.17%)0.67s0.73s
Check Time1.10s (± 0.69%)1.11s (± 0.72%)+0.01s (+ 0.63%)1.09s1.13s
Emit Time0.06s (± 0.00%)0.06s (± 0.00%)0.00s ( 0.00%)0.06s0.06s
Total Time3.76s (± 0.33%)3.77s (± 0.45%)+0.01s (+ 0.19%)3.73s3.81s
Angular - node (v16.17.1, x64)
Memory used352,334k (± 0.02%)352,346k (± 0.01%)+12k (+ 0.00%)352,204k352,397k
Parse Time1.89s (± 0.46%)1.91s (± 1.05%)+0.02s (+ 1.06%)1.88s1.96s
Bind Time0.74s (± 0.78%)0.74s (± 0.46%)0.00s ( 0.00%)0.74s0.75s
Check Time5.69s (± 0.73%)5.67s (± 0.40%)-0.02s (- 0.37%)5.61s5.73s
Emit Time6.08s (± 0.66%)6.07s (± 0.52%)-0.01s (- 0.18%)5.99s6.13s
Total Time14.41s (± 0.57%)14.40s (± 0.42%)-0.02s (- 0.12%)14.21s14.48s
Compiler-Unions - node (v16.17.1, x64)
Memory used198,279k (± 0.57%)197,201k (± 0.11%)-1,078k (- 0.54%)196,332k197,415k
Parse Time0.79s (± 0.87%)0.79s (± 0.60%)+0.00s (+ 0.25%)0.78s0.80s
Bind Time0.45s (± 1.09%)0.45s (± 0.75%)-0.00s (- 0.22%)0.45s0.46s
Check Time6.50s (± 0.50%)6.50s (± 0.51%)+0.00s (+ 0.03%)6.44s6.59s
Emit Time2.31s (± 1.09%)2.32s (± 0.76%)+0.01s (+ 0.43%)2.28s2.35s
Total Time10.05s (± 0.50%)10.06s (± 0.45%)+0.02s (+ 0.15%)9.95s10.18s
Monaco - node (v16.17.1, x64)
Memory used331,133k (± 0.02%)331,133k (± 0.01%)-0k (- 0.00%)331,082k331,183k
Parse Time1.42s (± 0.37%)1.43s (± 0.48%)+0.00s (+ 0.35%)1.41s1.44s
Bind Time0.69s (± 0.86%)0.69s (± 0.49%)-0.00s (- 0.14%)0.69s0.70s
Check Time5.47s (± 0.55%)5.47s (± 0.47%)-0.01s (- 0.13%)5.43s5.53s
Emit Time3.26s (± 0.55%)3.25s (± 0.69%)-0.01s (- 0.25%)3.22s3.33s
Total Time10.85s (± 0.44%)10.84s (± 0.39%)-0.01s (- 0.05%)10.77s10.96s
TFS - node (v16.17.1, x64)
Memory used294,050k (± 0.02%)294,115k (± 0.01%)+65k (+ 0.02%)294,040k294,178k
Parse Time1.22s (± 1.53%)1.24s (± 1.75%)+0.02s (+ 1.31%)1.20s1.30s
Bind Time0.64s (± 0.97%)0.64s (± 0.62%)+0.00s (+ 0.31%)0.63s0.65s
Check Time5.12s (± 0.44%)5.13s (± 0.50%)+0.01s (+ 0.12%)5.07s5.18s
Emit Time3.47s (± 0.64%)3.48s (± 0.41%)+0.01s (+ 0.26%)3.45s3.52s
Total Time10.45s (± 0.42%)10.49s (± 0.39%)+0.04s (+ 0.35%)10.40s10.55s
material-ui - node (v16.17.1, x64)
Memory used439,350k (± 0.01%)439,308k (± 0.01%)-42k (- 0.01%)439,266k439,383k
Parse Time1.72s (± 1.24%)1.72s (± 1.53%)+0.00s (+ 0.17%)1.66s1.76s
Bind Time0.54s (± 0.69%)0.54s (± 0.83%)+0.00s (+ 0.56%)0.53s0.55s
Check Time12.52s (± 0.62%)12.60s (± 0.73%)+0.08s (+ 0.61%)12.43s12.83s
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)0.00s ( NaN%)0.00s0.00s
Total Time14.78s (± 0.53%)14.86s (± 0.59%)+0.08s (+ 0.52%)14.71s15.07s
xstate - node (v16.17.1, x64)
Memory used554,310k (± 0.02%)554,551k (± 0.01%)+241k (+ 0.04%)554,395k554,785k
Parse Time2.31s (± 0.28%)2.31s (± 0.41%)-0.00s (- 0.04%)2.29s2.34s
Bind Time0.89s (± 1.49%)0.89s (± 2.09%)+0.00s (+ 0.11%)0.87s0.94s
Check Time1.43s (± 0.92%)1.42s (± 0.80%)-0.01s (- 0.42%)1.39s1.44s
Emit Time0.07s (± 0.00%)0.07s (± 0.00%)0.00s ( 0.00%)0.07s0.07s
Total Time4.70s (± 0.23%)4.69s (± 0.19%)-0.00s (- 0.11%)4.67s4.71s
Angular - node (v14.15.1, x64)
Memory used346,620k (± 0.01%)346,526k (± 0.08%)-94k (- 0.03%)345,467k346,725k
Parse Time2.08s (± 1.31%)2.07s (± 1.16%)-0.01s (- 0.53%)2.03s2.14s
Bind Time0.80s (± 0.77%)0.80s (± 0.56%)-0.00s (- 0.37%)0.79s0.81s
Check Time5.99s (± 0.53%)6.02s (± 0.77%)+0.02s (+ 0.40%)5.94s6.18s
Emit Time6.33s (± 1.14%)6.36s (± 1.04%)+0.02s (+ 0.38%)6.22s6.49s
Total Time15.21s (± 0.60%)15.24s (± 0.62%)+0.04s (+ 0.25%)15.05s15.53s
Compiler-Unions - node (v14.15.1, x64)
Memory used190,802k (± 0.70%)190,251k (± 0.01%)-551k (- 0.29%)190,207k190,292k
Parse Time0.86s (± 0.88%)0.86s (± 0.77%)+0.00s (+ 0.47%)0.85s0.88s
Bind Time0.49s (± 0.96%)0.49s (± 0.68%)+0.00s (+ 0.00%)0.48s0.50s
Check Time6.80s (± 0.56%)6.76s (± 0.60%)-0.04s (- 0.66%)6.70s6.89s
Emit Time2.42s (± 0.78%)2.44s (± 0.53%)+0.02s (+ 0.78%)2.42s2.48s
Total Time10.57s (± 0.45%)10.55s (± 0.44%)-0.03s (- 0.24%)10.47s10.68s
Monaco - node (v14.15.1, x64)
Memory used326,600k (± 0.01%)326,588k (± 0.01%)-12k (- 0.00%)326,535k326,641k
Parse Time1.59s (± 0.75%)1.58s (± 0.74%)-0.01s (- 0.57%)1.56s1.62s
Bind Time0.73s (± 0.65%)0.73s (± 0.76%)-0.00s (- 0.14%)0.72s0.75s
Check Time5.78s (± 0.57%)5.74s (± 0.38%)-0.03s (- 0.55%)5.70s5.78s
Emit Time3.39s (± 0.79%)3.40s (± 0.60%)+0.01s (+ 0.30%)3.36s3.44s
Total Time11.48s (± 0.43%)11.45s (± 0.37%)-0.03s (- 0.25%)11.36s11.53s
TFS - node (v14.15.1, x64)
Memory used289,690k (± 0.01%)289,715k (± 0.01%)+25k (+ 0.01%)289,642k289,788k
Parse Time1.30s (± 0.63%)1.30s (± 0.73%)-0.00s (- 0.23%)1.28s1.32s
Bind Time0.80s (± 0.59%)0.80s (± 1.13%)-0.00s (- 0.25%)0.79s0.83s
Check Time5.41s (± 0.47%)5.40s (± 0.25%)-0.01s (- 0.20%)5.38s5.44s
Emit Time3.64s (± 0.84%)3.61s (± 0.59%)-0.03s (- 0.88%)3.56s3.67s
Total Time11.16s (± 0.33%)11.11s (± 0.26%)-0.04s (- 0.39%)11.05s11.18s
material-ui - node (v14.15.1, x64)
Memory used435,472k (± 0.01%)435,477k (± 0.01%)+5k (+ 0.00%)435,394k435,532k
Parse Time1.87s (± 0.48%)1.87s (± 0.47%)-0.00s (- 0.27%)1.85s1.89s
Bind Time0.58s (± 0.63%)0.58s (± 0.58%)-0.00s (- 0.34%)0.58s0.59s
Check Time12.90s (± 0.61%)12.91s (± 1.35%)+0.01s (+ 0.06%)12.75s13.59s
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)0.00s ( NaN%)0.00s0.00s
Total Time15.36s (± 0.55%)15.37s (± 1.14%)+0.00s (+ 0.02%)15.21s16.05s
xstate - node (v14.15.1, x64)
Memory used543,377k (± 0.01%)543,562k (± 0.00%)+185k (+ 0.03%)543,511k543,610k
Parse Time2.61s (± 0.56%)2.60s (± 0.33%)-0.01s (- 0.34%)2.59s2.63s
Bind Time0.99s (± 0.70%)0.99s (± 1.16%)+0.01s (+ 0.81%)0.97s1.01s
Check Time1.53s (± 0.61%)1.53s (± 0.46%)+0.00s (+ 0.20%)1.51s1.54s
Emit Time0.07s (± 0.00%)0.07s (± 3.14%)+0.00s (+ 1.43%)0.07s0.08s
Total Time5.20s (± 0.43%)5.20s (± 0.30%)-0.00s (- 0.04%)5.16s5.23s
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-126-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v18.10.0, x64)
  • node (v16.17.1, x64)
  • node (v14.15.1, x64)
Scenarios
  • Angular - node (v18.10.0, x64)
  • Angular - node (v16.17.1, x64)
  • Angular - node (v14.15.1, x64)
  • Compiler-Unions - node (v18.10.0, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Compiler-Unions - node (v14.15.1, x64)
  • Monaco - node (v18.10.0, x64)
  • Monaco - node (v16.17.1, x64)
  • Monaco - node (v14.15.1, x64)
  • TFS - node (v18.10.0, x64)
  • TFS - node (v16.17.1, x64)
  • TFS - node (v14.15.1, x64)
  • material-ui - node (v18.10.0, x64)
  • material-ui - node (v16.17.1, x64)
  • material-ui - node (v14.15.1, x64)
  • xstate - node (v18.10.0, x64)
  • xstate - node (v16.17.1, x64)
  • xstate - node (v14.15.1, x64)
BenchmarkNameIterations
Current5115210
Baselinemain10

TSServer

Comparison Report - main..51152
Metricmain51152DeltaBestWorst
Compiler-UnionsTSServer - node (v18.10.0, x64)
Req 1 - updateOpen1,066ms (± 0.48%)1,068ms (± 0.53%)+2ms (+ 0.20%)1,056ms1,081ms
Req 2 - geterr2,723ms (± 0.55%)2,724ms (± 0.67%)+1ms (+ 0.04%)2,687ms2,774ms
Req 3 - references192ms (± 1.48%)192ms (± 1.11%)+0ms (+ 0.05%)187ms196ms
Req 4 - navto145ms (± 1.23%)146ms (± 1.26%)+0ms (+ 0.14%)142ms151ms
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)0 ( 0.00%)1,3561,356
Req 5 - completionInfo44ms (± 1.86%)44ms (± 1.13%)-1ms (- 1.80%)43ms45ms
CompilerTSServer - node (v18.10.0, x64)
Req 1 - updateOpen1,134ms (± 0.73%)1,136ms (± 0.75%)+2ms (+ 0.19%)1,119ms1,165ms
Req 2 - geterr1,609ms (± 0.46%)1,621ms (± 0.68%)+12ms (+ 0.74%)1,594ms1,639ms
Req 3 - references198ms (± 0.93%)198ms (± 0.35%)-0ms (- 0.15%)196ms199ms
Req 4 - navto165ms (± 6.32%)160ms (± 1.52%)🟩-5ms (- 3.09%)156ms166ms
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)0 ( 0.00%)1,5181,518
Req 5 - completionInfo84ms (±11.88%)88ms (± 4.09%)+4ms (+ 4.64%)84ms102ms
xstateTSServer - node (v18.10.0, x64)
Req 1 - updateOpen1,614ms (± 0.55%)1,619ms (± 0.42%)+5ms (+ 0.33%)1,607ms1,639ms
Req 2 - geterr585ms (± 0.39%)587ms (± 0.38%)+3ms (+ 0.46%)583ms592ms
Req 3 - references54ms (± 1.88%)55ms (± 2.93%)+1ms (+ 2.43%)53ms61ms
Req 4 - navto202ms (± 0.74%)201ms (± 0.59%)-0ms (- 0.20%)200ms204ms
Req 5 - completionInfo count3,206 (± 0.00%)3,206 (± 0.00%)0 ( 0.00%)3,2063,206
Req 5 - completionInfo215ms (± 1.89%)210ms (± 2.38%)-5ms (- 2.14%)200ms222ms
Compiler-UnionsTSServer - node (v16.17.1, x64)
Req 1 - updateOpen1,327ms (± 0.51%)1,328ms (± 0.22%)+1ms (+ 0.08%)1,323ms1,336ms
Req 2 - geterr3,303ms (± 0.63%)3,346ms (± 1.52%)+43ms (+ 1.29%)3,275ms3,486ms
Req 3 - references222ms (± 1.20%)222ms (± 1.14%)-0ms (- 0.09%)218ms229ms
Req 4 - navto158ms (± 1.04%)156ms (± 0.55%)-2ms (- 1.08%)155ms158ms
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)0 ( 0.00%)1,3561,356
Req 5 - completionInfo68ms (±20.24%)65ms (±21.09%)🟩-4ms (- 5.43%)52ms96ms
CompilerTSServer - node (v16.17.1, x64)
Req 1 - updateOpen1,406ms (± 0.55%)1,406ms (± 0.58%)+1ms (+ 0.06%)1,395ms1,434ms
Req 2 - geterr2,117ms (± 0.55%)2,116ms (± 0.72%)-2ms (- 0.07%)2,093ms2,149ms
Req 3 - references232ms (± 0.60%)234ms (± 1.15%)+2ms (+ 0.86%)229ms239ms
Req 4 - navto169ms (± 0.83%)168ms (± 0.86%)-1ms (- 0.47%)165ms171ms
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)0 ( 0.00%)1,5181,518
Req 5 - completionInfo53ms (± 3.68%)52ms (± 1.97%)-1ms (- 1.52%)50ms54ms
xstateTSServer - node (v16.17.1, x64)
Req 1 - updateOpen1,927ms (± 0.52%)1,934ms (± 0.56%)+7ms (+ 0.38%)1,915ms1,959ms
Req 2 - geterr737ms (± 0.59%)744ms (± 0.40%)+6ms (+ 0.87%)736ms751ms
Req 3 - references61ms (± 1.45%)61ms (± 1.12%)-1ms (- 1.30%)60ms63ms
Req 4 - navto204ms (± 0.88%)204ms (± 0.48%)+0ms (+ 0.15%)202ms206ms
Req 5 - completionInfo count3,206 (± 0.00%)3,206 (± 0.00%)0 ( 0.00%)3,2063,206
Req 5 - completionInfo258ms (± 0.60%)259ms (± 1.01%)+1ms (+ 0.27%)255ms268ms
Compiler-UnionsTSServer - node (v14.15.1, x64)
Req 1 - updateOpen1,455ms (± 0.57%)1,450ms (± 0.31%)-5ms (- 0.35%)1,439ms1,459ms
Req 2 - geterr3,550ms (± 0.91%)3,533ms (± 0.44%)-17ms (- 0.48%)3,495ms3,565ms
Req 3 - references233ms (± 0.49%)232ms (± 0.55%)-1ms (- 0.39%)229ms236ms
Req 4 - navto171ms (± 0.60%)171ms (± 0.87%)+0ms (+ 0.23%)168ms174ms
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)0 ( 0.00%)1,3561,356
Req 5 - completionInfo59ms (± 6.06%)56ms (± 4.58%)🟩-3ms (- 5.41%)54ms66ms
CompilerTSServer - node (v14.15.1, x64)
Req 1 - updateOpen1,524ms (± 0.44%)1,531ms (± 0.86%)+7ms (+ 0.45%)1,509ms1,563ms
Req 2 - geterr2,334ms (± 0.54%)2,328ms (± 0.45%)-6ms (- 0.27%)2,311ms2,363ms
Req 3 - references245ms (± 0.47%)244ms (± 0.39%)-1ms (- 0.24%)243ms246ms
Req 4 - navto181ms (± 0.45%)181ms (± 0.62%)-0ms (- 0.06%)178ms184ms
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)0 ( 0.00%)1,5181,518
Req 5 - completionInfo55ms (± 1.35%)55ms (± 1.10%)-1ms (- 1.45%)54ms56ms
xstateTSServer - node (v14.15.1, x64)
Req 1 - updateOpen2,149ms (± 0.64%)2,147ms (± 0.49%)-2ms (- 0.11%)2,125ms2,173ms
Req 2 - geterr767ms (± 0.47%)775ms (± 0.57%)+8ms (+ 1.10%)764ms786ms
Req 3 - references68ms (± 2.84%)64ms (± 1.56%)🟩-3ms (- 4.59%)63ms68ms
Req 4 - navto228ms (± 0.87%)228ms (± 0.70%)-0ms (- 0.09%)225ms232ms
Req 5 - completionInfo count3,206 (± 0.00%)3,206 (± 0.00%)0 ( 0.00%)3,2063,206
Req 5 - completionInfo273ms (± 1.53%)276ms (± 0.91%)+4ms (+ 1.28%)269ms282ms
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-126-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v18.10.0, x64)
  • node (v16.17.1, x64)
  • node (v14.15.1, x64)
Scenarios
  • Compiler-UnionsTSServer - node (v18.10.0, x64)
  • Compiler-UnionsTSServer - node (v16.17.1, x64)
  • Compiler-UnionsTSServer - node (v14.15.1, x64)
  • CompilerTSServer - node (v18.10.0, x64)
  • CompilerTSServer - node (v16.17.1, x64)
  • CompilerTSServer - node (v14.15.1, x64)
  • xstateTSServer - node (v18.10.0, x64)
  • xstateTSServer - node (v16.17.1, x64)
  • xstateTSServer - node (v14.15.1, x64)
BenchmarkNameIterations
Current5115210
Baselinemain10

Developer Information:

Download Benchmark

@weswigham

Copy link
Copy Markdown
MemberAuthor

Perf looks good (sometimes unreasonably so - looking at you TFS), so this looks like a pretty good approach to the problem.

TypeScript Bot (@typescript-bot) test top100
TypeScript Bot (@typescript-bot) user test this
TypeScript Bot (@typescript-bot) test this

@typescript-bot

TypeScript Bot (typescript-bot) commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Heya Wesley Wigham (@weswigham), I've started to run the diff-based top-repos suite on this PR at bcdac1a. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Heya Wesley Wigham (@weswigham), I've started to run the extended test suite on this PR at bcdac1a. You can monitor the build here.

@typescript-bot

TypeScript Bot (typescript-bot) commented Oct 12, 2022

Copy link
Copy Markdown
Contributor

Heya Wesley Wigham (@weswigham), I've started to run the diff-based user code test suite on this PR at bcdac1a. You can monitor the build here.

Update: The results are in!

@typescript-bot

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are the results of running the user test suite comparing main and refs/pull/51152/merge:

Everything looks good!

@typescript-bot

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are the results of running the top-repos suite comparing main and refs/pull/51152/merge:

Something interesting changed - please have a look.

Details

microsoft/vscode

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

src/tsconfig.json

src/tsconfig.tsec.json

@sandersn

Copy link
Copy Markdown
Member

@typescript-bot

TypeScript Bot (typescript-bot) commented Oct 27, 2022

Copy link
Copy Markdown
Contributor

Heya Nathan Shively-Sanders (@sandersn), I've started to run the parallelized Definitely Typed test suite on this PR at bcdac1a. You can monitor the build here.

@sandersn

Copy link
Copy Markdown
Member

Looks good; I started a DT run because something that increases the number of type identities sometimes fails there.

@weswigham

Copy link
Copy Markdown
MemberAuthor

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 18, 2022

Copy link
Copy Markdown
Contributor

Heya Wesley Wigham (@weswigham), I've started to run the parallelized Definitely Typed test suite on this PR at ce91909. You can monitor the build here.

@sandersn

Copy link
Copy Markdown
Member

Breaks 2 DT packages (lambda-tester, mparticle__web-sdk), in a way I can't understand yet. I'll open a bug.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Milestone BugPRs that fix a bug with a specific milestone

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

some types compile to a massive conditional type that causes performance issues

4 participants

@weswigham@typescript-bot@sandersn@andrewbranch