Skip to content
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

Fixed an issue with for statement's incrementor missing continue's control flow information #60950

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andarist
Copy link
Contributor

fixes #60945

@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Jan 11, 2025
@jakebailey
Copy link
Member

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jan 11, 2025

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

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

@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 user tests with tsc comparing main and refs/pull/60950/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

@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 34 34 ~ ~ ~ p=1.000 n=6
Symbols 62,390 62,390 ~ ~ ~ p=1.000 n=6
Types 50,395 50,395 ~ ~ ~ p=1.000 n=6
Memory used 193,117k (± 0.01%) 194,337k (± 0.97%) ~ 193,102k 196,769k p=0.295 n=6
Parse Time 1.31s (± 0.92%) 1.31s (± 0.31%) ~ 1.30s 1.31s p=0.116 n=6
Bind Time 0.73s 0.73s ~ ~ ~ p=1.000 n=6
Check Time 9.76s (± 0.27%) 9.78s (± 0.35%) ~ 9.74s 9.83s p=0.468 n=6
Emit Time 2.74s (± 0.44%) 2.72s (± 0.46%) ~ 2.70s 2.73s p=0.067 n=6
Total Time 14.54s (± 0.32%) 14.54s (± 0.26%) ~ 14.50s 14.60s p=0.807 n=6
angular-1 - node (v18.15.0, x64)
Errors 37 37 ~ ~ ~ p=1.000 n=6
Symbols 947,969 947,970 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Types 410,955 410,956 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 1,225,681k (± 0.01%) 1,225,668k (± 0.00%) ~ 1,225,612k 1,225,766k p=0.575 n=6
Parse Time 6.67s (± 0.78%) 6.62s (± 0.85%) ~ 6.55s 6.71s p=0.091 n=6
Bind Time 1.90s 1.88s (± 0.48%) -0.02s (- 1.05%) 1.87s 1.89s p=0.003 n=6
Check Time 31.95s (± 0.37%) 31.96s (± 0.28%) ~ 31.89s 32.14s p=0.423 n=6
Emit Time 15.19s (± 0.30%) 15.16s (± 0.73%) ~ 14.93s 15.21s p=0.936 n=6
Total Time 55.71s (± 0.26%) 55.61s (± 0.13%) ~ 55.51s 55.74s p=0.261 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,446,693 2,446,693 ~ ~ ~ p=1.000 n=6
Types 897,118 897,118 ~ ~ ~ p=1.000 n=6
Memory used 2,310,898k (± 0.00%) 2,310,932k (± 0.00%) ~ 2,310,832k 2,311,032k p=0.471 n=6
Parse Time 10.78s (± 0.51%) 10.78s (± 0.30%) ~ 10.75s 10.84s p=0.809 n=6
Bind Time 2.51s (± 0.82%) 2.54s (± 0.80%) +0.02s (+ 0.99%) 2.52s 2.56s p=0.040 n=6
Check Time 88.39s (± 1.53%) 88.19s (± 1.27%) ~ 87.17s 90.29s p=0.936 n=6
Emit Time 0.35s (± 4.76%) 0.35s (± 2.14%) ~ 0.34s 0.36s p=0.357 n=6
Total Time 102.04s (± 1.34%) 101.86s (± 1.10%) ~ 100.85s 103.95s p=0.810 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,228,377 1,228,378 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Types 266,839 266,839 ~ ~ ~ p=1.000 n=6
Memory used 2,360,055k (± 0.02%) 2,359,834k (± 0.02%) ~ 2,359,176k 2,360,475k p=0.378 n=6
Parse Time 5.15s (± 0.72%) 5.22s (± 1.05%) ~ 5.12s 5.28s p=0.065 n=6
Bind Time 1.78s (± 0.66%) 1.77s (± 0.83%) ~ 1.75s 1.79s p=0.137 n=6
Check Time 35.23s (± 0.51%) 35.25s (± 0.42%) ~ 35.09s 35.44s p=1.000 n=6
Emit Time 2.98s (± 0.76%) 3.01s (± 1.07%) ~ 2.98s 3.07s p=0.063 n=6
Total Time 45.16s (± 0.42%) 45.24s (± 0.30%) ~ 45.09s 45.39s p=0.575 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,228,377 1,228,378 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Types 266,839 266,839 ~ ~ ~ p=1.000 n=6
Memory used 2,914,862k (±12.83%) 2,672,938k (±14.02%) ~ 2,430,387k 3,157,261k p=0.298 n=6
Parse Time 6.91s (± 1.32%) 6.85s (± 1.62%) ~ 6.73s 6.99s p=0.378 n=6
Bind Time 2.13s (± 1.80%) 2.15s (± 1.65%) ~ 2.11s 2.20s p=0.196 n=6
Check Time 42.68s (± 0.41%) 42.62s (± 0.45%) ~ 42.39s 42.91s p=0.689 n=6
Emit Time 3.50s (± 3.23%) 3.46s (± 3.56%) ~ 3.38s 3.71s p=0.689 n=6
Total Time 55.21s (± 0.61%) 55.08s (± 0.49%) ~ 54.72s 55.42s p=0.471 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 262,624 262,625 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Types 106,695 106,695 ~ ~ ~ p=1.000 n=6
Memory used 440,574k (± 0.01%) 440,587k (± 0.02%) ~ 440,482k 440,659k p=0.575 n=6
Parse Time 2.87s (± 0.52%) 2.88s (± 0.78%) ~ 2.86s 2.91s p=0.622 n=6
Bind Time 1.11s (± 0.37%) 1.11s ~ ~ ~ p=0.405 n=6
Check Time 15.79s (± 0.46%) 15.75s (± 0.32%) ~ 15.69s 15.83s p=0.198 n=6
Emit Time 1.31s (± 1.12%) 1.30s (± 1.75%) ~ 1.26s 1.33s p=0.437 n=6
Total Time 21.08s (± 0.33%) 21.03s (± 0.27%) ~ 20.99s 21.14s p=0.147 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 70 70 ~ ~ ~ p=1.000 n=6
Symbols 226,095 226,095 ~ ~ ~ p=1.000 n=6
Types 94,488 94,488 ~ ~ ~ p=1.000 n=6
Memory used 371,740k (± 0.02%) 371,708k (± 0.04%) ~ 371,573k 371,949k p=0.378 n=6
Parse Time 3.60s (± 0.46%) 3.59s (± 0.83%) ~ 3.55s 3.64s p=0.366 n=6
Bind Time 1.98s (± 0.53%) 2.00s (± 1.91%) ~ 1.95s 2.06s p=0.221 n=6
Check Time 20.46s (± 0.40%) 20.43s (± 0.40%) ~ 20.34s 20.54s p=0.629 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 26.03s (± 0.34%) 26.02s (± 0.42%) ~ 25.87s 26.12s p=1.000 n=6
vscode - node (v18.15.0, x64)
Errors 3 3 ~ ~ ~ p=1.000 n=6
Symbols 3,238,377 3,238,377 ~ ~ ~ p=1.000 n=6
Types 1,115,332 1,115,332 ~ ~ ~ p=1.000 n=6
Memory used 3,306,218k (± 0.01%) 3,306,419k (± 0.01%) ~ 3,305,855k 3,306,866k p=0.471 n=6
Parse Time 14.14s (± 0.29%) 14.12s (± 0.57%) ~ 14.02s 14.24s p=0.630 n=6
Bind Time 4.64s (± 2.72%) 4.55s (± 0.36%) ~ 4.53s 4.57s p=0.250 n=6
Check Time 89.27s (± 2.40%) 88.28s (± 1.96%) ~ 87.15s 91.72s p=0.298 n=6
Emit Time 28.23s (± 3.06%) 27.36s (± 8.04%) ~ 23.19s 29.24s p=0.936 n=6
Total Time 136.28s (± 1.67%) 134.32s (± 0.96%) ~ 133.22s 136.07s p=0.128 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 291,595 291,595 ~ ~ ~ p=1.000 n=6
Types 118,971 118,971 ~ ~ ~ p=1.000 n=6
Memory used 445,417k (± 0.01%) 445,401k (± 0.03%) ~ 445,252k 445,636k p=0.689 n=6
Parse Time 4.10s (± 0.57%) 4.11s (± 1.03%) ~ 4.07s 4.17s p=0.871 n=6
Bind Time 1.78s (± 0.77%) 1.78s (± 1.73%) ~ 1.73s 1.81s p=0.565 n=6
Check Time 18.82s (± 0.34%) 18.84s (± 0.22%) ~ 18.79s 18.90s p=0.422 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.71s (± 0.22%) 24.73s (± 0.32%) ~ 24.67s 24.88s p=1.000 n=6
xstate-main - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 555,050 555,050 ~ ~ ~ p=1.000 n=6
Types 186,115 186,115 ~ ~ ~ p=1.000 n=6
Memory used 494,020k (± 0.01%) 494,043k (± 0.00%) ~ 494,001k 494,072k p=0.378 n=6
Parse Time 3.42s (± 0.61%) 3.43s (± 0.48%) ~ 3.40s 3.44s p=0.744 n=6
Bind Time 1.18s (± 0.44%) 1.18s (± 1.48%) ~ 1.15s 1.20s p=0.437 n=6
Check Time 19.56s (± 0.40%) 19.58s (± 0.25%) ~ 19.52s 19.64s p=0.462 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.17s (± 0.38%) 24.19s (± 0.20%) ~ 24.13s 24.24s p=0.147 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
Copy link
Collaborator

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

Everything looks good!

@andrewbranch andrewbranch self-assigned this Jan 16, 2025
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.

This feels right, but @andrewbranch you self assigned so I assume you wanted to look?

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
Status: Needs merge
Development

Successfully merging this pull request may close these issues.

Evolving any ignores branches before a 'continue'
4 participants