Skip to content

Report unreachable on enums #58380

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 11 commits into from
Aug 15, 2024
Merged

Report unreachable on enums #58380

merged 11 commits into from
Aug 15, 2024

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Apr 30, 2024

Fixes #58379

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Apr 30, 2024
@jakebailey
Copy link
Member Author

@typescript-bot test it
@typescript-bot pack this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 30, 2024

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
pack this ✅ Started ✅ Results

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 30, 2024

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/161578/artifacts?artifactName=tgz&fileId=D3F40B62AD78B59BAB96414F0AECB3FB65A5F0751FF60600BA61828C96046C3F02&fileName=/typescript-5.5.0-insiders.20240430.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.5.0-pr-58380-2".;

@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 comparing main and refs/pull/58380/merge:

Everything looks good!

@jakebailey jakebailey marked this pull request as draft May 1, 2024 00:10
@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 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 192,817k (± 0.80%) 192,187k (± 0.02%) ~ 192,131k 192,229k p=0.936 n=6
Parse Time 1.29s (± 1.58%) 1.29s (± 1.03%) ~ 1.27s 1.31s p=0.934 n=6
Bind Time 0.72s 0.72s ~ ~ ~ p=1.000 n=6
Check Time 9.53s (± 0.21%) 9.53s (± 0.40%) ~ 9.50s 9.60s p=0.462 n=6
Emit Time 2.64s (± 0.24%) 2.64s (± 0.44%) ~ 2.62s 2.65s p=1.000 n=6
Total Time 14.18s (± 0.17%) 14.17s (± 0.31%) ~ 14.12s 14.24s 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,088 408,088 ~ ~ ~ p=1.000 n=6
Memory used 1,222,797k (± 0.00%) 1,222,816k (± 0.00%) ~ 1,222,772k 1,222,860k p=0.575 n=6
Parse Time 6.77s (± 0.30%) 6.78s (± 0.34%) ~ 6.74s 6.81s p=0.560 n=6
Bind Time 1.87s (± 0.71%) 1.88s (± 0.65%) ~ 1.86s 1.89s p=0.652 n=6
Check Time 31.32s (± 0.36%) 31.27s (± 0.20%) ~ 31.19s 31.36s p=0.520 n=6
Emit Time 14.64s (± 0.90%) 14.66s (± 0.88%) ~ 14.41s 14.78s p=1.000 n=6
Total Time 54.59s (± 0.20%) 54.58s (± 0.20%) ~ 54.37s 54.68s p=0.936 n=6
mui-docs - node (v18.15.0, x64)
Errors 5 5 ~ ~ ~ p=1.000 n=6
Symbols 1,956,164 1,956,164 ~ ~ ~ p=1.000 n=6
Types 676,919 676,919 ~ ~ ~ p=1.000 n=6
Memory used 1,757,740k (± 0.00%) 1,757,749k (± 0.00%) ~ 1,757,714k 1,757,783k p=0.689 n=6
Parse Time 6.71s (± 0.29%) 6.71s (± 0.30%) ~ 6.69s 6.74s p=0.806 n=6
Bind Time 2.31s (± 0.52%) 2.30s (± 0.71%) ~ 2.28s 2.32s p=0.265 n=6
Check Time 56.11s (± 0.43%) 56.01s (± 0.52%) ~ 55.51s 56.32s p=0.630 n=6
Emit Time 0.13s (± 3.10%) 0.13s (± 3.10%) ~ 0.13s 0.14s p=1.000 n=6
Total Time 65.26s (± 0.38%) 65.16s (± 0.46%) ~ 64.64s 65.46s p=0.630 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,217,124 1,217,124 ~ ~ ~ p=1.000 n=6
Types 258,216 258,217 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,327,099k (± 0.03%) 2,327,118k (± 0.03%) ~ 2,326,301k 2,328,071k p=1.000 n=6
Parse Time 4.99s (± 0.83%) 4.92s (± 1.02%) ~ 4.85s 5.00s p=0.064 n=6
Bind Time 1.86s (± 0.81%) 1.88s (± 1.42%) ~ 1.85s 1.92s p=0.402 n=6
Check Time 33.44s (± 0.26%) 33.35s (± 0.41%) ~ 33.13s 33.55s p=0.297 n=6
Emit Time 2.59s (± 1.91%) 2.58s (± 1.82%) ~ 2.52s 2.63s p=0.810 n=6
Total Time 42.90s (± 0.36%) 42.74s (± 0.35%) ~ 42.46s 42.87s p=0.199 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,217,124 1,217,124 ~ ~ ~ p=1.000 n=6
Types 258,216 258,217 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,401,607k (± 0.02%) 2,401,581k (± 0.01%) ~ 2,400,983k 2,401,876k p=1.000 n=6
Parse Time 6.14s (± 0.42%) 6.16s (± 0.60%) ~ 6.13s 6.21s p=0.470 n=6
Bind Time 2.04s (± 1.23%) 2.02s (± 1.93%) ~ 1.97s 2.07s p=0.572 n=6
Check Time 40.00s (± 0.20%) 40.07s (± 0.19%) ~ 39.95s 40.19s p=0.378 n=6
Emit Time 3.14s (± 0.94%) 3.15s (± 0.95%) ~ 3.12s 3.19s p=1.000 n=6
Total Time 51.32s (± 0.18%) 51.41s (± 0.19%) ~ 51.24s 51.50s p=0.093 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 256,229 256,229 ~ ~ ~ p=1.000 n=6
Types 103,713 103,714 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 424,282k (± 0.01%) 424,282k (± 0.01%) ~ 424,258k 424,327k p=0.936 n=6
Parse Time 3.35s (± 0.49%) 3.34s (± 0.65%) ~ 3.31s 3.37s p=0.465 n=6
Bind Time 1.30s (± 0.58%) 1.30s (± 0.31%) ~ 1.30s 1.31s p=0.389 n=6
Check Time 17.69s (± 0.38%) 17.69s (± 0.32%) ~ 17.63s 17.80s p=0.570 n=6
Emit Time 1.36s (± 1.18%) 1.36s (± 1.91%) ~ 1.31s 1.39s p=0.934 n=6
Total Time 23.69s (± 0.29%) 23.69s (± 0.34%) ~ 23.62s 23.84s p=0.470 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 35 35 ~ ~ ~ p=1.000 n=6
Symbols 224,824 224,824 ~ ~ ~ p=1.000 n=6
Types 93,390 93,390 ~ ~ ~ p=1.000 n=6
Memory used 369,300k (± 0.00%) 369,296k (± 0.01%) ~ 369,252k 369,339k p=0.936 n=6
Parse Time 3.51s (± 0.63%) 3.53s (± 1.01%) ~ 3.47s 3.58s p=0.223 n=6
Bind Time 1.94s (± 1.10%) 1.95s (± 1.35%) ~ 1.92s 1.98s p=0.807 n=6
Check Time 19.35s (± 0.28%) 19.34s (± 0.20%) ~ 19.31s 19.39s p=0.746 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.79s (± 0.23%) 24.82s (± 0.18%) ~ 24.78s 24.89s p=0.573 n=6
vscode - node (v18.15.0, x64)
Errors 4 4 ~ ~ ~ p=1.000 n=6
Symbols 2,799,582 2,799,582 ~ ~ ~ p=1.000 n=6
Types 950,968 950,968 ~ ~ ~ p=1.000 n=6
Memory used 2,928,376k (± 0.01%) 2,928,361k (± 0.01%) ~ 2,927,844k 2,928,483k p=0.748 n=6
Parse Time 13.30s (± 0.26%) 13.33s (± 0.44%) ~ 13.27s 13.42s p=0.421 n=6
Bind Time 4.20s (± 2.39%) 4.26s (± 1.99%) ~ 4.09s 4.31s p=0.372 n=6
Check Time 72.81s (± 0.22%) 72.92s (± 0.52%) ~ 72.53s 73.57s p=1.000 n=6
Emit Time 20.08s (± 4.32%) 19.95s (± 3.66%) ~ 19.44s 21.42s p=0.688 n=6
Total Time 110.40s (± 0.89%) 110.46s (± 0.74%) ~ 109.54s 111.91s p=1.000 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 265,858 265,858 ~ ~ ~ p=1.000 n=6
Types 108,442 108,442 ~ ~ ~ p=1.000 n=6
Memory used 410,415k (± 0.01%) 410,457k (± 0.02%) ~ 410,367k 410,558k p=0.336 n=6
Parse Time 4.75s (± 0.42%) 4.78s (± 0.51%) ~ 4.75s 4.81s p=0.124 n=6
Bind Time 2.05s (± 0.51%) 2.04s (± 0.80%) ~ 2.02s 2.06s p=0.250 n=6
Check Time 20.92s (± 0.46%) 20.96s (± 0.29%) ~ 20.89s 21.04s p=0.378 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 27.73s (± 0.37%) 27.78s (± 0.22%) ~ 27.70s 27.87s p=0.469 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 524,146 524,146 ~ ~ ~ p=1.000 n=6
Types 178,732 178,732 ~ ~ ~ p=1.000 n=6
Memory used 462,182k (± 0.02%) 462,239k (± 0.02%) ~ 462,086k 462,334k p=0.378 n=6
Parse Time 3.90s (± 0.44%) 3.89s (± 0.66%) ~ 3.86s 3.92s p=0.517 n=6
Bind Time 1.46s (± 1.41%) 1.47s (± 1.65%) ~ 1.45s 1.51s p=1.000 n=6
Check Time 22.52s (± 0.56%) 22.46s (± 0.77%) ~ 22.21s 22.75s p=0.261 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 27.88s (± 0.42%) 27.81s (± 0.57%) ~ 27.64s 28.11s p=0.297 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 comparing main and refs/pull/58380/merge:

Everything looks good!

Copy link
Member

@DanielRosenwasser DanielRosenwasser left a comment

Choose a reason for hiding this comment

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

Not a great error span but it's fine.

@jakebailey
Copy link
Member Author

Yeah, this isn't quite done; classes get a better message here.

@typescript-bot typescript-bot added For Milestone Bug PRs that fix a bug with a specific milestone and removed For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Aug 14, 2024
@jakebailey
Copy link
Member Author

I'm actually confused what I meant by "classes have a better message"; I updated the test and it seems like they're identical.

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
@jakebailey jakebailey marked this pull request as ready for review August 14, 2024 22:33
@jakebailey
Copy link
Member Author

Oh, #58380 (comment) wasn't fixed by this.

@jakebailey jakebailey marked this pull request as draft August 14, 2024 22:36
@jakebailey jakebailey marked this pull request as ready for review August 14, 2024 23:46
@@ -33,7 +33,6 @@ verify.codeFixAll({
type T = number;
interface I {}
const enum E {}
enum EE {}
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a new behavior change; we're now saying that this enum exists at runtime and are removing it, which I believe to be correct.

@jakebailey
Copy link
Member Author

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 15, 2024

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/58380/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 30 30 ~ ~ ~ p=1.000 n=6
Symbols 62,153 62,153 ~ ~ ~ p=1.000 n=6
Types 50,242 50,242 ~ ~ ~ p=1.000 n=6
Memory used 193,628k (± 0.94%) 193,681k (± 0.90%) ~ 192,397k 195,938k p=0.810 n=6
Parse Time 1.31s (± 0.79%) 1.30s (± 0.69%) ~ 1.29s 1.31s p=0.273 n=6
Bind Time 0.71s (± 0.57%) 0.71s ~ ~ ~ p=0.405 n=6
Check Time 9.57s (± 0.23%) 9.57s (± 0.34%) ~ 9.52s 9.62s p=0.935 n=6
Emit Time 2.72s (± 1.74%) 2.74s (± 0.55%) ~ 2.73s 2.77s p=0.331 n=6
Total Time 14.30s (± 0.33%) 14.32s (± 0.24%) ~ 14.28s 14.38s p=0.520 n=6
angular-1 - node (v18.15.0, x64)
Errors 7 7 ~ ~ ~ p=1.000 n=6
Symbols 945,757 945,757 ~ ~ ~ p=1.000 n=6
Types 410,067 410,067 ~ ~ ~ p=1.000 n=6
Memory used 1,222,550k (± 0.00%) 1,222,553k (± 0.00%) ~ 1,222,493k 1,222,614k p=1.000 n=6
Parse Time 6.67s (± 0.48%) 6.66s (± 0.28%) ~ 6.64s 6.68s p=0.685 n=6
Bind Time 1.86s (± 0.48%) 1.86s (± 0.22%) ~ 1.85s 1.86s p=0.787 n=6
Check Time 31.06s (± 0.25%) 31.03s (± 0.34%) ~ 30.87s 31.19s p=0.470 n=6
Emit Time 14.97s (± 0.43%) 15.01s (± 0.33%) ~ 14.95s 15.09s p=0.470 n=6
Total Time 54.56s (± 0.23%) 54.55s (± 0.20%) ~ 54.40s 54.72s p=1.000 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,491,186 2,491,186 ~ ~ ~ p=1.000 n=6
Types 1,006,422 1,006,422 ~ ~ ~ p=1.000 n=6
Memory used 2,366,063k (± 0.00%) 2,366,151k (± 0.00%) +88k (+ 0.00%) 2,366,091k 2,366,247k p=0.013 n=6
Parse Time 9.26s (± 0.33%) 9.24s (± 0.46%) ~ 9.19s 9.30s p=0.747 n=6
Bind Time 2.18s (± 0.24%) 2.18s (± 0.34%) ~ 2.17s 2.19s p=0.241 n=6
Check Time 74.80s (± 0.43%) 74.68s (± 0.28%) ~ 74.46s 75.03s p=0.423 n=6
Emit Time 0.29s (± 1.92%) 0.28s (± 1.47%) ~ 0.27s 0.28s p=0.054 n=6
Total Time 86.52s (± 0.33%) 86.38s (± 0.28%) ~ 86.11s 86.77s p=0.470 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,231,260 1,231,263 +3 (+ 0.00%) ~ ~ p=0.001 n=6
Types 264,286 264,287 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,352,445k (± 0.03%) 2,352,483k (± 0.01%) ~ 2,352,086k 2,352,886k p=0.810 n=6
Parse Time 4.98s (± 0.38%) 4.99s (± 0.87%) ~ 4.94s 5.04s p=0.378 n=6
Bind Time 1.89s (± 1.23%) 1.90s (± 0.43%) ~ 1.89s 1.91s p=0.869 n=6
Check Time 34.76s (± 0.39%) 34.66s (± 0.32%) ~ 34.55s 34.87s p=0.128 n=6
Emit Time 3.35s (± 0.84%) 3.35s (± 0.51%) ~ 3.33s 3.37s p=0.572 n=6
Total Time 45.00s (± 0.32%) 44.92s (± 0.32%) ~ 44.78s 45.19s p=0.298 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,231,260 1,231,263 +3 (+ 0.00%) ~ ~ p=0.001 n=6
Types 264,286 264,287 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,426,596k (± 0.04%) 2,426,397k (± 0.02%) ~ 2,425,932k 2,426,994k p=0.810 n=6
Parse Time 6.19s (± 0.93%) 6.23s (± 0.85%) ~ 6.14s 6.30s p=0.378 n=6
Bind Time 2.02s (± 1.23%) 2.03s (± 1.06%) ~ 2.01s 2.07s p=0.421 n=6
Check Time 41.37s (± 0.52%) 41.60s (± 0.51%) ~ 41.21s 41.78s p=0.109 n=6
Emit Time 4.16s (± 4.72%) 4.07s (± 0.98%) ~ 4.03s 4.14s p=1.000 n=6
Total Time 53.74s (± 0.49%) 53.96s (± 0.48%) ~ 53.49s 54.21s p=0.128 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 256,901 256,904 +3 (+ 0.00%) ~ ~ p=0.001 n=6
Types 105,593 105,594 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 429,189k (± 0.02%) 429,247k (± 0.02%) ~ 429,136k 429,387k p=0.298 n=6
Parse Time 3.37s (± 0.41%) 3.35s (± 0.22%) -0.02s (- 0.50%) 3.34s 3.36s p=0.025 n=6
Bind Time 1.30s (± 1.59%) 1.30s (± 1.13%) ~ 1.28s 1.32s p=0.625 n=6
Check Time 18.12s (± 0.69%) 18.12s (± 0.44%) ~ 18.04s 18.24s p=1.000 n=6
Emit Time 1.66s (± 1.50%) 1.66s (± 2.17%) ~ 1.62s 1.72s p=0.872 n=6
Total Time 24.44s (± 0.40%) 24.42s (± 0.37%) ~ 24.28s 24.52s p=0.936 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 35 35 ~ ~ ~ p=1.000 n=6
Symbols 225,018 225,018 ~ ~ ~ p=1.000 n=6
Types 94,245 94,245 ~ ~ ~ p=1.000 n=6
Memory used 370,185k (± 0.02%) 370,121k (± 0.03%) ~ 370,022k 370,316k p=0.093 n=6
Parse Time 2.78s (± 0.92%) 2.75s (± 0.58%) -0.03s (- 1.08%) 2.73s 2.77s p=0.040 n=6
Bind Time 1.57s (± 0.53%) 1.56s (± 0.52%) ~ 1.56s 1.58s p=0.485 n=6
Check Time 15.72s (± 0.43%) 15.72s (± 0.33%) ~ 15.66s 15.78s p=0.748 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 20.06s (± 0.35%) 20.03s (± 0.23%) ~ 19.98s 20.10s p=0.375 n=6
vscode - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 3,003,257 3,003,257 ~ ~ ~ p=1.000 n=6
Types 1,034,525 1,034,525 ~ ~ ~ p=1.000 n=6
Memory used 3,127,554k (± 0.00%) 3,127,524k (± 0.00%) ~ 3,127,443k 3,127,624k p=0.378 n=6
Parse Time 17.14s (± 0.34%) 17.16s (± 0.20%) ~ 17.13s 17.23s p=0.687 n=6
Bind Time 5.25s (± 0.76%) 5.24s (± 0.31%) ~ 5.21s 5.25s p=0.869 n=6
Check Time 97.06s (± 0.37%) 96.72s (± 0.45%) ~ 96.23s 97.38s p=0.173 n=6
Emit Time 24.95s (± 0.38%) 24.85s (± 0.37%) ~ 24.72s 24.95s p=0.108 n=6
Total Time 144.40s (± 0.26%) 143.97s (± 0.32%) ~ 143.39s 144.63s p=0.173 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 274,423 274,423 ~ ~ ~ p=1.000 n=6
Types 111,858 111,858 ~ ~ ~ p=1.000 n=6
Memory used 420,931k (± 0.04%) 420,947k (± 0.04%) ~ 420,805k 421,215k p=0.689 n=6
Parse Time 3.93s (± 0.41%) 3.93s (± 0.43%) ~ 3.91s 3.95s p=0.805 n=6
Bind Time 1.73s (± 0.48%) 1.72s (± 0.73%) ~ 1.70s 1.74s p=0.445 n=6
Check Time 17.21s (± 0.32%) 17.23s (± 0.48%) ~ 17.16s 17.38s p=0.520 n=6
Emit Time 0.00s (±244.70%) 0.00s ~ ~ ~ p=0.405 n=6
Total Time 22.86s (± 0.23%) 22.89s (± 0.38%) ~ 22.80s 23.03s p=0.936 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 533,930 533,930 ~ ~ ~ p=1.000 n=6
Types 176,102 176,102 ~ ~ ~ p=1.000 n=6
Memory used 479,213k (± 0.01%) 479,224k (± 0.01%) ~ 479,164k 479,295k p=0.936 n=6
Parse Time 4.26s (± 0.51%) 4.25s (± 0.44%) ~ 4.22s 4.27s p=0.329 n=6
Bind Time 1.55s (± 0.63%) 1.54s (± 2.31%) ~ 1.48s 1.58s p=0.507 n=6
Check Time 22.32s (± 0.42%) 22.33s (± 0.34%) ~ 22.18s 22.39s p=1.000 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 28.12s (± 0.32%) 28.12s (± 0.37%) ~ 27.93s 28.21s p=1.000 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/58380/merge:

Everything looks good!

@jakebailey jakebailey merged commit 3ed2e8e into microsoft:main Aug 15, 2024
32 checks passed
@jakebailey jakebailey deleted the fix-58379 branch August 15, 2024 05:34
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
Development

Successfully merging this pull request may close these issues.

Missing reachability error on non-const enum
4 participants