Skip to content

refactor: let exportMapKey accepts bad symbol name - #54678

Merged
Andrew Branch (andrewbranch) merged 3 commits into
microsoft:mainfrom
Jack-Works:refactor-export-map-bad-symbol-name
Sep 13, 2023
Merged

refactor: let exportMapKey accepts bad symbol name#54678
Andrew Branch (andrewbranch) merged 3 commits into
microsoft:mainfrom
Jack-Works:refactor-export-map-bad-symbol-name

Conversation

@Jack-Works

Copy link
Copy Markdown
Contributor

this is required for #49297 because a symbol may can contains | in its name

@typescript-botTypeScript Bot (typescript-bot) added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 16, 2023
@typescript-bot

Copy link
Copy Markdown
Contributor

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

@sandersn

Copy link
Copy Markdown
Member

Ron Buckton (@rbuckton) are you familiar with this spec change?

@Jack-Works

Copy link
Copy Markdown
ContributorAuthor

Ron Buckton (@rbuckton) are you familiar with this spec change?

this basically allows any string (valid Unicode maybe?) to be the export name, so you can export { x as "a|b" } and then break the compiler.

But I doubt this already happens in CommonJS module in form of exports["a|b"] = 0

@Jack-Works
Jack Works (Jack-Works)force-pushed the refactor-export-map-bad-symbol-name branch from 07d746c to 1002594CompareAugust 9, 2023 04:23
@typescript-bot

Copy link
Copy Markdown
Contributor

Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page.

Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up.

@DanielRosenwasser

Copy link
Copy Markdown
Member

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the diff-based user code test suite (tsserver) on this PR at 1002594. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the tarball bundle task on this PR at 1002594. You can monitor the build here.

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the perf test suite on this PR at 1002594. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the diff-based top-repos suite on this PR at 1002594. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the diff-based user code test suite on this PR at 1002594. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the parallelized Definitely Typed test suite on this PR at 1002594. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the diff-based top-repos suite (tsserver) on this PR at 1002594. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Hey Daniel Rosenwasser (@DanielRosenwasser), 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/156417/artifacts?artifactName=tgz&fileId=52D280978FFAE4DF6D2B1CBA61BB2029F424FB1A5E55553F5FC7CFFADF12A53502&fileName=/typescript-5.3.0-insiders.20230809.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.3.0-pr-54678-12".;

@typescript-bot

Copy link
Copy Markdown
Contributor

