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

Set parents of augmented module exports #59609

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

andrewbranch
Copy link
Member

Fixes #58907
Alternative to #59582 and #58965

@andrewbranch
Copy link
Member Author

@typescript-bot test it

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 12, 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 @andrewbranch, the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-bot
Copy link
Collaborator

@andrewbranch Here are the results of running the user tests with tsc comparing main and refs/pull/59609/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

@andrewbranch
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 192,408k (± 0.09%) 193,598k (± 0.93%) ~ 192,312k 195,944k p=0.230 n=6
Parse Time 1.31s (± 0.39%) 1.30s (± 0.42%) ~ 1.30s 1.31s p=0.640 n=6
Bind Time 0.71s 0.71s ~ ~ ~ p=1.000 n=6
Check Time 9.54s (± 0.31%) 9.53s (± 0.51%) ~ 9.47s 9.60s p=0.809 n=6
Emit Time 2.74s (± 1.02%) 2.73s (± 0.46%) ~ 2.71s 2.74s p=0.622 n=6
Total Time 14.29s (± 0.31%) 14.28s (± 0.36%) ~ 14.22s 14.35s p=0.568 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,045 410,045 ~ ~ ~ p=1.000 n=6
Memory used 1,222,557k (± 0.00%) 1,222,546k (± 0.00%) ~ 1,222,502k 1,222,603k p=0.810 n=6
Parse Time 6.66s (± 0.50%) 6.63s (± 0.25%) ~ 6.61s 6.65s p=0.259 n=6
Bind Time 1.87s (± 0.29%) 1.86s (± 0.65%) ~ 1.84s 1.87s p=0.855 n=6
Check Time 31.09s (± 0.31%) 31.14s (± 0.10%) ~ 31.11s 31.18s p=0.146 n=6
Emit Time 14.95s (± 0.23%) 14.94s (± 0.71%) ~ 14.80s 15.12s p=0.629 n=6
Total Time 54.56s (± 0.16%) 54.58s (± 0.22%) ~ 54.37s 54.74s p=0.748 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,491,074 2,491,074 ~ ~ ~ p=1.000 n=6
Types 1,013,347 1,013,347 ~ ~ ~ p=1.000 n=6
Memory used 2,498,032k (± 0.00%) 2,498,030k (± 0.00%) ~ 2,497,961k 2,498,062k p=0.936 n=6
Parse Time 9.27s (± 0.44%) 9.26s (± 0.32%) ~ 9.21s 9.29s p=0.571 n=6
Bind Time 2.18s (± 0.54%) 2.18s (± 0.37%) ~ 2.17s 2.19s p=0.498 n=6
Check Time 75.85s (± 0.21%) 75.82s (± 0.65%) ~ 75.24s 76.44s p=0.936 n=6
Emit Time 0.28s (± 3.53%) 0.28s (± 3.91%) ~ 0.27s 0.30s p=0.865 n=6
Total Time 87.58s (± 0.18%) 87.53s (± 0.58%) ~ 86.96s 88.14s p=1.000 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,229,669 1,229,671 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Types 264,082 264,082 ~ ~ ~ p=1.000 n=6
Memory used 2,349,979k (± 0.03%) 2,349,788k (± 0.02%) ~ 2,349,155k 2,350,772k p=0.936 n=6
Parse Time 4.94s (± 0.44%) 5.00s (± 0.79%) +0.06s (+ 1.15%) 4.96s 5.06s p=0.025 n=6
Bind Time 1.89s (± 0.85%) 1.88s (± 0.55%) ~ 1.86s 1.89s p=0.138 n=6
Check Time 34.56s (± 0.33%) 34.62s (± 0.23%) ~ 34.53s 34.76s p=0.521 n=6
Emit Time 3.30s (± 1.59%) 3.32s (± 0.62%) ~ 3.29s 3.35s p=0.630 n=6
Total Time 44.72s (± 0.22%) 44.85s (± 0.15%) +0.13s (+ 0.30%) 44.75s 44.92s p=0.025 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,229,669 1,229,671 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Types 264,082 264,082 ~ ~ ~ p=1.000 n=6
Memory used 2,423,711k (± 0.02%) 2,424,240k (± 0.03%) ~ 2,423,424k 2,425,634k p=0.378 n=6
Parse Time 6.20s (± 0.84%) 6.20s (± 0.42%) ~ 6.17s 6.24s p=0.748 n=6
Bind Time 2.02s (± 0.68%) 2.02s (± 1.47%) ~ 1.99s 2.07s p=0.936 n=6
Check Time 41.09s (± 0.44%) 41.25s (± 0.68%) ~ 40.94s 41.65s p=0.298 n=6
Emit Time 4.00s (± 0.89%) 4.09s (± 4.10%) ~ 3.85s 4.31s p=0.336 n=6
Total Time 53.33s (± 0.43%) 53.55s (± 0.69%) ~ 52.97s 54.03s p=0.230 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 256,825 256,827 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Types 105,580 105,580 ~ ~ ~ p=1.000 n=6
Memory used 429,009k (± 0.01%) 429,180k (± 0.04%) +171k (+ 0.04%) 429,002k 429,513k p=0.031 n=6
Parse Time 3.37s (± 0.56%) 3.37s (± 0.67%) ~ 3.33s 3.40s p=0.935 n=6
Bind Time 1.30s (± 1.58%) 1.31s (± 1.65%) ~ 1.27s 1.33s p=0.737 n=6
Check Time 18.04s (± 0.27%) 18.04s (± 0.45%) ~ 17.94s 18.13s p=0.936 n=6
Emit Time 1.66s (± 0.51%) 1.65s (± 1.80%) ~ 1.62s 1.70s p=0.681 n=6
Total Time 24.36s (± 0.09%) 24.37s (± 0.30%) ~ 24.29s 24.47s p=1.000 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,215k (± 0.02%) 370,211k (± 0.02%) ~ 370,141k 370,293k p=0.810 n=6
Parse Time 3.43s (± 0.43%) 3.43s (± 0.60%) ~ 3.41s 3.46s p=0.935 n=6
Bind Time 1.92s (± 0.77%) 1.92s (± 1.11%) ~ 1.90s 1.95s p=0.744 n=6
Check Time 19.41s (± 0.34%) 19.41s (± 0.50%) ~ 19.32s 19.59s p=1.000 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.77s (± 0.29%) 24.76s (± 0.38%) ~ 24.63s 24.90s p=1.000 n=6
vscode - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,999,114 2,999,114 ~ ~ ~ p=1.000 n=6
Types 1,033,196 1,033,196 ~ ~ ~ p=1.000 n=6
Memory used 3,124,366k (± 0.00%) 3,124,341k (± 0.00%) ~ 3,124,259k 3,124,421k p=0.936 n=6
Parse Time 13.74s (± 0.28%) 13.70s (± 0.16%) ~ 13.68s 13.73s p=0.061 n=6
Bind Time 4.26s (± 0.38%) 4.27s (± 2.02%) ~ 4.22s 4.45s p=0.290 n=6
Check Time 78.83s (± 0.23%) 78.96s (± 0.37%) ~ 78.70s 79.33s p=0.575 n=6
Emit Time 20.19s (± 0.62%) 20.29s (± 0.39%) ~ 20.21s 20.38s p=0.172 n=6
Total Time 117.02s (± 0.24%) 117.22s (± 0.24%) ~ 116.93s 117.66s p=0.230 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 274,227 274,227 ~ ~ ~ p=1.000 n=6
Types 111,803 111,803 ~ ~ ~ p=1.000 n=6
Memory used 420,538k (± 0.03%) 420,503k (± 0.04%) ~ 420,325k 420,716k p=0.810 n=6
Parse Time 3.92s (± 0.38%) 3.95s (± 0.76%) ~ 3.91s 3.98s p=0.192 n=6
Bind Time 1.73s (± 0.32%) 1.72s (± 0.48%) ~ 1.72s 1.74s p=0.855 n=6
Check Time 17.15s (± 0.20%) 17.13s (± 0.65%) ~ 16.94s 17.28s p=0.873 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 22.79s (± 0.15%) 22.80s (± 0.51%) ~ 22.59s 22.91s p=0.628 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 540,779 540,779 ~ ~ ~ p=1.000 n=6
Types 177,884 177,884 ~ ~ ~ p=1.000 n=6
Memory used 483,249k (± 0.01%) 483,284k (± 0.01%) ~ 483,212k 483,371k p=0.298 n=6
Parse Time 4.26s (± 0.80%) 4.23s (± 0.59%) ~ 4.20s 4.26s p=0.199 n=6
Bind Time 1.54s (± 0.53%) 1.54s (± 0.88%) ~ 1.52s 1.56s p=0.720 n=6
Check Time 22.36s (± 0.35%) 22.39s (± 0.25%) ~ 22.32s 22.47s p=0.288 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 28.16s (± 0.30%) 28.17s (± 0.24%) ~ 28.09s 28.23s p=0.936 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

