Skip to content

Fix tslib resolutions #58451

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 2 commits into from
May 7, 2024
Merged

Fix tslib resolutions #58451

merged 2 commits into from
May 7, 2024

Conversation

andrewbranch
Copy link
Member

Fixes #57688
Also discovered and fixed #58450 in the process

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels May 6, 2024
@andrewbranch andrewbranch requested a review from rbuckton May 6, 2024 21:39
@DanielRosenwasser
Copy link
Member

idk which perf tests use tslib, but

@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented May 6, 2024

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

Command Status Results
perf test this ✅ Started 👀 Results

@jakebailey
Copy link
Member

I'm not sure any of them do, actually...

@andrewbranch
Copy link
Member Author

@typescript-bot test top400

@typescript-bot
Copy link
Collaborator

typescript-bot commented May 6, 2024

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

Command Status Results
test top400 ✅ Started ✅ Results

@typescript-bot
Copy link
Collaborator

@DanielRosenwasser
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 30 30 ~ ~ ~ p=1.000 n=6
Symbols 62,154 62,154 ~ ~ ~ p=1.000 n=6
Types 50,273 50,273 ~ ~ ~ p=1.000 n=6
Memory used 194,019k (± 1.02%) 192,792k (± 0.76%) ~ 192,152k 195,777k p=0.298 n=6
Parse Time 1.55s (± 1.90%) 1.57s (± 0.77%) ~ 1.55s 1.58s p=0.286 n=6
Bind Time 0.87s (± 0.97%) 0.86s (± 1.36%) ~ 0.85s 0.88s p=0.547 n=6
Check Time 11.27s (± 0.35%) 11.29s (± 0.22%) ~ 11.26s 11.33s p=0.520 n=6
Emit Time 3.16s (± 0.58%) 3.14s (± 0.55%) ~ 3.11s 3.16s p=0.119 n=6
Total Time 16.84s (± 0.18%) 16.85s (± 0.24%) ~ 16.79s 16.90s p=0.627 n=6
angular-1 - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 945,322 945,322 ~ ~ ~ p=1.000 n=6
Types 408,110 408,110 ~ ~ ~ p=1.000 n=6
Memory used 1,222,784k (± 0.00%) 1,222,849k (± 0.01%) ~ 1,222,769k 1,222,907k p=0.093 n=6
Parse Time 8.07s (± 0.53%) 8.12s (± 0.74%) ~ 8.07s 8.20s p=0.170 n=6
Bind Time 2.24s (± 0.62%) 2.24s (± 0.46%) ~ 2.23s 2.26s p=0.365 n=6
Check Time 36.67s (± 0.39%) 36.71s (± 0.55%) ~ 36.46s 37.04s p=0.748 n=6
Emit Time 17.43s (± 0.40%) 17.48s (± 0.27%) ~ 17.40s 17.54s p=0.146 n=6
Total Time 64.39s (± 0.31%) 64.56s (± 0.42%) ~ 64.26s 64.96s p=0.297 n=6
mui-docs - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 1,957,194 1,957,194 ~ ~ ~ p=1.000 n=6
Types 676,642 676,642 ~ ~ ~ p=1.000 n=6
Memory used 1,765,628k (± 0.00%) 1,765,614k (± 0.00%) ~ 1,765,536k 1,765,686k p=0.521 n=6
Parse Time 9.80s (± 0.26%) 9.76s (± 0.70%) ~ 9.68s 9.88s p=0.107 n=6
Bind Time 3.33s (± 0.74%) 3.35s (± 0.65%) ~ 3.32s 3.38s p=0.145 n=6
Check Time 81.27s (± 0.46%) 81.48s (± 0.42%) ~ 80.87s 81.72s p=0.296 n=6
Emit Time 0.20s 0.20s ~ ~ ~ p=1.000 n=6
Total Time 94.61s (± 0.41%) 94.79s (± 0.41%) ~ 94.09s 95.14s p=0.378 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,217,450 1,217,457 +7 (+ 0.00%) ~ ~ p=0.001 n=6
Types 259,040 259,046 +6 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,328,750k (± 0.03%) 2,328,129k (± 0.04%) ~ 2,327,585k 2,330,081k p=0.128 n=6
Parse Time 7.44s (± 0.78%) 7.50s (± 0.96%) ~ 7.39s 7.59s p=0.195 n=6
Bind Time 2.73s (± 0.33%) 2.73s (± 0.61%) ~ 2.71s 2.75s p=0.934 n=6
Check Time 48.65s (± 0.61%) 48.72s (± 0.36%) ~ 48.47s 48.96s p=0.378 n=6
Emit Time 3.87s (± 3.21%) 3.96s (± 4.06%) ~ 3.70s 4.20s p=0.298 n=6
Total Time 62.70s (± 0.63%) 62.92s (± 0.33%) ~ 62.58s 63.12s p=0.173 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,217,450 1,217,457 +7 (+ 0.00%) ~ ~ p=0.001 n=6
Types 259,040 259,046 +6 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,403,709k (± 0.04%) 2,404,149k (± 0.02%) ~ 2,403,591k 2,404,725k p=0.689 n=6
Parse Time 7.74s (± 1.32%) 7.74s (± 1.19%) ~ 7.67s 7.91s p=0.575 n=6
Bind Time 2.45s (± 0.54%) 2.46s (± 0.99%) ~ 2.43s 2.50s p=0.375 n=6
Check Time 49.38s (± 0.18%) 49.37s (± 0.18%) ~ 49.23s 49.49s p=0.873 n=6
Emit Time 3.85s (± 2.85%) 3.79s (± 1.56%) ~ 3.69s 3.86s p=0.229 n=6
Total Time 63.44s (± 0.27%) 63.37s (± 0.16%) ~ 63.23s 63.49s p=0.298 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 256,369 256,376 +7 (+ 0.00%) ~ ~ p=0.001 n=6
Types 104,483 104,489 +6 (+ 0.01%) ~ ~ p=0.001 n=6
Memory used 424,990k (± 0.00%) 424,987k (± 0.01%) ~ 424,962k 425,017k p=1.000 n=6
Parse Time 4.16s (± 0.75%) 4.15s (± 0.58%) ~ 4.11s 4.17s p=0.747 n=6
Bind Time 1.59s (± 1.32%) 1.58s (± 1.16%) ~ 1.55s 1.60s p=1.000 n=6
Check Time 21.90s (± 0.19%) 21.88s (± 0.28%) ~ 21.78s 21.96s p=0.421 n=6
Emit Time 1.73s (± 1.34%) 1.73s (± 1.43%) ~ 1.69s 1.76s p=0.808 n=6
Total Time 29.38s (± 0.20%) 29.34s (± 0.17%) ~ 29.25s 29.41s p=0.377 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 35 35 ~ ~ ~ p=1.000 n=6
Symbols 224,826 224,826 ~ ~ ~ p=1.000 n=6
Types 94,115 94,115 ~ ~ ~ p=1.000 n=6
Memory used 370,014k (± 0.04%) 370,048k (± 0.02%) ~ 369,926k 370,119k p=0.377 n=6
Parse Time 3.52s (± 0.50%) 3.51s (± 0.66%) ~ 3.48s 3.54s p=0.566 n=6
Bind Time 1.93s (± 1.11%) 1.94s (± 1.25%) ~ 1.91s 1.98s p=0.808 n=6
Check Time 19.31s (± 0.46%) 19.32s (± 0.56%) ~ 19.20s 19.50s p=1.000 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.76s (± 0.41%) 24.77s (± 0.48%) ~ 24.64s 24.98s p=0.936 n=6
vscode - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,807,082 2,807,082 ~ ~ ~ p=1.000 n=6
Types 952,919 952,919 ~ ~ ~ p=1.000 n=6
Memory used 2,978,795k (± 0.00%) 2,978,744k (± 0.00%) ~ 2,978,666k 2,978,968k p=0.575 n=6
Parse Time 11.45s (± 0.16%) 11.46s (± 0.17%) ~ 11.44s 11.48s p=0.684 n=6
Bind Time 3.43s (± 0.24%) 3.44s (± 0.22%) ~ 3.43s 3.45s p=0.120 n=6
Check Time 63.37s (± 2.50%) 63.59s (± 2.51%) ~ 62.50s 66.81s p=0.173 n=6
Emit Time 19.63s (± 6.90%) 19.77s (± 6.86%) ~ 17.01s 20.51s p=0.149 n=6
Total Time 97.89s (± 0.32%) 98.26s (± 0.32%) ~ 97.81s 98.73s p=0.065 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 265,864 265,864 ~ ~ ~ p=1.000 n=6
Types 108,449 108,449 ~ ~ ~ p=1.000 n=6
Memory used 410,463k (± 0.02%) 410,443k (± 0.01%) ~ 410,364k 410,492k p=0.936 n=6
Parse Time 4.78s (± 0.69%) 4.79s (± 0.63%) ~ 4.76s 4.83s p=0.808 n=6
Bind Time 2.07s (± 0.86%) 2.07s (± 0.61%) ~ 2.05s 2.08s p=0.934 n=6
Check Time 21.01s (± 0.27%) 20.99s (± 0.14%) ~ 20.95s 21.04s p=0.572 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 27.86s (± 0.25%) 27.86s (± 0.20%) ~ 27.76s 27.92s p=0.936 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 524,961 524,961 ~ ~ ~ p=1.000 n=6
Types 179,070 179,070 ~ ~ ~ p=1.000 n=6
Memory used 462,833k (± 0.02%) 462,870k (± 0.03%) ~ 462,763k 463,077k p=0.575 n=6
Parse Time 3.10s (± 0.87%) 3.10s (± 0.47%) ~ 3.08s 3.12s p=0.744 n=6
Bind Time 1.17s (± 0.90%) 1.17s (± 1.47%) ~ 1.15s 1.19s p=0.566 n=6
Check Time 18.17s (± 0.46%) 18.12s (± 0.47%) ~ 18.01s 18.21s p=0.471 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 22.43s (± 0.29%) 22.39s (± 0.30%) ~ 22.31s 22.48s p=0.228 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