Daniel Rosenwasser (@DanielRosenwasser) Here are the results of running the user test suite comparing main and refs/pull/54678/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-54678/lib/lib.es2015.collection.d.ts(63,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.collection.d.ts(63,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.collection.d.ts(63,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.collection.d.ts(63,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.symbol.wellknown.d.ts(140,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.collection.d.ts(63,11)
    • /home/vsts/work/1/s/typescript-54678/lib/lib.es2015.iterable.d.ts(162,11)
    • /home/vsts/work/1/s/typescript-54678/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(63,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(63,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(63,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(63,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(63,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
Copy Markdown
Contributor

Daniel Rosenwasser (@DanielRosenwasser) Here are the results of running the user test suite comparing main and refs/pull/54678/merge:

Everything looks good!

@typescript-bot

Copy link
Copy Markdown
Contributor

Daniel Rosenwasser (@DanielRosenwasser)
The results of the perf run you requested are in!

Here they are:

Compiler

Comparison Report - main..54678
Metricmain54678DeltaBestWorstp-value
Angular - node (v18.10.0, x64)
Memory used368,873k (± 0.01%)368,855k (± 0.01%)~368,789k368,909kp=0.575 n=6
Parse Time3.40s (± 1.00%)3.38s (± 0.78%)~3.34s3.42sp=0.744 n=6
Bind Time1.12s (± 0.36%)1.12s (± 0.67%)~1.11s1.13sp=1.000 n=6
Check Time9.05s (± 0.42%)9.04s (± 0.51%)~8.99s9.10sp=0.809 n=6
Emit Time7.50s (± 0.55%)7.52s (± 0.89%)~7.44s7.61sp=0.517 n=6
Total Time21.07s (± 0.44%)21.07s (± 0.36%)~20.94s21.16sp=1.000 n=6
Compiler-Unions - node (v18.10.0, x64)
Memory used192,120k (± 0.01%)192,095k (± 0.04%)~191,940k192,176kp=0.378 n=6
Parse Time1.51s (± 0.77%)1.50s (± 0.36%)~1.50s1.51sp=0.498 n=6
Bind Time0.77s (± 0.67%)0.77s (± 0.67%)~0.77s0.78sp=0.069 n=6
Check Time9.56s (± 0.56%)9.58s (± 0.45%)~9.50s9.62sp=0.570 n=6
Emit Time2.74s (± 0.55%)2.76s (± 1.18%)~2.72s2.81sp=0.806 n=6
Total Time14.59s (± 0.46%)14.61s (± 0.19%)~14.58s14.65sp=0.570 n=6
Monaco - node (v18.10.0, x64)
Memory used347,779k (± 0.01%)347,790k (± 0.01%)~347,741k347,867kp=0.873 n=6
Parse Time2.62s (± 1.40%)2.62s (± 0.71%)~2.59s2.64sp=0.871 n=6
Bind Time1.01s (± 0.80%)1.01s (± 0.74%)~1.00s1.02sp=0.729 n=6
Check Time7.39s (± 0.44%)7.38s (± 0.60%)~7.31s7.43sp=0.630 n=6
Emit Time4.27s (± 0.91%)4.23s (± 0.82%)~4.19s4.29sp=0.063 n=6
Total Time15.30s (± 0.56%)15.24s (± 0.44%)~15.15s15.34sp=0.296 n=6
TFS - node (v18.10.0, x64)
Memory used301,833k (± 0.00%)301,835k (± 0.01%)~301,819k301,872kp=0.630 n=6
Parse Time2.09s (± 1.27%)2.08s (± 1.81%)~2.02s2.12sp=0.872 n=6
Bind Time1.12s (± 0.67%)1.13s (± 0.36%)+0.01s (+ 0.89%)1.13s1.14sp=0.024 n=6
Check Time6.70s (± 0.29%)6.71s (± 0.22%)~6.68s6.72sp=0.458 n=6
Emit Time3.84s (± 0.83%)3.88s (± 0.42%)+0.04s (+ 1.04%)3.86s3.90sp=0.036 n=6
Total Time13.75s (± 0.47%)13.81s (± 0.22%)~13.76s13.84sp=0.148 n=6
material-ui - node (v18.10.0, x64)
Memory used482,619k (± 0.01%)482,625k (± 0.02%)~482,535k482,772kp=0.575 n=6
Parse Time3.13s (± 0.51%)3.05s (± 2.92%)~2.95s3.14sp=0.142 n=6
Bind Time0.92s (± 1.19%)0.96s (± 5.39%)~0.92s1.03sp=0.087 n=6
Check Time17.43s (± 0.81%)17.46s (± 0.91%)~17.26s17.72sp=0.936 n=6
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)~0.00s0.00sp=1.000 n=6
Total Time21.48s (± 0.70%)21.46s (± 0.74%)~21.28s21.70sp=1.000 n=6
xstate - node (v18.10.0, x64)
Memory used563,798k (± 0.01%)563,946k (± 0.02%)+148k (+ 0.03%)563,856k564,102kp=0.031 n=6
Parse Time3.83s (± 0.54%)3.84s (± 0.51%)~3.81s3.86sp=0.806 n=6
Bind Time1.64s (± 1.05%)1.63s (± 0.75%)~1.62s1.65sp=0.867 n=6
Check Time2.82s (± 0.86%)2.81s (± 1.62%)~2.75s2.86sp=0.629 n=6
Emit Time0.08s (± 0.00%)0.08s (± 0.00%)~0.08s0.08sp=1.000 n=6
Total Time8.38s (± 0.44%)8.36s (± 0.57%)~8.28s8.41sp=0.571 n=6
Angular - node (v16.17.1, x64)
Memory used368,262k (± 0.00%)368,267k (± 0.00%)~368,241k368,287kp=0.470 n=6
Parse Time3.57s (± 0.65%)3.55s (± 0.81%)~3.52s3.60sp=0.329 n=6
Bind Time1.19s (± 0.34%)1.19s (± 0.34%)~1.18s1.19sp=1.000 n=6
Check Time9.86s (± 0.41%)9.86s (± 0.28%)~9.82s9.90sp=0.746 n=6
Emit Time8.02s (± 0.54%)8.03s (± 0.58%)~7.99s8.09sp=0.806 n=6
Total Time22.64s (± 0.31%)22.63s (± 0.39%)~22.54s22.74sp=1.000 n=6
Compiler-Unions - node (v16.17.1, x64)
Memory used193,851k (± 0.02%)193,801k (± 0.02%)~193,736k193,870kp=0.128 n=6
Parse Time1.59s (± 0.65%)1.59s (± 0.89%)~1.57s1.61sp=0.738 n=6
Bind Time0.82s (± 1.25%)0.82s (± 0.63%)~0.82s0.83sp=0.928 n=6
Check Time10.29s (± 0.42%)10.24s (± 0.50%)~10.18s10.29sp=0.090 n=6
Emit Time2.99s (± 0.98%)2.98s (± 1.12%)~2.96s3.05sp=0.936 n=6
Total Time15.70s (± 0.36%)15.63s (± 0.55%)~15.56s15.77sp=0.147 n=6
Monaco - node (v16.17.1, x64)
Memory used347,102k (± 0.01%)347,102k (± 0.00%)~347,088k347,122kp=0.936 n=6
Parse Time2.77s (± 0.84%)2.76s (± 0.42%)~2.75s2.78sp=0.934 n=6
Bind Time1.07s (± 0.00%)1.08s (± 0.76%)~1.07s1.09sp=0.073 n=6
Check Time8.06s (± 0.49%)8.06s (± 0.31%)~8.03s8.09sp=0.936 n=6
Emit Time4.44s (± 0.75%)4.44s (± 0.78%)~4.39s4.48sp=1.000 n=6
Total Time16.34s (± 0.48%)16.34s (± 0.39%)~16.27s16.41sp=0.936 n=6
TFS - node (v16.17.1, x64)
Memory used301,127k (± 0.01%)301,160k (± 0.00%)~301,139k301,177kp=0.066 n=6
Parse Time2.19s (± 0.63%)2.20s (± 0.53%)~2.19s2.22sp=0.461 n=6
Bind Time1.21s (± 1.22%)1.21s (± 1.10%)~1.19s1.23sp=0.681 n=6
Check Time7.34s (± 0.50%)7.36s (± 0.67%)~7.28s7.42sp=0.521 n=6
Emit Time4.29s (± 0.77%)4.33s (± 0.52%)+0.03s (+ 0.74%)4.28s4.34sp=0.033 n=6
Total Time15.03s (± 0.36%)15.10s (± 0.37%)~15.00s15.15sp=0.054 n=6
material-ui - node (v16.17.1, x64)
Memory used481,909k (± 0.00%)481,887k (± 0.01%)~481,822k481,922kp=0.378 n=6
Parse Time3.24s (± 0.41%)3.23s (± 0.30%)~3.22s3.25sp=0.177 n=6
Bind Time0.95s (± 0.79%)0.95s (± 0.88%)~0.94s0.96sp=0.432 n=6
Check Time18.48s (± 0.81%)18.43s (± 1.00%)~18.30s18.79sp=0.229 n=6
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)~0.00s0.00sp=1.000 n=6
Total Time22.68s (± 0.69%)22.62s (± 0.86%)~22.48s23.00sp=0.261 n=6
xstate - node (v16.17.1, x64)
Memory used561,499k (± 0.02%)561,515k (± 0.03%)~561,323k561,685kp=0.810 n=6
Parse Time4.03s (± 0.59%)4.01s (± 0.30%)~3.99s4.02sp=0.084 n=6
Bind Time1.73s (± 1.48%)1.75s (± 1.32%)~1.71s1.78sp=0.192 n=6
Check Time3.05s (± 0.48%)3.04s (± 0.94%)~3.00s3.08sp=0.572 n=6
Emit Time0.09s (± 0.00%)0.09s (± 0.00%)~0.09s0.09sp=1.000 n=6
Total Time8.92s (± 0.43%)8.88s (± 0.44%)~8.83s8.94sp=0.258 n=6
Angular - node (v14.21.3, x64)
Memory used362,191k (± 0.01%)362,177k (± 0.01%)~362,102k362,226kp=0.810 n=6
Parse Time3.73s (± 0.38%)3.73s (± 0.53%)~3.72s3.77sp=1.000 n=6
Bind Time1.22s (± 0.33%)1.22s (± 0.68%)~1.21s1.23sp=0.285 n=6
Check Time10.24s (± 0.45%)10.25s (± 0.33%)~10.22s10.31sp=1.000 n=6
Emit Time8.35s (± 0.48%)8.33s (± 0.55%)~8.27s8.37sp=0.419 n=6
Total Time23.54s (± 0.23%)23.54s (± 0.35%)~23.43s23.67sp=1.000 n=6
Compiler-Unions - node (v14.21.3, x64)
Memory used189,104k (± 0.01%)189,131k (± 0.01%)+27k (+ 0.01%)189,107k189,163kp=0.020 n=6
Parse Time1.61s (± 0.85%)1.61s (± 0.99%)~1.60s1.64sp=0.672 n=6
Bind Time0.85s (± 0.96%)0.84s (± 0.65%)~0.84s0.85sp=0.859 n=6
Check Time10.41s (± 0.33%)10.40s (± 0.39%)~10.36s10.47sp=0.872 n=6
Emit Time3.11s (± 0.83%)3.10s (± 0.59%)~3.08s3.13sp=0.329 n=6
Total Time15.99s (± 0.29%)15.96s (± 0.33%)~15.89s16.04sp=0.318 n=6
Monaco - node (v14.21.3, x64)
Memory used342,097k (± 0.00%)342,113k (± 0.01%)~342,087k342,137kp=0.173 n=6
Parse Time2.81s (± 0.35%)2.80s (± 0.27%)~2.79s2.81sp=0.077 n=6
Bind Time1.10s (± 0.57%)1.10s (± 0.47%)~1.09s1.10sp=0.386 n=6
Check Time8.39s (± 0.39%)8.38s (± 0.28%)~8.35s8.41sp=1.000 n=6
Emit Time4.67s (± 0.95%)4.66s (± 0.40%)~4.64s4.69sp=0.625 n=6
Total Time16.96s (± 0.30%)16.94s (± 0.24%)~16.88s16.98sp=0.467 n=6
TFS - node (v14.21.3, x64)
Memory used296,217k (± 0.00%)296,215k (± 0.00%)~296,201k296,222kp=0.686 n=6
Parse Time2.42s (± 0.80%)2.44s (± 0.92%)~2.42s2.48sp=0.167 n=6
Bind Time1.08s (± 0.48%)1.09s (± 1.22%)+0.01s (+ 1.39%)1.07s1.11sp=0.039 n=6
Check Time7.69s (± 0.33%)7.72s (± 0.48%)~7.68s7.77sp=0.158 n=6
Emit Time4.29s (± 0.56%)4.34s (± 0.77%)+0.05s (+ 1.13%)4.29s4.39sp=0.024 n=6
Total Time15.48s (± 0.19%)15.58s (± 0.39%)+0.10s (+ 0.68%)15.51s15.69sp=0.008 n=6
material-ui - node (v14.21.3, x64)
Memory used477,370k (± 0.00%)477,380k (± 0.00%)~477,362k477,396kp=0.378 n=6
Parse Time3.30s (± 0.19%)3.30s (± 0.32%)~3.29s3.32sp=0.388 n=6
Bind Time0.99s (± 0.82%)0.99s (± 0.76%)~0.98s1.00sp=0.340 n=6
Check Time19.30s (± 0.76%)19.36s (± 0.71%)~19.15s19.48sp=0.423 n=6
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)~0.00s0.00sp=1.000 n=6
Total Time23.59s (± 0.62%)23.65s (± 0.59%)~23.44s23.77sp=0.470 n=6
xstate - node (v14.21.3, x64)
Memory used550,243k (± 0.01%)550,237k (± 0.01%)~550,180k550,268kp=1.000 n=6
Parse Time4.21s (± 0.58%)4.21s (± 0.51%)~4.19s4.25sp=0.677 n=6
Bind Time1.70s (± 0.64%)1.64s (± 2.60%)🟩-0.06s (- 3.63%)1.60s1.69sp=0.012 n=6
Check Time3.12s (± 0.78%)3.13s (± 0.53%)~3.10s3.15sp=0.326 n=6
Emit Time0.09s (± 0.00%)0.09s (± 0.00%)~0.09s0.09sp=1.000 n=6
Total Time9.12s (± 0.38%)9.06s (± 0.55%)~9.01s9.13sp=0.127 n=6
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-148-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v18.10.0, x64)
  • node (v16.17.1, x64)
  • node (v14.21.3, x64)
Scenarios
  • Angular - node (v18.10.0, x64)
  • Angular - node (v16.17.1, x64)
  • Angular - node (v14.21.3, x64)
  • Compiler-Unions - node (v18.10.0, x64)
  • Compiler-Unions - node (v16.17.1, x64)
  • Compiler-Unions - node (v14.21.3, x64)
  • Monaco - node (v18.10.0, x64)
  • Monaco - node (v16.17.1, x64)
  • Monaco - node (v14.21.3, x64)
  • TFS - node (v18.10.0, x64)
  • TFS - node (v16.17.1, x64)
  • TFS - node (v14.21.3, x64)
  • material-ui - node (v18.10.0, x64)
  • material-ui - node (v16.17.1, x64)
  • material-ui - node (v14.21.3, x64)
  • xstate - node (v18.10.0, x64)
  • xstate - node (v16.17.1, x64)
  • xstate - node (v14.21.3, x64)
BenchmarkNameIterations
Current546786
Baselinemain6

TSServer

Comparison Report - main..54678
Metricmain54678DeltaBestWorstp-value
Compiler-UnionsTSServer - node (v18.10.0, x64)
Req 1 - updateOpen2,529ms (± 1.09%)2,550ms (± 0.89%)~2,528ms2,586msp=0.378 n=6
Req 2 - geterr5,436ms (± 0.57%)5,442ms (± 0.69%)~5,384ms5,479msp=0.873 n=6
Req 3 - references345ms (± 1.23%)341ms (± 0.40%)~339ms343msp=0.226 n=6
Req 4 - navto288ms (± 0.26%)288ms (± 0.52%)~285ms289msp=0.734 n=6
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)~1,3561,356p=1.000 n=6
Req 5 - completionInfo87ms (± 1.03%)88ms (± 3.76%)~85ms93msp=0.934 n=6
CompilerTSServer - node (v18.10.0, x64)
Req 1 - updateOpen2,618ms (± 1.02%)2,619ms (± 1.14%)~2,582ms2,656msp=1.000 n=6
Req 2 - geterr4,161ms (± 0.60%)4,160ms (± 0.56%)~4,128ms4,188msp=1.000 n=6
Req 3 - references357ms (± 0.99%)354ms (± 0.66%)~352ms358msp=0.147 n=6
Req 4 - navto290ms (± 0.28%)290ms (± 0.47%)~288ms292msp=0.282 n=6
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)~1,5181,518p=1.000 n=6
Req 5 - completionInfo88ms (± 1.32%)87ms (± 1.90%)~84ms88msp=0.115 n=6
xstateTSServer - node (v18.10.0, x64)
Req 1 - updateOpen3,086ms (± 0.60%)3,098ms (± 0.73%)~3,070ms3,125msp=0.230 n=6
Req 2 - geterr1,631ms (± 7.45%)1,673ms (± 7.56%)~1,538ms1,810msp=0.575 n=6
Req 3 - references110ms (± 2.04%)111ms (± 2.85%)~107ms116msp=0.747 n=6
Req 4 - navto374ms (± 0.52%)374ms (± 0.40%)~373ms377msp=0.935 n=6
Req 5 - completionInfo count2,872 (± 0.00%)2,872 (± 0.00%)~2,8722,872p=1.000 n=6
Req 5 - completionInfo386ms (± 2.87%)387ms (± 2.22%)~377ms399msp=0.873 n=6
Compiler-UnionsTSServer - node (v16.17.1, x64)
Req 1 - updateOpen2,625ms (± 0.45%)2,619ms (± 0.44%)~2,610ms2,639msp=0.575 n=6
Req 2 - geterr6,110ms (± 0.34%)6,068ms (± 0.65%)~6,022ms6,122msp=0.093 n=6
Req 3 - references355ms (± 0.61%)355ms (± 0.53%)~352ms357msp=1.000 n=6
Req 4 - navto284ms (± 0.36%)283ms (± 0.62%)~280ms285msp=0.323 n=6
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)~1,3561,356p=1.000 n=6
Req 5 - completionInfo87ms (±11.05%)88ms (± 8.97%)~80ms96msp=0.742 n=6
CompilerTSServer - node (v16.17.1, x64)
Req 1 - updateOpen2,790ms (± 0.65%)2,796ms (± 0.47%)~2,784ms2,821msp=0.335 n=6
Req 2 - geterr4,712ms (± 0.32%)4,685ms (± 0.34%)-27ms (- 0.57%)4,670ms4,715msp=0.019 n=6
Req 3 - references364ms (± 0.75%)363ms (± 0.71%)~361ms367msp=0.745 n=6
Req 4 - navto280ms (± 0.66%)282ms (± 0.72%)~280ms286msp=0.073 n=6
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)~1,5181,518p=1.000 n=6
Req 5 - completionInfo77ms (± 1.37%)80ms (± 4.48%)~76ms84msp=0.085 n=6
xstateTSServer - node (v16.17.1, x64)
Req 1 - updateOpen3,230ms (± 0.42%)3,220ms (± 0.35%)~3,206ms3,231msp=0.128 n=6
Req 2 - geterr1,704ms (± 0.38%)1,704ms (± 0.83%)~1,687ms1,719msp=0.936 n=6
Req 3 - references128ms (± 6.77%)131ms (± 8.40%)~123ms146msp=0.676 n=6
Req 4 - navto351ms (± 0.38%)351ms (± 0.59%)~349ms355msp=0.802 n=6
Req 5 - completionInfo count2,872 (± 0.00%)2,872 (± 0.00%)~2,8722,872p=1.000 n=6
Req 5 - completionInfo411ms (± 1.71%)405ms (± 1.70%)~393ms412msp=0.228 n=6
Compiler-UnionsTSServer - node (v14.21.3, x64)
Req 1 - updateOpen2,776ms (± 0.58%)2,768ms (± 0.20%)~2,761ms2,774msp=0.630 n=6
Req 2 - geterr6,245ms (± 0.47%)6,250ms (± 0.45%)~6,213ms6,294msp=1.000 n=6
Req 3 - references365ms (± 0.92%)363ms (± 1.33%)~357ms371msp=0.295 n=6
Req 4 - navto290ms (± 0.49%)290ms (± 0.53%)~289ms293msp=0.868 n=6
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)~1,3561,356p=1.000 n=6
Req 5 - completionInfo103ms (± 8.08%)101ms (± 7.56%)~91ms110msp=0.466 n=6
CompilerTSServer - node (v14.21.3, x64)
Req 1 - updateOpen2,934ms (± 0.76%)2,935ms (± 0.62%)~2,917ms2,970msp=1.000 n=6
Req 2 - geterr4,610ms (± 0.44%)4,614ms (± 0.33%)~4,596ms4,642msp=0.873 n=6
Req 3 - references376ms (± 0.29%)376ms (± 0.39%)~375ms378msp=1.000 n=6
Req 4 - navto297ms (± 1.01%)298ms (± 0.49%)~297ms300msp=0.616 n=6
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)~1,5181,518p=1.000 n=6
Req 5 - completionInfo83ms (± 1.52%)84ms (± 0.90%)~83ms85msp=0.301 n=6
xstateTSServer - node (v14.21.3, x64)
Req 1 - updateOpen3,501ms (± 1.58%)3,518ms (± 0.44%)~3,500ms3,544msp=0.810 n=6
Req 2 - geterr1,822ms (± 0.45%)1,812ms (± 0.35%)-9ms (- 0.51%)1,807ms1,824msp=0.037 n=6
Req 3 - references150ms (± 5.91%)151ms (± 6.32%)~132ms159msp=0.413 n=6
Req 4 - navto390ms (± 1.33%)388ms (± 0.21%)~387ms389msp=0.315 n=6
Req 5 - completionInfo count2,872 (± 0.00%)2,872 (± 0.00%)~2,8722,872p=1.000 n=6
Req 5 - completionInfo418ms (± 0.70%)416ms (± 1.39%)~409ms425msp=0.378 n=6
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-148-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v18.10.0, x64)
  • node (v16.17.1, x64)
  • node (v14.21.3, x64)