@iisaduan
Copy link
Member

iisaduan commented Aug 12, 2024

Perf tests seem similar to what happened in the other version (that just copied the unmerged symbol) #58965 (comment)

@typescript-bot
Copy link
Collaborator

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

Everything looks good!

@andrewbranch andrewbranch marked this pull request as ready for review August 13, 2024 20:53
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

I like this change better than #59582 because it fixes the problem closer to its source, even though it's riskier. But I wonder whether problem has an even earlier source, to do with parents of symbols from export lists.

@@ -2683,7 +2683,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
}
if (source.exports) {
if (!target.exports) target.exports = createSymbolTable();
mergeSymbolTable(target.exports, source.exports, unidirectional);
mergeSymbolTable(target.exports, source.exports, unidirectional, target);
Copy link
Member

Choose a reason for hiding this comment

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

do the symbols in target.exports already have parent set to target?

source.forEach((sourceSymbol, id) => {
const targetSymbol = target.get(id);
target.set(id, targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol));
const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol);
Copy link
Member

Choose a reason for hiding this comment

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

I can't remember: can targetSymbol or sourceSymbol be returned from mergeSymbol or getMergedSymbol? Or is the result always a fresh transient symbol?

The reason I'm asking is that I want to know what happens if we already have an existing parent. Is it guaranteed to be the same as parent? Related to it in some way?

source.forEach((sourceSymbol, id) => {
const targetSymbol = target.get(id);
target.set(id, targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol));
const merged = targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol);
merged.parent ??= parent;
Copy link
Member

Choose a reason for hiding this comment

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

from discussion with @iisaduan -- do we know which merged symbols don't have parents? Is it related to whether sourceSymbol (or target) has a parent? Isabel tracked it down to exports lists=no parent; exported interface=parent. Is there something missing in the binder when parents are set?

@andrewbranch
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 @andrewbranch, the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

@typescript-bot
Copy link
Collaborator

@andrewbranch Here are the results of running the user tests with tsc comparing main and refs/pull/59609/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

@andrewbranch
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 192,326k (± 0.02%) 192,994k (± 0.72%) ~ 192,325k 195,837k p=0.066 n=6
Parse Time 1.30s (± 1.19%) 1.31s (± 1.22%) ~ 1.29s 1.33s p=0.453 n=6
Bind Time 0.71s 0.71s ~ ~ ~ p=1.000 n=6
Check Time 9.52s (± 0.52%) 9.57s (± 0.23%) +0.05s (+ 0.56%) 9.53s 9.59s p=0.029 n=6
Emit Time 2.71s (± 1.36%) 2.73s (± 0.43%) ~ 2.72s 2.75s p=0.324 n=6
Total Time 14.24s (± 0.46%) 14.32s (± 0.20%) +0.08s (+ 0.59%) 14.28s 14.36s p=0.006 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,543k (± 0.00%) 1,222,514k (± 0.00%) ~ 1,222,491k 1,222,523k p=0.108 n=6
Parse Time 7.89s (± 0.31%) 7.88s (± 0.64%) ~ 7.82s 7.94s p=0.809 n=6
Bind Time 2.21s (± 0.60%) 2.21s (± 0.18%) ~ 2.20s 2.21s p=0.446 n=6
Check Time 36.07s (± 0.74%) 36.16s (± 0.11%) ~ 36.10s 36.21s p=0.230 n=6
Emit Time 17.69s (± 0.37%) 17.73s (± 0.34%) ~ 17.64s 17.80s p=0.377 n=6
Total Time 63.85s (± 0.40%) 63.98s (± 0.13%) ~ 63.86s 64.08s p=0.172 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,491,254 2,491,254 ~ ~ ~ p=1.000 n=6
Types 1,006,231 1,006,231 ~ ~ ~ p=1.000 n=6
Memory used 2,365,285k (± 0.00%) 2,365,245k (± 0.00%) ~ 2,365,155k 2,365,297k p=0.423 n=6
Parse Time 13.48s (± 0.33%) 13.51s (± 0.26%) ~ 13.46s 13.54s p=0.376 n=6
Bind Time 3.19s (± 0.68%) 3.20s (± 0.51%) ~ 3.17s 3.21s p=0.870 n=6
Check Time 107.93s (± 0.59%) 108.10s (± 0.53%) ~ 107.46s 108.99s p=0.575 n=6
Emit Time 0.39s (± 3.10%) 0.40s (± 3.44%) ~ 0.38s 0.41s p=0.798 n=6
Total Time 125.00s (± 0.49%) 125.20s (± 0.47%) ~ 124.55s 126.08s p=0.521 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,231,261 1,231,263 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Types 264,287 264,287 ~ ~ ~ p=1.000 n=6
Memory used 2,352,423k (± 0.01%) 2,352,857k (± 0.02%) ~ 2,352,313k 2,353,787k p=0.173 n=6
Parse Time 4.99s (± 0.70%) 4.99s (± 0.38%) ~ 4.96s 5.01s p=0.748 n=6
Bind Time 1.90s (± 0.27%) 1.89s (± 0.91%) ~ 1.87s 1.92s p=0.352 n=6
Check Time 34.66s (± 0.18%) 34.73s (± 0.13%) ~ 34.68s 34.79s p=0.066 n=6
Emit Time 3.33s (± 0.30%) 3.34s (± 1.11%) ~ 3.29s 3.39s p=0.574 n=6
Total Time 44.89s (± 0.19%) 44.95s (± 0.07%) ~ 44.90s 44.99s p=0.261 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,231,261 1,231,263 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Types 264,287 264,287 ~ ~ ~ p=1.000 n=6
Memory used 2,426,601k (± 0.03%) 2,427,027k (± 0.02%) ~ 2,426,475k 2,427,616k p=0.229 n=6
Parse Time 7.72s (± 0.93%) 7.74s (± 1.26%) ~ 7.63s 7.84s p=0.471 n=6
Bind Time 2.56s (± 4.32%) 2.53s (± 0.58%) ~ 2.51s 2.55s p=0.683 n=6
Check Time 51.52s (± 1.04%) 51.52s (± 0.54%) ~ 51.27s 51.95s p=0.936 n=6
Emit Time 5.03s (± 0.83%) 5.01s (± 0.63%) ~ 4.97s 5.06s p=0.419 n=6
Total Time 66.86s (± 0.64%) 66.82s (± 0.40%) ~ 66.51s 67.16s p=0.689 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 256,902 256,904 +2 (+ 0.00%) ~ ~ p=0.001 n=6
Types 105,594 105,594 ~ ~ ~ p=1.000 n=6
Memory used 429,331k (± 0.02%) 429,301k (± 0.02%) ~ 429,245k 429,428k p=0.575 n=6
Parse Time 3.35s (± 0.64%) 3.35s (± 0.76%) ~ 3.32s 3.38s p=0.936 n=6
Bind Time 1.29s (± 0.90%) 1.29s (± 1.06%) ~ 1.28s 1.32s p=0.931 n=6
Check Time 18.04s (± 0.28%) 18.01s (± 0.51%) ~ 17.91s 18.15s p=0.521 n=6
Emit Time 1.65s (± 1.06%) 1.66s (± 1.73%) ~ 1.62s 1.68s p=0.289 n=6
Total Time 24.32s (± 0.21%) 24.31s (± 0.54%) ~ 24.16s 24.50s p=0.747 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,250k (± 0.04%) 370,204k (± 0.04%) ~ 370,044k 370,437k p=0.471 n=6
Parse Time 3.44s (± 0.75%) 3.44s (± 0.70%) ~ 3.40s 3.47s p=1.000 n=6
Bind Time 1.93s (± 0.90%) 1.92s (± 1.17%) ~ 1.89s 1.95s p=0.683 n=6
Check Time 19.38s (± 0.57%) 19.37s (± 0.20%) ~ 19.32s 19.43s p=0.688 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.75s (± 0.49%) 24.73s (± 0.22%) ~ 24.66s 24.81s p=0.689 n=6
vscode - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 3,004,214 3,004,214 ~ ~ ~ p=1.000 n=6
Types 1,034,825 1,034,825 ~ ~ ~ p=1.000 n=6
Memory used 3,128,217k (± 0.00%) 3,128,299k (± 0.00%) +82k (+ 0.00%) 3,128,272k 3,128,323k p=0.020 n=6
Parse Time 11.67s (± 0.24%) 11.67s (± 0.18%) ~ 11.65s 11.71s p=0.935 n=6
Bind Time 3.65s (± 2.49%) 3.59s (± 0.48%) ~ 3.57s 3.62s p=0.224 n=6
Check Time 68.89s (± 0.27%) 69.04s (± 0.23%) ~ 68.84s 69.22s p=0.149 n=6
Emit Time 17.39s (± 0.26%) 17.36s (± 0.46%) ~ 17.28s 17.51s p=0.228 n=6
Total Time 101.61s (± 0.24%) 101.66s (± 0.12%) ~ 101.53s 101.84s p=0.521 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 275,352 275,352 ~ ~ ~ p=1.000 n=6
Types 112,436 112,436 ~ ~ ~ p=1.000 n=6
Memory used 424,142k (± 0.01%) 424,196k (± 0.01%) +54k (+ 0.01%) 424,136k 424,276k p=0.045 n=6
Parse Time 3.33s (± 0.58%) 3.33s (± 0.25%) ~ 3.31s 3.33s p=0.505 n=6
Bind Time 1.45s (± 0.52%) 1.45s (± 0.52%) ~ 1.44s 1.46s p=0.487 n=6
Check Time 14.79s (± 0.42%) 14.83s (± 0.47%) ~ 14.76s 14.95s p=0.575 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 19.57s (± 0.24%) 19.61s (± 0.39%) ~ 19.51s 19.73s p=0.372 n=6
xstate-main - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 534,188 534,188 ~ ~ ~ p=1.000 n=6
Types 176,207 176,207 ~ ~ ~ p=1.000 n=6
Memory used 479,315k (± 0.01%) 479,293k (± 0.01%) ~ 479,252k 479,338k p=0.689 n=6
Parse Time 3.40s (± 0.90%) 3.39s (± 0.48%) ~ 3.37s 3.42s p=0.466 n=6
Bind Time 1.25s (± 0.88%) 1.25s (± 0.78%) ~ 1.24s 1.26s p=0.865 n=6
Check Time 17.94s (± 0.47%) 17.86s (± 0.21%) ~ 17.80s 17.90s p=0.126 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 22.60s (± 0.45%) 22.51s (± 0.23%) ~ 22.43s 22.58s p=0.109 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

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

Everything looks good!

@andrewbranch andrewbranch dismissed sandersn’s stale review August 15, 2024 23:18

Addressed comments

@andrewbranch andrewbranch merged commit ca64946 into microsoft:main Aug 15, 2024
32 checks passed
@andrewbranch andrewbranch deleted the merged-module-parent branch August 15, 2024 23:19
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
4 participants