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

refactor: let exportMapKey accepts bad symbol name #54678

Merged

Conversation

Jack-Works
Copy link
Contributor

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

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 16, 2023
@typescript-bot
Copy link
Collaborator

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
Member

@rbuckton are you familiar with this spec change?

@Jack-Works
Copy link
Contributor Author

@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 force-pushed the refactor-export-map-bad-symbol-name branch from 07d746c to 1002594 Compare August 9, 2023 04:23
@typescript-bot
Copy link
Collaborator

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 @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up.

@DanielRosenwasser
Copy link
Member

@typescript-bot pack this
@typescript-bot test this
@typescript-bot test top100
@typescript-bot user test this
@typescript-bot user test tsserver
@typescript-bot test tsserver top100
@typescript-bot run dt
@typescript-bot perf test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Heya @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
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Heya @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
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Heya @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
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Heya @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
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Heya @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
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Heya @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
Copy link
Collaborator

typescript-bot commented Aug 9, 2023

Hey @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
Collaborator

@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
Collaborator

@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
Collaborator

@DanielRosenwasser
The results of the perf run you requested are in!

Here they are:

Compiler

Comparison Report - main..54678
Metric main 54678 Delta Best Worst p-value
Angular - node (v18.10.0, x64)
Memory used 368,873k (± 0.01%) 368,855k (± 0.01%) ~ 368,789k 368,909k p=0.575 n=6
Parse Time 3.40s (± 1.00%) 3.38s (± 0.78%) ~ 3.34s 3.42s p=0.744 n=6
Bind Time 1.12s (± 0.36%) 1.12s (± 0.67%) ~ 1.11s 1.13s p=1.000 n=6
Check Time 9.05s (± 0.42%) 9.04s (± 0.51%) ~ 8.99s 9.10s p=0.809 n=6
Emit Time 7.50s (± 0.55%) 7.52s (± 0.89%) ~ 7.44s 7.61s p=0.517 n=6
Total Time 21.07s (± 0.44%) 21.07s (± 0.36%) ~ 20.94s 21.16s p=1.000 n=6
Compiler-Unions - node (v18.10.0, x64)
Memory used 192,120k (± 0.01%) 192,095k (± 0.04%) ~ 191,940k 192,176k p=0.378 n=6
Parse Time 1.51s (± 0.77%) 1.50s (± 0.36%) ~ 1.50s 1.51s p=0.498 n=6
Bind Time 0.77s (± 0.67%) 0.77s (± 0.67%) ~ 0.77s 0.78s p=0.069 n=6
Check Time 9.56s (± 0.56%) 9.58s (± 0.45%) ~ 9.50s 9.62s p=0.570 n=6
Emit Time 2.74s (± 0.55%) 2.76s (± 1.18%) ~ 2.72s 2.81s p=0.806 n=6
Total Time 14.59s (± 0.46%) 14.61s (± 0.19%) ~ 14.58s 14.65s p=0.570 n=6
Monaco - node (v18.10.0, x64)
Memory used 347,779k (± 0.01%) 347,790k (± 0.01%) ~ 347,741k 347,867k p=0.873 n=6
Parse Time 2.62s (± 1.40%) 2.62s (± 0.71%) ~ 2.59s 2.64s p=0.871 n=6
Bind Time 1.01s (± 0.80%) 1.01s (± 0.74%) ~ 1.00s 1.02s p=0.729 n=6
Check Time 7.39s (± 0.44%) 7.38s (± 0.60%) ~ 7.31s 7.43s p=0.630 n=6
Emit Time 4.27s (± 0.91%) 4.23s (± 0.82%) ~ 4.19s 4.29s p=0.063 n=6
Total Time 15.30s (± 0.56%) 15.24s (± 0.44%) ~ 15.15s 15.34s p=0.296 n=6
TFS - node (v18.10.0, x64)
Memory used 301,833k (± 0.00%) 301,835k (± 0.01%) ~ 301,819k 301,872k p=0.630 n=6
Parse Time 2.09s (± 1.27%) 2.08s (± 1.81%) ~ 2.02s 2.12s p=0.872 n=6
Bind Time 1.12s (± 0.67%) 1.13s (± 0.36%) +0.01s (+ 0.89%) 1.13s 1.14s p=0.024 n=6
Check Time 6.70s (± 0.29%) 6.71s (± 0.22%) ~ 6.68s 6.72s p=0.458 n=6
Emit Time 3.84s (± 0.83%) 3.88s (± 0.42%) +0.04s (+ 1.04%) 3.86s 3.90s p=0.036 n=6
Total Time 13.75s (± 0.47%) 13.81s (± 0.22%) ~ 13.76s 13.84s p=0.148 n=6
material-ui - node (v18.10.0, x64)
Memory used 482,619k (± 0.01%) 482,625k (± 0.02%) ~ 482,535k 482,772k p=0.575 n=6
Parse Time 3.13s (± 0.51%) 3.05s (± 2.92%) ~ 2.95s 3.14s p=0.142 n=6
Bind Time 0.92s (± 1.19%) 0.96s (± 5.39%) ~ 0.92s 1.03s p=0.087 n=6
Check Time 17.43s (± 0.81%) 17.46s (± 0.91%) ~ 17.26s 17.72s p=0.936 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 21.48s (± 0.70%) 21.46s (± 0.74%) ~ 21.28s 21.70s p=1.000 n=6
xstate - node (v18.10.0, x64)
Memory used 563,798k (± 0.01%) 563,946k (± 0.02%) +148k (+ 0.03%) 563,856k 564,102k p=0.031 n=6
Parse Time 3.83s (± 0.54%) 3.84s (± 0.51%) ~ 3.81s 3.86s p=0.806 n=6
Bind Time 1.64s (± 1.05%) 1.63s (± 0.75%) ~ 1.62s 1.65s p=0.867 n=6
Check Time 2.82s (± 0.86%) 2.81s (± 1.62%) ~ 2.75s 2.86s p=0.629 n=6
Emit Time 0.08s (± 0.00%) 0.08s (± 0.00%) ~ 0.08s 0.08s p=1.000 n=6
Total Time 8.38s (± 0.44%) 8.36s (± 0.57%) ~ 8.28s 8.41s p=0.571 n=6
Angular - node (v16.17.1, x64)
Memory used 368,262k (± 0.00%) 368,267k (± 0.00%) ~ 368,241k 368,287k p=0.470 n=6
Parse Time 3.57s (± 0.65%) 3.55s (± 0.81%) ~ 3.52s 3.60s p=0.329 n=6
Bind Time 1.19s (± 0.34%) 1.19s (± 0.34%) ~ 1.18s 1.19s p=1.000 n=6
Check Time 9.86s (± 0.41%) 9.86s (± 0.28%) ~ 9.82s 9.90s p=0.746 n=6
Emit Time 8.02s (± 0.54%) 8.03s (± 0.58%) ~ 7.99s 8.09s p=0.806 n=6
Total Time 22.64s (± 0.31%) 22.63s (± 0.39%) ~ 22.54s 22.74s p=1.000 n=6
Compiler-Unions - node (v16.17.1, x64)
Memory used 193,851k (± 0.02%) 193,801k (± 0.02%) ~ 193,736k 193,870k p=0.128 n=6
Parse Time 1.59s (± 0.65%) 1.59s (± 0.89%) ~ 1.57s 1.61s p=0.738 n=6
Bind Time 0.82s (± 1.25%) 0.82s (± 0.63%) ~ 0.82s 0.83s p=0.928 n=6
Check Time 10.29s (± 0.42%) 10.24s (± 0.50%) ~ 10.18s 10.29s p=0.090 n=6
Emit Time 2.99s (± 0.98%) 2.98s (± 1.12%) ~ 2.96s 3.05s p=0.936 n=6
Total Time 15.70s (± 0.36%) 15.63s (± 0.55%) ~ 15.56s 15.77s p=0.147 n=6
Monaco - node (v16.17.1, x64)
Memory used 347,102k (± 0.01%) 347,102k (± 0.00%) ~ 347,088k 347,122k p=0.936 n=6
Parse Time 2.77s (± 0.84%) 2.76s (± 0.42%) ~ 2.75s 2.78s p=0.934 n=6
Bind Time 1.07s (± 0.00%) 1.08s (± 0.76%) ~ 1.07s 1.09s p=0.073 n=6
Check Time 8.06s (± 0.49%) 8.06s (± 0.31%) ~ 8.03s 8.09s p=0.936 n=6
Emit Time 4.44s (± 0.75%) 4.44s (± 0.78%) ~ 4.39s 4.48s p=1.000 n=6
Total Time 16.34s (± 0.48%) 16.34s (± 0.39%) ~ 16.27s 16.41s p=0.936 n=6
TFS - node (v16.17.1, x64)
Memory used 301,127k (± 0.01%) 301,160k (± 0.00%) ~ 301,139k 301,177k p=0.066 n=6
Parse Time 2.19s (± 0.63%) 2.20s (± 0.53%) ~ 2.19s 2.22s p=0.461 n=6
Bind Time 1.21s (± 1.22%) 1.21s (± 1.10%) ~ 1.19s 1.23s p=0.681 n=6
Check Time 7.34s (± 0.50%) 7.36s (± 0.67%) ~ 7.28s 7.42s p=0.521 n=6
Emit Time 4.29s (± 0.77%) 4.33s (± 0.52%) +0.03s (+ 0.74%) 4.28s 4.34s p=0.033 n=6
Total Time 15.03s (± 0.36%) 15.10s (± 0.37%) ~ 15.00s 15.15s p=0.054 n=6
material-ui - node (v16.17.1, x64)
Memory used 481,909k (± 0.00%) 481,887k (± 0.01%) ~ 481,822k 481,922k p=0.378 n=6
Parse Time 3.24s (± 0.41%) 3.23s (± 0.30%) ~ 3.22s 3.25s p=0.177 n=6
Bind Time 0.95s (± 0.79%) 0.95s (± 0.88%) ~ 0.94s 0.96s p=0.432 n=6
Check Time 18.48s (± 0.81%) 18.43s (± 1.00%) ~ 18.30s 18.79s p=0.229 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 22.68s (± 0.69%) 22.62s (± 0.86%) ~ 22.48s 23.00s p=0.261 n=6
xstate - node (v16.17.1, x64)
Memory used 561,499k (± 0.02%) 561,515k (± 0.03%) ~ 561,323k 561,685k p=0.810 n=6
Parse Time 4.03s (± 0.59%) 4.01s (± 0.30%) ~ 3.99s 4.02s p=0.084 n=6
Bind Time 1.73s (± 1.48%) 1.75s (± 1.32%) ~ 1.71s 1.78s p=0.192 n=6
Check Time 3.05s (± 0.48%) 3.04s (± 0.94%) ~ 3.00s 3.08s p=0.572 n=6
Emit Time 0.09s (± 0.00%) 0.09s (± 0.00%) ~ 0.09s 0.09s p=1.000 n=6
Total Time 8.92s (± 0.43%) 8.88s (± 0.44%) ~ 8.83s 8.94s p=0.258 n=6
Angular - node (v14.21.3, x64)
Memory used 362,191k (± 0.01%) 362,177k (± 0.01%) ~ 362,102k 362,226k p=0.810 n=6
Parse Time 3.73s (± 0.38%) 3.73s (± 0.53%) ~ 3.72s 3.77s p=1.000 n=6
Bind Time 1.22s (± 0.33%) 1.22s (± 0.68%) ~ 1.21s 1.23s p=0.285 n=6
Check Time 10.24s (± 0.45%) 10.25s (± 0.33%) ~ 10.22s 10.31s p=1.000 n=6
Emit Time 8.35s (± 0.48%) 8.33s (± 0.55%) ~ 8.27s 8.37s p=0.419 n=6
Total Time 23.54s (± 0.23%) 23.54s (± 0.35%) ~ 23.43s 23.67s p=1.000 n=6
Compiler-Unions - node (v14.21.3, x64)
Memory used 189,104k (± 0.01%) 189,131k (± 0.01%) +27k (+ 0.01%) 189,107k 189,163k p=0.020 n=6
Parse Time 1.61s (± 0.85%) 1.61s (± 0.99%) ~ 1.60s 1.64s p=0.672 n=6
Bind Time 0.85s (± 0.96%) 0.84s (± 0.65%) ~ 0.84s 0.85s p=0.859 n=6
Check Time 10.41s (± 0.33%) 10.40s (± 0.39%) ~ 10.36s 10.47s p=0.872 n=6
Emit Time 3.11s (± 0.83%) 3.10s (± 0.59%) ~ 3.08s 3.13s p=0.329 n=6
Total Time 15.99s (± 0.29%) 15.96s (± 0.33%) ~ 15.89s 16.04s p=0.318 n=6
Monaco - node (v14.21.3, x64)
Memory used 342,097k (± 0.00%) 342,113k (± 0.01%) ~ 342,087k 342,137k p=0.173 n=6
Parse Time 2.81s (± 0.35%) 2.80s (± 0.27%) ~ 2.79s 2.81s p=0.077 n=6
Bind Time 1.10s (± 0.57%) 1.10s (± 0.47%) ~ 1.09s 1.10s p=0.386 n=6
Check Time 8.39s (± 0.39%) 8.38s (± 0.28%) ~ 8.35s 8.41s p=1.000 n=6
Emit Time 4.67s (± 0.95%) 4.66s (± 0.40%) ~ 4.64s 4.69s p=0.625 n=6
Total Time 16.96s (± 0.30%) 16.94s (± 0.24%) ~ 16.88s 16.98s p=0.467 n=6
TFS - node (v14.21.3, x64)
Memory used 296,217k (± 0.00%) 296,215k (± 0.00%) ~ 296,201k 296,222k p=0.686 n=6
Parse Time 2.42s (± 0.80%) 2.44s (± 0.92%) ~ 2.42s 2.48s p=0.167 n=6
Bind Time 1.08s (± 0.48%) 1.09s (± 1.22%) +0.01s (+ 1.39%) 1.07s 1.11s p=0.039 n=6
Check Time 7.69s (± 0.33%) 7.72s (± 0.48%) ~ 7.68s 7.77s p=0.158 n=6
Emit Time 4.29s (± 0.56%) 4.34s (± 0.77%) +0.05s (+ 1.13%) 4.29s 4.39s p=0.024 n=6
Total Time 15.48s (± 0.19%) 15.58s (± 0.39%) +0.10s (+ 0.68%) 15.51s 15.69s p=0.008 n=6
material-ui - node (v14.21.3, x64)
Memory used 477,370k (± 0.00%) 477,380k (± 0.00%) ~ 477,362k 477,396k p=0.378 n=6
Parse Time 3.30s (± 0.19%) 3.30s (± 0.32%) ~ 3.29s 3.32s p=0.388 n=6
Bind Time 0.99s (± 0.82%) 0.99s (± 0.76%) ~ 0.98s 1.00s p=0.340 n=6
Check Time 19.30s (± 0.76%) 19.36s (± 0.71%) ~ 19.15s 19.48s p=0.423 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 23.59s (± 0.62%) 23.65s (± 0.59%) ~ 23.44s 23.77s p=0.470 n=6
xstate - node (v14.21.3, x64)
Memory used 550,243k (± 0.01%) 550,237k (± 0.01%) ~ 550,180k 550,268k p=1.000 n=6
Parse Time 4.21s (± 0.58%) 4.21s (± 0.51%) ~ 4.19s 4.25s p=0.677 n=6
Bind Time 1.70s (± 0.64%) 1.64s (± 2.60%) 🟩-0.06s (- 3.63%) 1.60s 1.69s p=0.012 n=6
Check Time 3.12s (± 0.78%) 3.13s (± 0.53%) ~ 3.10s 3.15s p=0.326 n=6
Emit Time 0.09s (± 0.00%) 0.09s (± 0.00%) ~ 0.09s 0.09s p=1.000 n=6
Total Time 9.12s (± 0.38%) 9.06s (± 0.55%) ~ 9.01s 9.13s p=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)
Benchmark Name Iterations
Current 54678 6
Baseline main 6

