Skip to content

Fixed symbol lookup for binding expando properties in blocks #56552

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 1 commit into from
Nov 29, 2023

Conversation

Andarist
Copy link
Contributor

fixes #56538

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Nov 26, 2023
@jakebailey
Copy link
Member

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

@typescript-bot perf test this
@typescript-bot pack this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 27, 2023

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 27, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 27, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 27, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 27, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Nov 27, 2023

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/158814/artifacts?artifactName=tgz&fileId=9749F92E321D6BE78278F6D8D85D3E042CCC71D6CE55A59166636027602775F502&fileName=/typescript-5.4.0-insiders.20231127.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-56552-6".;

@typescript-bot
Copy link
Collaborator

@jakebailey Here are the results of running the user test suite comparing main and refs/pull/56552/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

@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,177k (± 0.00%) 295,177k (± 0.01%) ~ 295,135k 295,234k p=0.810 n=6
Parse Time 2.65s (± 0.21%) 2.65s (± 0.34%) ~ 2.64s 2.66s p=0.341 n=6
Bind Time 0.82s (± 0.50%) 0.82s (± 0.00%) ~ 0.82s 0.82s p=0.405 n=6
Check Time 8.04s (± 0.24%) 8.04s (± 0.20%) ~ 8.02s 8.06s p=0.934 n=6
Emit Time 7.08s (± 0.36%) 7.08s (± 0.19%) ~ 7.06s 7.10s p=0.870 n=6
Total Time 18.59s (± 0.16%) 18.59s (± 0.10%) ~ 18.56s 18.62s p=0.868 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used 193,660k (± 1.68%) 195,562k (± 1.22%) ~ 190,678k 196,701k p=0.689 n=6
Parse Time 1.35s (± 0.81%) 1.36s (± 1.14%) ~ 1.35s 1.38s p=0.179 n=6
Bind Time 0.72s (± 0.00%) 0.72s (± 0.00%) ~ 0.72s 0.72s p=1.000 n=6
Check Time 9.18s (± 0.36%) 9.19s (± 0.60%) ~ 9.10s 9.25s p=0.747 n=6
Emit Time 2.62s (± 0.54%) 2.61s (± 1.10%) ~ 2.56s 2.64s p=1.000 n=6
Total Time 13.88s (± 0.21%) 13.88s (± 0.49%) ~ 13.77s 13.95s p=0.686 n=6
Monaco - node (v18.15.0, x64)
Memory used 347,357k (± 0.01%) 347,363k (± 0.00%) ~ 347,348k 347,380k p=0.378 n=6
Parse Time 2.44s (± 0.62%) 2.47s (± 0.49%) +0.02s (+ 0.95%) 2.45s 2.48s p=0.029 n=6
Bind Time 0.92s (± 0.44%) 0.93s (± 0.56%) ~ 0.92s 0.93s p=0.112 n=6
Check Time 6.92s (± 0.35%) 6.91s (± 0.56%) ~ 6.85s 6.96s p=0.466 n=6
Emit Time 4.05s (± 0.27%) 4.04s (± 0.41%) ~ 4.02s 4.07s p=0.228 n=6
Total Time 14.34s (± 0.16%) 14.35s (± 0.29%) ~ 14.29s 14.40s p=0.872 n=6
TFS - node (v18.15.0, x64)
Memory used 302,641k (± 0.00%) 302,644k (± 0.01%) ~ 302,624k 302,717k p=0.230 n=6
Parse Time 2.00s (± 0.73%) 2.00s (± 0.66%) ~ 1.99s 2.02s p=0.737 n=6
Bind Time 1.00s (± 1.09%) 1.01s (± 0.81%) ~ 1.00s 1.02s p=0.197 n=6
Check Time 6.27s (± 0.39%) 6.28s (± 0.42%) ~ 6.26s 6.33s p=0.193 n=6
Emit Time 3.58s (± 0.29%) 3.60s (± 0.46%) +0.02s (+ 0.56%) 3.57s 3.62s p=0.042 n=6
Total Time 12.84s (± 0.30%) 12.88s (± 0.22%) ~ 12.84s 12.93s p=0.225 n=6
material-ui - node (v18.15.0, x64)
Memory used 470,604k (± 0.02%) 470,593k (± 0.00%) ~ 470,573k 470,631k p=0.936 n=6
Parse Time 2.57s (± 0.45%) 2.57s (± 0.68%) ~ 2.55s 2.60s p=0.511 n=6
Bind Time 0.98s (± 0.56%) 1.00s (± 0.82%) +0.01s (+ 1.18%) 0.99s 1.01s p=0.025 n=6
Check Time 16.75s (± 0.28%) 16.79s (± 0.24%) ~ 16.74s 16.83s p=0.120 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.30s (± 0.30%) 20.36s (± 0.30%) ~ 20.27s 20.44s p=0.077 n=6
xstate - node (v18.15.0, x64)
Memory used 511,926k (± 0.02%) 511,986k (± 0.01%) ~ 511,932k 512,056k p=0.230 n=6
Parse Time 3.27s (± 0.16%) 3.27s (± 0.39%) ~ 3.26s 3.29s p=0.931 n=6
Bind Time 1.54s (± 0.41%) 1.55s (± 0.53%) ~ 1.54s 1.56s p=0.177 n=6
Check Time 2.80s (± 0.74%) 2.81s (± 1.09%) ~ 2.77s 2.86s p=0.747 n=6
Emit Time 0.08s (± 4.99%) 0.08s (± 0.00%) ~ 0.08s 0.08s p=0.405 n=6
Total Time 7.68s (± 0.32%) 7.69s (± 0.40%) ~ 7.66s 7.75s p=0.572 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,357ms (± 0.24%) 2,357ms (± 0.76%) ~ 2,332ms 2,380ms p=0.470 n=6
Req 2 - geterr 5,397ms (± 1.40%) 5,376ms (± 1.40%) ~ 5,323ms 5,497ms p=0.873 n=6
Req 3 - references 327ms (± 1.21%) 326ms (± 0.63%) ~ 324ms 329ms p=0.871 n=6
Req 4 - navto 278ms (± 0.95%) 278ms (± 1.06%) ~ 273ms 280ms p=1.000 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 (± 6.00%) 84ms (± 6.09%) ~ 79ms 90ms p=0.498 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,472ms (± 0.99%) 2,488ms (± 1.50%) ~ 2,450ms 2,553ms p=0.748 n=6
Req 2 - geterr 4,090ms (± 1.96%) 4,070ms (± 1.79%) ~ 4,020ms 4,170ms p=0.809 n=6
Req 3 - references 340ms (± 1.62%) 341ms (± 1.57%) ~ 334ms 345ms p=0.744 n=6
Req 4 - navto 283ms (± 0.37%) 284ms (± 0.18%) ~ 283ms 284ms p=0.051 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 83ms (± 7.38%) 85ms (± 6.93%) ~ 77ms 90ms p=0.505 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen 2,592ms (± 0.46%) 2,585ms (± 0.66%) ~ 2,563ms 2,603ms p=0.630 n=6
Req 2 - geterr 1,656ms (± 1.48%) 1,659ms (± 1.92%) ~ 1,623ms 1,697ms p=1.000 n=6
Req 3 - references 105ms (± 4.67%) 112ms (± 8.68%) ~ 101ms 124ms p=0.334 n=6
Req 4 - navto 366ms (± 0.33%) 367ms (± 0.50%) ~ 364ms 369ms p=0.256 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 308ms (± 1.03%) 305ms (± 2.07%) ~ 296ms 314ms p=0.376 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.78ms (± 0.21%) 152.74ms (± 0.21%) ~ 151.59ms 156.40ms p=0.106 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time 228.13ms (± 0.15%) 227.92ms (± 0.14%) -0.21ms (- 0.09%) 226.71ms 230.61ms p=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time 229.60ms (± 0.17%) 229.72ms (± 0.20%) +0.12ms (+ 0.05%) 227.94ms 236.24ms p=0.048 n=600
typescript-startup - node (v18.15.0, x64)
Execution time 229.16ms (± 0.17%) 229.17ms (± 0.18%) ~ 227.57ms 232.64ms p=0.844 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 @jakebailey, the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@typescript-bot
Copy link
Collaborator

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

Everything looks good!

@weswigham weswigham merged commit e551325 into microsoft:main Nov 29, 2023
@Andarist Andarist deleted the fix/expando-block-shadowing branch September 2, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Member mistakenly attached to expando function
4 participants