tsserver

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-UnionsTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,296ms (± 0.60%) 2,288ms (± 0.68%) ~ 2,267ms 2,306ms p=0.296 n=6
Req 2 - geterr 5,126ms (± 0.50%) 5,136ms (± 0.50%) ~ 5,103ms 5,171ms p=0.688 n=6
Req 3 - references 283ms (± 0.39%) 285ms (± 1.09%) ~ 282ms 291ms p=0.112 n=6
Req 4 - navto 225ms (± 0.54%) 226ms (± 0.77%) ~ 224ms 229ms p=0.325 n=6
Req 5 - completionInfo count 1,357 1,357 ~ ~ ~ p=1.000 n=6
Req 5 - completionInfo 85ms (±10.30%) 80ms (± 8.19%) ~ 77ms 93ms p=0.282 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,439ms (± 0.30%) 2,421ms (± 0.62%) ~ 2,402ms 2,441ms p=0.093 n=6
Req 2 - geterr 3,832ms (± 0.25%) 3,833ms (± 0.12%) ~ 3,829ms 3,841ms p=0.748 n=6
Req 3 - references 295ms (± 0.28%) 295ms (± 0.33%) ~ 294ms 296ms p=0.273 n=6
Req 4 - navto 227ms (± 0.33%) 227ms ~ ~ ~ p=0.598 n=6
Req 5 - completionInfo count 1,519 1,519 ~ ~ ~ p=1.000 n=6
Req 5 - completionInfo 76ms (± 6.96%) 75ms (± 5.61%) ~ 72ms 83ms p=0.718 n=6
xstate-main-1-tsserver - node (v18.15.0, x64)
Req 1 - updateOpen 5,129ms (± 0.30%) 5,115ms (± 0.56%) ~ 5,087ms 5,160ms p=0.575 n=6
Req 2 - geterr 1,132ms (± 0.83%) 1,133ms (± 0.95%) ~ 1,122ms 1,152ms p=0.936 n=6
Req 3 - references 86ms (± 1.43%) 85ms (± 1.57%) ~ 83ms 86ms p=0.383 n=6
Req 4 - navto 450ms (± 1.50%) 450ms (± 0.65%) ~ 447ms 455ms p=0.326 n=6
Req 5 - completionInfo count 3,413 3,413 ~ ~ ~ p=1.000 n=6
Req 5 - completionInfo 846ms (± 1.04%) 848ms (± 1.62%) ~ 834ms 874ms p=1.000 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)
  • xstate-main-1-tsserver - 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 156.96ms (± 0.18%) 156.97ms (± 0.18%) ~ 155.89ms 160.90ms p=0.662 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 240.24ms (± 0.15%) 240.48ms (± 0.14%) +0.24ms (+ 0.10%) 239.10ms 246.79ms p=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 236.28ms (± 0.14%) 236.33ms (± 0.15%) ~ 234.68ms 240.53ms p=0.184 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 236.07ms (± 0.17%) 235.77ms (± 0.16%) -0.30ms (- 0.13%) 234.20ms 238.58ms p=0.000 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

@andrewbranch Here are the results of running the top 400 repos comparing main and refs/pull/58451/merge:

Everything looks good!

Copy link
Member

@sheetalkamat sheetalkamat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
@andrewbranch andrewbranch merged commit 14b4529 into microsoft:main May 7, 2024
28 checks passed
@andrewbranch andrewbranch deleted the bug/58325 branch May 7, 2024 18:28
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
None yet
5 participants