Scenarios
  • Compiler-UnionsTSServer - node (v18.10.0, x64)
  • Compiler-UnionsTSServer - node (v16.17.1, x64)
  • Compiler-UnionsTSServer - node (v14.21.3, x64)
  • CompilerTSServer - node (v18.10.0, x64)
  • CompilerTSServer - node (v16.17.1, x64)
  • CompilerTSServer - node (v14.21.3, x64)
  • xstateTSServer - node (v18.10.0, x64)
  • xstateTSServer - node (v16.17.1, x64)
  • xstateTSServer - node (v14.21.3, x64)
BenchmarkNameIterations
Current546786
Baselinemain6

Startup

Comparison Report - main..54678
Metricmain54678DeltaBestWorstp-value
tsc-startup - node (v16.17.1, x64)
Execution time142.15ms (± 0.20%)141.96ms (± 0.22%)-0.19ms (- 0.14%)141.21ms145.39msp=0.000 n=600
tsserver-startup - node (v16.17.1, x64)
Execution time221.50ms (± 0.15%)221.34ms (± 0.21%)-0.16ms (- 0.07%)220.09ms230.16msp=0.000 n=600
tsserverlibrary-startup - node (v16.17.1, x64)
Execution time223.06ms (± 0.16%)222.99ms (± 0.22%)-0.07ms (- 0.03%)221.72ms229.18msp=0.000 n=600
typescript-startup - node (v16.17.1, x64)
Execution time205.02ms (± 0.16%)204.88ms (± 0.19%)-0.14ms (- 0.07%)203.85ms213.73msp=0.000 n=600
System
Machine Namets-ci-ubuntu
Platformlinux 5.4.0-148-generic
Architecturex64
Available Memory16 GB
Available Memory15 GB
CPUs4 × Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Hosts
  • node (v16.17.1, x64)