TSServer

Comparison Report - main..54678
Metric main 54678 Delta Best Worst p-value
Compiler-UnionsTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 2,529ms (± 1.09%) 2,550ms (± 0.89%) ~ 2,528ms 2,586ms p=0.378 n=6
Req 2 - geterr 5,436ms (± 0.57%) 5,442ms (± 0.69%) ~ 5,384ms 5,479ms p=0.873 n=6
Req 3 - references 345ms (± 1.23%) 341ms (± 0.40%) ~ 339ms 343ms p=0.226 n=6
Req 4 - navto 288ms (± 0.26%) 288ms (± 0.52%) ~ 285ms 289ms p=0.734 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 87ms (± 1.03%) 88ms (± 3.76%) ~ 85ms 93ms p=0.934 n=6
CompilerTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 2,618ms (± 1.02%) 2,619ms (± 1.14%) ~ 2,582ms 2,656ms p=1.000 n=6
Req 2 - geterr 4,161ms (± 0.60%) 4,160ms (± 0.56%) ~ 4,128ms 4,188ms p=1.000 n=6
Req 3 - references 357ms (± 0.99%) 354ms (± 0.66%) ~ 352ms 358ms p=0.147 n=6
Req 4 - navto 290ms (± 0.28%) 290ms (± 0.47%) ~ 288ms 292ms p=0.282 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 88ms (± 1.32%) 87ms (± 1.90%) ~ 84ms 88ms p=0.115 n=6
xstateTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 3,086ms (± 0.60%) 3,098ms (± 0.73%) ~ 3,070ms 3,125ms p=0.230 n=6
Req 2 - geterr 1,631ms (± 7.45%) 1,673ms (± 7.56%) ~ 1,538ms 1,810ms p=0.575 n=6
Req 3 - references 110ms (± 2.04%) 111ms (± 2.85%) ~ 107ms 116ms p=0.747 n=6
Req 4 - navto 374ms (± 0.52%) 374ms (± 0.40%) ~ 373ms 377ms p=0.935 n=6
Req 5 - completionInfo count 2,872 (± 0.00%) 2,872 (± 0.00%) ~ 2,872 2,872 p=1.000 n=6
Req 5 - completionInfo 386ms (± 2.87%) 387ms (± 2.22%) ~ 377ms 399ms p=0.873 n=6
Compiler-UnionsTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 2,625ms (± 0.45%) 2,619ms (± 0.44%) ~ 2,610ms 2,639ms p=0.575 n=6
Req 2 - geterr 6,110ms (± 0.34%) 6,068ms (± 0.65%) ~ 6,022ms 6,122ms p=0.093 n=6
Req 3 - references 355ms (± 0.61%) 355ms (± 0.53%) ~ 352ms 357ms p=1.000 n=6
Req 4 - navto 284ms (± 0.36%) 283ms (± 0.62%) ~ 280ms 285ms p=0.323 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 87ms (±11.05%) 88ms (± 8.97%) ~ 80ms 96ms p=0.742 n=6
CompilerTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 2,790ms (± 0.65%) 2,796ms (± 0.47%) ~ 2,784ms 2,821ms p=0.335 n=6
Req 2 - geterr 4,712ms (± 0.32%) 4,685ms (± 0.34%) -27ms (- 0.57%) 4,670ms 4,715ms p=0.019 n=6
Req 3 - references 364ms (± 0.75%) 363ms (± 0.71%) ~ 361ms 367ms p=0.745 n=6
Req 4 - navto 280ms (± 0.66%) 282ms (± 0.72%) ~ 280ms 286ms p=0.073 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 77ms (± 1.37%) 80ms (± 4.48%) ~ 76ms 84ms p=0.085 n=6
xstateTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 3,230ms (± 0.42%) 3,220ms (± 0.35%) ~ 3,206ms 3,231ms p=0.128 n=6
Req 2 - geterr 1,704ms (± 0.38%) 1,704ms (± 0.83%) ~ 1,687ms 1,719ms p=0.936 n=6
Req 3 - references 128ms (± 6.77%) 131ms (± 8.40%) ~ 123ms 146ms p=0.676 n=6
Req 4 - navto 351ms (± 0.38%) 351ms (± 0.59%) ~ 349ms 355ms p=0.802 n=6
Req 5 - completionInfo count 2,872 (± 0.00%) 2,872 (± 0.00%) ~ 2,872 2,872 p=1.000 n=6
Req 5 - completionInfo 411ms (± 1.71%) 405ms (± 1.70%) ~ 393ms 412ms p=0.228 n=6
Compiler-UnionsTSServer - node (v14.21.3, x64)
Req 1 - updateOpen 2,776ms (± 0.58%) 2,768ms (± 0.20%) ~ 2,761ms 2,774ms p=0.630 n=6
Req 2 - geterr 6,245ms (± 0.47%) 6,250ms (± 0.45%) ~ 6,213ms 6,294ms p=1.000 n=6
Req 3 - references 365ms (± 0.92%) 363ms (± 1.33%) ~ 357ms 371ms p=0.295 n=6
Req 4 - navto 290ms (± 0.49%) 290ms (± 0.53%) ~ 289ms 293ms p=0.868 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 103ms (± 8.08%) 101ms (± 7.56%) ~ 91ms 110ms p=0.466 n=6
CompilerTSServer - node (v14.21.3, x64)
Req 1 - updateOpen 2,934ms (± 0.76%) 2,935ms (± 0.62%) ~ 2,917ms 2,970ms p=1.000 n=6
Req 2 - geterr 4,610ms (± 0.44%) 4,614ms (± 0.33%) ~ 4,596ms 4,642ms p=0.873 n=6
Req 3 - references 376ms (± 0.29%) 376ms (± 0.39%) ~ 375ms 378ms p=1.000 n=6
Req 4 - navto 297ms (± 1.01%) 298ms (± 0.49%) ~ 297ms 300ms p=0.616 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 (± 1.52%) 84ms (± 0.90%) ~ 83ms 85ms p=0.301 n=6
xstateTSServer - node (v14.21.3, x64)
Req 1 - updateOpen 3,501ms (± 1.58%) 3,518ms (± 0.44%) ~ 3,500ms 3,544ms p=0.810 n=6
Req 2 - geterr 1,822ms (± 0.45%) 1,812ms (± 0.35%) -9ms (- 0.51%) 1,807ms 1,824ms p=0.037 n=6
Req 3 - references 150ms (± 5.91%) 151ms (± 6.32%) ~ 132ms 159ms p=0.413 n=6
Req 4 - navto 390ms (± 1.33%) 388ms (± 0.21%) ~ 387ms 389ms p=0.315 n=6
Req 5 - completionInfo count 2,872 (± 0.00%) 2,872 (± 0.00%) ~ 2,872 2,872 p=1.000 n=6
Req 5 - completionInfo 418ms (± 0.70%) 416ms (± 1.39%) ~ 409ms 425ms p=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)
Benchmark Name Iterations
Current 54678 6
Baseline main 6

