Skip to content

Conversation

Zzzen
Copy link
Contributor

@Zzzen Zzzen commented Jul 15, 2023

Fixes #50355

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Jul 15, 2023
@sandersn sandersn requested review from weswigham and jakebailey July 28, 2023 23:54
@jakebailey jakebailey self-requested a review August 17, 2023 17:21
@jakebailey
Copy link
Member

@typescript-bot test top100
@typescript-bot user test this
@typescript-bot run dt
@typescript-bot perf test this faster

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 17, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 17, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 17, 2023

Heya @jakebailey, I've started to run the tsc-only perf test suite on this PR at b1728a1. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 17, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

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

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Unknown failure"
  • 1 instance of "Package install failed"

Otherwise...

Something interesting changed - please have a look.

Details

rxjs-src

/mnt/ts_downloads/rxjs-src/build.sh

  • [NEW] error TS2428: All declarations of 'WeakMap' must have identical type parameters.
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-55030/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
  • [MISSING] error TS2428: All declarations of 'WeakMap' must have identical type parameters.
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.collection.d.ts(62,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-main/lib/lib.es2015.symbol.wellknown.d.ts(140,11)

@typescript-bot
Copy link
Collaborator

@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 (v16.17.1, x64)
Memory used 300,378k (± 0.01%) 300,346k (± 0.01%) -33k (- 0.01%) 300,329k 300,376k p=0.030 n=6
Parse Time 3.02s (± 0.36%) 3.02s (± 0.45%) ~ 3.00s 3.04s p=0.504 n=6
Bind Time 0.93s (± 0.44%) 0.93s (± 0.00%) ~ 0.93s 0.93s p=0.405 n=6
Check Time 9.49s (± 0.35%) 9.49s (± 0.30%) ~ 9.46s 9.54s p=0.748 n=6
Emit Time 7.62s (± 0.41%) 7.63s (± 0.16%) ~ 7.61s 7.64s p=0.869 n=6
Total Time 21.06s (± 0.34%) 21.07s (± 0.16%) ~ 21.04s 21.12s p=0.809 n=6
Compiler-Unions - node (v16.17.1, x64)
Memory used 193,876k (± 0.01%) 193,892k (± 0.01%) ~ 193,876k 193,901k p=0.149 n=6
Parse Time 1.57s (± 1.45%) 1.57s (± 0.78%) ~ 1.55s 1.58s p=0.930 n=6
Bind Time 0.79s (± 0.00%) 0.79s (± 0.00%) ~ 0.79s 0.79s p=1.000 n=6
Check Time 9.95s (± 0.25%) 9.91s (± 0.26%) ~ 9.87s 9.94s p=0.053 n=6
Emit Time 2.75s (± 0.44%) 2.74s (± 0.23%) ~ 2.73s 2.75s p=0.344 n=6
Total Time 15.05s (± 0.26%) 15.02s (± 0.21%) ~ 14.98s 15.06s p=0.167 n=6
Monaco - node (v16.17.1, x64)
Memory used 347,119k (± 0.00%) 347,119k (± 0.01%) ~ 347,077k 347,138k p=0.422 n=6
Parse Time 2.68s (± 0.44%) 2.69s (± 0.30%) ~ 2.68s 2.70s p=0.401 n=6
Bind Time 0.99s (± 0.00%) 0.99s (± 0.41%) ~ 0.99s 1.00s p=0.405 n=6
Check Time 7.92s (± 0.29%) 7.92s (± 0.40%) ~ 7.86s 7.95s p=0.871 n=6
Emit Time 4.26s (± 0.38%) 4.27s (± 0.50%) ~ 4.24s 4.30s p=0.370 n=6
Total Time 15.85s (± 0.21%) 15.86s (± 0.30%) ~ 15.77s 15.90s p=0.465 n=6
TFS - node (v16.17.1, x64)
Memory used 301,132k (± 0.01%) 301,131k (± 0.01%) ~ 301,110k 301,151k p=1.000 n=6
Parse Time 2.18s (± 0.63%) 2.19s (± 0.45%) ~ 2.18s 2.20s p=0.082 n=6
Bind Time 1.08s (± 5.97%) 1.11s (± 0.00%) ~ 1.11s 1.11s p=0.295 n=6
Check Time 7.24s (± 0.46%) 7.26s (± 0.40%) ~ 7.21s 7.29s p=0.376 n=6
Emit Time 3.97s (± 0.29%) 3.97s (± 0.19%) ~ 3.96s 3.98s p=0.933 n=6
Total Time 14.47s (± 0.45%) 14.53s (± 0.13%) ~ 14.50s 14.55s p=0.121 n=6
material-ui - node (v16.17.1, x64)
Memory used 479,420k (± 0.01%) 479,464k (± 0.01%) ~ 479,359k 479,529k p=0.230 n=6
Parse Time 3.15s (± 0.00%) 3.15s (± 0.13%) ~ 3.15s 3.16s p=0.405 n=6
Bind Time 0.91s (± 0.45%) 0.91s (± 0.00%) ~ 0.91s 0.91s p=0.405 n=6
Check Time 17.92s (± 0.32%) 17.99s (± 0.36%) ~ 17.92s 18.10s p=0.149 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 21.98s (± 0.26%) 22.05s (± 0.28%) ~ 21.98s 22.16s p=0.106 n=6
xstate - node (v16.17.1, x64)
Memory used 542,808k (± 0.01%) 542,830k (± 0.01%) ~ 542,779k 542,934k p=0.298 n=6
Parse Time 3.70s (± 0.20%) 3.69s (± 0.33%) ~ 3.68s 3.71s p=0.388 n=6
Bind Time 1.42s (± 4.38%) 1.34s (± 0.39%) 🟩-0.08s (- 5.87%) 1.33s 1.34s p=0.021 n=6
Check Time 3.22s (± 3.21%) 3.34s (± 0.83%) ~ 3.31s 3.38s p=0.090 n=6
Emit Time 0.08s (± 0.00%) 0.08s (± 4.99%) ~ 0.08s 0.09s p=0.405 n=6
Total Time 8.42s (± 0.52%) 8.45s (± 0.31%) ~ 8.43s 8.50s p=0.054 n=6
System info unknown
Hosts
  • node (v16.17.1, x64)
Scenarios
  • Angular - node (v16.17.1, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Monaco - node (v16.17.1, x64)
  • TFS - node (v16.17.1, x64)
  • material-ui - node (v16.17.1, x64)
  • xstate - node (v16.17.1, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

@typescript-bot
Copy link
Collaborator

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

Everything looks good!

@typescript-bot
Copy link
Collaborator

Hey @jakebailey, it looks like the DT test run failed. Please check the log for more details.
You can check the log here.

@jakebailey
Copy link
Member

sigh

@typescript-bot run dt

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 17, 2023

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

Update: The results are in!

@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.

Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

LGTM now, but @weswigham may be able to poke holes.

@jakebailey jakebailey merged commit c5f92d4 into microsoft:main Aug 29, 2023
snovader pushed a commit to EG-A-S/TypeScript that referenced this pull request Sep 23, 2023
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
Archived in project
Development

Successfully merging this pull request may close these issues.

Calling setter on variant accessors with function using type parameter errors
3 participants