Scenarios
  • tsc-startup - node (v16.17.1, x64)
  • tsserver-startup - node (v16.17.1, x64)
  • tsserverlibrary-startup - node (v16.17.1, x64)
  • typescript-startup - node (v16.17.1, x64)
BenchmarkNameIterations
Current546786
Baselinemain6

Developer Information:

Download Benchmark

@typescript-bot

Copy link
Copy Markdown
Contributor

Daniel Rosenwasser (@DanielRosenwasser) Here are the results of running the top-repos suite comparing main and refs/pull/54678/merge:

Everything looks good!

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Daniel Rosenwasser (@DanielRosenwasser), the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Daniel Rosenwasser (@DanielRosenwasser) Here are the results of running the top-repos suite comparing main and refs/pull/54678/merge:

Everything looks good!

@Jack-Works
Jack Works (Jack-Works)force-pushed the refactor-export-map-bad-symbol-name branch from 1002594 to 2391c6cCompareSeptember 13, 2023 03:44
@Jack-Works
Jack Works (Jack-Works)force-pushed the refactor-export-map-bad-symbol-name branch from 6b9ace2 to bbbf441CompareSeptember 13, 2023 04:59
@andrewbranch
Andrew Branch (andrewbranch) merged commit e7bb0eb into microsoft:mainSep 13, 2023
@Jack-Works
Jack Works (Jack-Works) deleted the refactor-export-map-bad-symbol-name branch December 30, 2023 13:05
@microsoftMicrosoft (microsoft) locked as resolved and limited conversation to collaborators Oct 16, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants

@Jack-Works@typescript-bot@sandersn@DanielRosenwasser@andrewbranch@rbuckton