Startup

Comparison Report - main..54678
Metric main 54678 Delta Best Worst p-value
tsc-startup - node (v16.17.1, x64)
Execution time 142.15ms (± 0.20%) 141.96ms (± 0.22%) -0.19ms (- 0.14%) 141.21ms 145.39ms p=0.000 n=600
tsserver-startup - node (v16.17.1, x64)
Execution time 221.50ms (± 0.15%) 221.34ms (± 0.21%) -0.16ms (- 0.07%) 220.09ms 230.16ms p=0.000 n=600
tsserverlibrary-startup - node (v16.17.1, x64)
Execution time 223.06ms (± 0.16%) 222.99ms (± 0.22%) -0.07ms (- 0.03%) 221.72ms 229.18ms p=0.000 n=600
typescript-startup - node (v16.17.1, x64)
Execution time 205.02ms (± 0.16%) 204.88ms (± 0.19%) -0.14ms (- 0.07%) 203.85ms 213.73ms p=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)
Benchmark Name Iterations
Current 54678 6
Baseline main 6

Developer Information:

Download Benchmark

@typescript-bot
Copy link
Collaborator

@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
Collaborator

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

@typescript-bot
Copy link
Collaborator

@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 force-pushed the refactor-export-map-bad-symbol-name branch from 1002594 to 2391c6c Compare September 13, 2023 03:44
@Jack-Works Jack-Works force-pushed the refactor-export-map-bad-symbol-name branch from 6b9ace2 to bbbf441 Compare September 13, 2023 04:59
@andrewbranch andrewbranch merged commit e7bb0eb into microsoft:main Sep 13, 2023
snovader pushed a commit to EG-A-S/TypeScript that referenced this pull request Sep 23, 2023
@Jack-Works Jack-Works deleted the refactor-export-map-bad-symbol-name branch December 30, 2023 13:05
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
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants