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

DOM update 2023/06/21 #54725

Merged
merged 1 commit into from Jun 21, 2023
Merged

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Jun 21, 2023

DOM update 2023/06/21

  1. Adds canParse to URL.
  2. Adds a fairly large and precise string union AutoFill generated by a number of template type literals. Used for many autocomplete properties.
  3. Adds Web Transport types.
  4. Adds popover support.
  5. Adds ToggleEvent.
  6. URLSearchParams adds size and delete/has adds optional second parameter.
  7. WASM's Global interface adds a type parameter T extends ValueType = ValueType, used to type value/valueOf. (type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128")

The only suspicious changes I see are (2) and (7); the former because it might be slow, the latter because I don't understand what Global is for, and adding a type parameter in the DOM has gone badly in the past.

Fixes #54280

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jun 21, 2023
@sandersn
Copy link
Member Author

@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 Jun 21, 2023

Heya @sandersn, I've started to run the diff-based user code test suite on this PR at 6cdba31. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 21, 2023

Heya @sandersn, I've started to run the diff-based top-repos suite on this PR at 6cdba31. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 21, 2023

Heya @sandersn, I've started to run the parallelized Definitely Typed test suite on this PR at 6cdba31. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 21, 2023

Heya @sandersn, I've started to run the perf test suite on this PR at 6cdba31. You can monitor the build here.

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 21, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 21, 2023

Heya @sandersn, I've started to run the extended test suite on this PR at 6cdba31. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jun 21, 2023

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

Update: The results are in!

@typescript-bot
Copy link
Collaborator

@sandersn Here are the results of running the user test suite comparing main and refs/pull/54725/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

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

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

Here they are:

Compiler

Comparison Report - main..54725
Metric main 54725 Delta Best Worst p-value
Angular - node (v18.10.0, x64)
Memory used 366,151k (± 0.01%) 366,409k (± 0.01%) +257k (+ 0.07%) 366,368k 366,464k p=0.005 n=6
Parse Time 3.41s (± 0.12%) 3.44s (± 0.78%) +0.03s (+ 0.83%) 3.42s 3.49s p=0.006 n=6
Bind Time 1.12s (± 0.46%) 1.12s (± 0.73%) ~ 1.10s 1.12s p=0.752 n=6
Check Time 8.81s (± 0.30%) 8.81s (± 0.43%) ~ 8.77s 8.86s p=0.870 n=6
Emit Time 7.44s (± 0.52%) 7.46s (± 0.50%) ~ 7.41s 7.51s p=0.570 n=6
Total Time 20.77s (± 0.26%) 20.83s (± 0.40%) ~ 20.71s 20.91s p=0.172 n=6
Compiler-Unions - node (v18.10.0, x64)
Memory used 191,738k (± 1.20%) 193,711k (± 1.61%) ~ 190,829k 196,677k p=0.093 n=6
Parse Time 1.50s (± 1.63%) 1.51s (± 1.43%) ~ 1.48s 1.54s p=0.416 n=6
Bind Time 0.77s (± 0.67%) 0.77s (± 0.53%) ~ 0.77s 0.78s p=0.114 n=6
Check Time 9.52s (± 0.37%) 9.47s (± 0.44%) ~ 9.40s 9.53s p=0.107 n=6
Emit Time 2.76s (± 1.01%) 2.74s (± 1.13%) ~ 2.70s 2.77s p=0.376 n=6
Total Time 14.55s (± 0.42%) 14.49s (± 0.43%) ~ 14.42s 14.60s p=0.172 n=6
Monaco - node (v18.10.0, x64)
Memory used 346,631k (± 0.01%) 346,607k (± 0.01%) ~ 346,585k 346,638k p=0.199 n=6
Parse Time 2.57s (± 1.01%) 2.59s (± 1.21%) ~ 2.55s 2.63s p=0.375 n=6
Bind Time 1.01s (± 1.02%) 1.01s (± 0.81%) ~ 1.00s 1.02s p=0.928 n=6
Check Time 7.19s (± 0.44%) 7.18s (± 0.51%) ~ 7.13s 7.22s p=0.629 n=6
Emit Time 4.25s (± 0.91%) 4.24s (± 0.93%) ~ 4.20s 4.30s p=0.807 n=6
Total Time 15.01s (± 0.55%) 15.01s (± 0.54%) ~ 14.90s 15.11s p=0.936 n=6
TFS - node (v18.10.0, x64)
Memory used 300,647k (± 0.00%) 300,661k (± 0.01%) ~ 300,628k 300,703k p=0.422 n=6
Parse Time 2.06s (± 1.50%) 2.06s (± 1.35%) ~ 2.03s 2.10s p=0.936 n=6
Bind Time 1.14s (± 0.86%) 1.14s (± 0.66%) ~ 1.13s 1.15s p=1.000 n=6
Check Time 6.63s (± 0.47%) 6.65s (± 0.57%) ~ 6.60s 6.69s p=0.376 n=6
Emit Time 3.86s (± 0.39%) 3.88s (± 0.53%) ~ 3.85s 3.90s p=0.244 n=6
Total Time 13.70s (± 0.45%) 13.73s (± 0.42%) ~ 13.65s 13.80s p=0.629 n=6
material-ui - node (v18.10.0, x64)
Memory used 481,069k (± 0.01%) 482,238k (± 0.01%) +1,170k (+ 0.24%) 482,168k 482,361k p=0.005 n=6
Parse Time 3.11s (± 0.32%) 3.13s (± 0.48%) ~ 3.11s 3.14s p=0.058 n=6
Bind Time 0.91s (± 0.56%) 0.92s (± 1.49%) ~ 0.91s 0.94s p=0.142 n=6
Check Time 16.88s (± 0.97%) 16.95s (± 0.45%) ~ 16.85s 17.04s p=0.470 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 20.91s (± 0.80%) 21.00s (± 0.40%) ~ 20.90s 21.10s p=0.334 n=6
xstate - node (v18.10.0, x64)
Memory used 563,155k (± 0.02%) 563,870k (± 0.03%) +715k (+ 0.13%) 563,724k 564,138k p=0.005 n=6
Parse Time 3.84s (± 0.74%) 3.82s (± 0.85%) ~ 3.79s 3.86s p=0.517 n=6
Bind Time 1.63s (± 0.50%) 1.63s (± 0.72%) ~ 1.61s 1.64s p=0.209 n=6
Check Time 2.79s (± 0.60%) 2.81s (± 0.35%) +0.02s (+ 0.66%) 2.80s 2.82s p=0.042 n=6
Emit Time 0.08s (± 0.00%) 0.08s (± 0.00%) ~ 0.08s 0.08s p=1.000 n=6
Total Time 8.34s (± 0.40%) 8.35s (± 0.54%) ~ 8.30s 8.42s p=0.935 n=6
Angular - node (v16.17.1, x64)
Memory used 365,510k (± 0.01%) 365,784k (± 0.01%) +274k (+ 0.07%) 365,735k 365,866k p=0.005 n=6
Parse Time 3.58s (± 1.08%) 3.57s (± 0.62%) ~ 3.55s 3.60s p=0.870 n=6
Bind Time 1.18s (± 0.54%) 1.18s (± 0.64%) ~ 1.17s 1.19s p=0.718 n=6
Check Time 9.63s (± 0.36%) 9.64s (± 0.25%) ~ 9.60s 9.67s p=0.518 n=6
Emit Time 7.97s (± 0.58%) 7.90s (± 0.30%) -0.07s (- 0.88%) 7.86s 7.93s p=0.010 n=6
Total Time 22.36s (± 0.44%) 22.30s (± 0.24%) ~ 22.21s 22.37s p=0.148 n=6
Compiler-Unions - node (v16.17.1, x64)
Memory used 193,151k (± 0.70%) 193,174k (± 0.69%) ~ 192,580k 195,901k p=0.689 n=6
Parse Time 1.58s (± 1.90%) 1.58s (± 1.52%) ~ 1.55s 1.60s p=0.677 n=6
Bind Time 0.83s (± 0.66%) 0.83s (± 0.99%) ~ 0.82s 0.84s p=0.859 n=6
Check Time 10.22s (± 0.72%) 10.18s (± 0.88%) ~ 10.08s 10.32s p=0.296 n=6
Emit Time 3.02s (± 1.50%) 3.00s (± 0.44%) ~ 2.98s 3.01s p=0.325 n=6
Total Time 15.65s (± 0.57%) 15.59s (± 0.77%) ~ 15.43s 15.77s p=0.297 n=6
Monaco - node (v16.17.1, x64)
Memory used 345,881k (± 0.01%) 345,870k (± 0.00%) ~ 345,853k 345,895k p=0.261 n=6
Parse Time 2.73s (± 0.23%) 2.73s (± 0.72%) ~ 2.71s 2.76s p=1.000 n=6
Bind Time 1.08s (± 0.70%) 1.09s (± 0.69%) ~ 1.08s 1.10s p=0.062 n=6
Check Time 7.87s (± 0.43%) 7.86s (± 0.47%) ~ 7.80s 7.90s p=0.871 n=6
Emit Time 4.47s (± 0.73%) 4.46s (± 0.88%) ~ 4.43s 4.54s p=0.463 n=6
Total Time 16.15s (± 0.22%) 16.15s (± 0.44%) ~ 16.06s 16.27s p=1.000 n=6
TFS - node (v16.17.1, x64)
Memory used 299,999k (± 0.01%) 299,999k (± 0.01%) ~ 299,975k 300,025k p=0.873 n=6
Parse Time 2.16s (± 0.70%) 2.16s (± 0.92%) ~ 2.15s 2.20s p=0.406 n=6
Bind Time 1.24s (± 0.61%) 1.24s (± 0.97%) ~ 1.23s 1.26s p=0.867 n=6
Check Time 7.30s (± 0.41%) 7.31s (± 0.45%) ~ 7.28s 7.36s p=0.515 n=6
Emit Time 4.32s (± 0.81%) 4.36s (± 0.70%) ~ 4.31s 4.40s p=0.090 n=6
Total Time 15.03s (± 0.39%) 15.07s (± 0.55%) ~ 14.98s 15.22s p=0.574 n=6
material-ui - node (v16.17.1, x64)
Memory used 480,317k (± 0.01%) 481,445k (± 0.01%) +1,128k (+ 0.23%) 481,389k 481,486k p=0.005 n=6
Parse Time 3.25s (± 0.49%) 3.26s (± 0.39%) ~ 3.25s 3.28s p=0.357 n=6
Bind Time 0.94s (± 0.80%) 0.95s (± 1.04%) ~ 0.94s 0.96s p=0.300 n=6
Check Time 17.95s (± 0.53%) 17.91s (± 0.72%) ~ 17.77s 18.08s p=0.226 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 22.14s (± 0.43%) 22.13s (± 0.66%) ~ 21.96s 22.31s p=0.375 n=6
xstate - node (v16.17.1, x64)
Memory used 560,712k (± 0.03%) 561,377k (± 0.02%) +666k (+ 0.12%) 561,214k 561,480k p=0.005 n=6
Parse Time 4.00s (± 0.50%) 4.01s (± 0.41%) ~ 3.99s 4.03s p=0.627 n=6
Bind Time 1.76s (± 0.46%) 1.76s (± 0.62%) ~ 1.75s 1.78s p=0.666 n=6
Check Time 3.06s (± 0.34%) 3.06s (± 0.90%) ~ 3.03s 3.10s p=1.000 n=6
Emit Time 0.09s (± 0.00%) 0.09s (± 0.00%) ~ 0.09s 0.09s p=1.000 n=6
Total Time 8.90s (± 0.20%) 8.92s (± 0.48%) ~ 8.88s 8.98s p=0.517 n=6
Angular - node (v14.21.3, x64)
Memory used 359,550k (± 0.01%) 359,783k (± 0.01%) +233k (+ 0.06%) 359,748k 359,824k p=0.005 n=6
Parse Time 3.67s (± 0.71%) 3.68s (± 0.64%) ~ 3.64s 3.71s p=0.744 n=6
Bind Time 1.22s (± 0.52%) 1.22s (± 0.67%) ~ 1.20s 1.22s p=0.599 n=6
Check Time 10.12s (± 0.36%) 10.10s (± 0.34%) ~ 10.04s 10.14s p=0.335 n=6
Emit Time 8.39s (± 0.99%) 8.36s (± 0.95%) ~ 8.26s 8.47s p=0.630 n=6
Total Time 23.40s (± 0.56%) 23.36s (± 0.41%) ~ 23.20s 23.46s p=0.261 n=6
Compiler-Unions - node (v14.21.3, x64)
Memory used 187,951k (± 0.01%) 187,924k (± 0.01%) ~ 187,892k 187,960k p=0.092 n=6
Parse Time 1.62s (± 0.68%) 1.62s (± 0.82%) ~ 1.60s 1.64s p=0.869 n=6
Bind Time 0.85s (± 0.48%) 0.85s (± 0.96%) ~ 0.84s 0.86s p=0.584 n=6
Check Time 10.35s (± 0.54%) 10.35s (± 0.50%) ~ 10.27s 10.41s p=0.748 n=6
Emit Time 3.15s (± 0.59%) 3.13s (± 0.66%) ~ 3.10s 3.15s p=0.122 n=6
Total Time 15.97s (± 0.37%) 15.94s (± 0.45%) ~ 15.84s 16.00s p=0.257 n=6
Monaco - node (v14.21.3, x64)
Memory used 341,055k (± 0.00%) 341,024k (± 0.01%) ~ 340,954k 341,061k p=0.149 n=6
Parse Time 2.81s (± 0.45%) 2.81s (± 1.22%) ~ 2.78s 2.88s p=0.567 n=6
Bind Time 1.11s (± 0.46%) 1.11s (± 0.37%) ~ 1.11s 1.12s p=0.595 n=6
Check Time 8.21s (± 0.41%) 8.20s (± 0.32%) ~ 8.17s 8.23s p=0.295 n=6
Emit Time 4.70s (± 0.93%) 4.68s (± 0.81%) ~ 4.64s 4.75s p=0.629 n=6
Total Time 16.83s (± 0.41%) 16.80s (± 0.35%) ~ 16.73s 16.88s p=0.520 n=6
TFS - node (v14.21.3, x64)
Memory used 295,154k (± 0.00%) 295,149k (± 0.00%) ~ 295,144k 295,153k p=0.228 n=6
Parse Time 2.40s (± 0.86%) 2.41s (± 0.48%) ~ 2.39s 2.42s p=0.933 n=6
Bind Time 1.07s (± 0.84%) 1.07s (± 1.15%) ~ 1.04s 1.07s p=0.654 n=6
Check Time 7.64s (± 0.65%) 7.66s (± 0.61%) ~ 7.61s 7.73s p=0.936 n=6
Emit Time 4.35s (± 0.89%) 4.36s (± 1.20%) ~ 4.27s 4.43s p=0.467 n=6
Total Time 15.47s (± 0.35%) 15.50s (± 0.62%) ~ 15.38s 15.61s p=0.810 n=6
material-ui - node (v14.21.3, x64)
Memory used 475,892k (± 0.01%) 477,002k (± 0.01%) +1,110k (+ 0.23%) 476,940k 477,025k p=0.005 n=6
Parse Time 3.34s (± 0.86%) 3.36s (± 0.36%) ~ 3.34s 3.37s p=0.220 n=6
Bind Time 1.00s (± 0.63%) 1.00s (± 0.41%) ~ 1.00s 1.01s p=0.673 n=6
Check Time 18.88s (± 0.65%) 18.88s (± 0.52%) ~ 18.78s 19.07s p=0.872 n=6
Emit Time 0.00s (± 0.00%) 0.00s (± 0.00%) ~ 0.00s 0.00s p=1.000 n=6
Total Time 23.22s (± 0.51%) 23.24s (± 0.46%) ~ 23.11s 23.43s p=0.574 n=6
xstate - node (v14.21.3, x64)
Memory used 549,649k (± 0.00%) 550,373k (± 0.00%) +724k (+ 0.13%) 550,356k 550,390k p=0.005 n=6
Parse Time 4.25s (± 0.58%) 4.23s (± 0.49%) ~ 4.21s 4.27s p=0.191 n=6
Bind Time 1.67s (± 0.50%) 1.68s (± 0.31%) ~ 1.68s 1.69s p=0.073 n=6
Check Time 3.16s (± 0.74%) 3.16s (± 0.60%) ~ 3.13s 3.18s p=0.808 n=6
Emit Time 0.09s (± 0.00%) 0.09s (± 0.00%) ~ 0.09s 0.09s p=1.000 n=6
Total Time 9.17s (± 0.40%) 9.17s (± 0.32%) ~ 9.14s 9.21s p=0.686 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 54725 6
Baseline main 6

TSServer

Comparison Report - main..54725
Metric main 54725 Delta Best Worst p-value
Compiler-UnionsTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 2,544ms (± 0.41%) 2,540ms (± 0.36%) ~ 2,524ms 2,548ms p=0.747 n=6
Req 2 - geterr 5,568ms (± 0.62%) 5,564ms (± 0.74%) ~ 5,504ms 5,615ms p=1.000 n=6
Req 3 - references 336ms (± 0.59%) 336ms (± 0.58%) ~ 333ms 338ms p=0.461 n=6
Req 4 - navto 289ms (± 2.02%) 287ms (± 0.28%) ~ 286ms 288ms p=0.870 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 85ms (± 1.16%) 85ms (± 0.99%) ~ 83ms 85ms p=0.445 n=6
CompilerTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 2,637ms (± 0.79%) 2,656ms (± 0.53%) ~ 2,635ms 2,675ms p=0.128 n=6
Req 2 - geterr 4,278ms (± 1.76%) 4,296ms (± 0.48%) ~ 4,268ms 4,330ms p=0.689 n=6
Req 3 - references 356ms (± 5.45%) 351ms (± 0.47%) ~ 349ms 353ms p=0.090 n=6
Req 4 - navto 287ms (± 0.52%) 288ms (± 0.41%) ~ 286ms 289ms p=0.187 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 64ms (± 4.29%) 67ms (± 5.27%) ~ 62ms 69ms p=0.310 n=6
xstateTSServer - node (v18.10.0, x64)
Req 1 - updateOpen 3,079ms (± 0.64%) 3,095ms (± 0.44%) ~ 3,079ms 3,116ms p=0.230 n=6
Req 2 - geterr 1,560ms (± 1.02%) 1,570ms (± 1.34%) ~ 1,539ms 1,597ms p=0.378 n=6
Req 3 - references 113ms (± 0.93%) 113ms (± 1.54%) ~ 112ms 116ms p=0.558 n=6
Req 4 - navto 359ms (± 0.34%) 368ms (± 0.40%) +9ms (+ 2.56%) 366ms 370ms p=0.005 n=6
Req 5 - completionInfo count 2,864 (± 0.00%) 2,870 (± 0.00%) +6 (+ 0.21%) 2,870 2,870 p=0.001 n=6
Req 5 - completionInfo 376ms (± 2.04%) 374ms (± 2.41%) ~ 363ms 386ms p=0.936 n=6
Compiler-UnionsTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 2,665ms (± 0.56%) 2,658ms (± 0.77%) ~ 2,633ms 2,682ms p=0.689 n=6
Req 2 - geterr 6,019ms (± 0.44%) 6,023ms (± 0.52%) ~ 5,989ms 6,072ms p=1.000 n=6
Req 3 - references 353ms (± 0.53%) 351ms (± 0.43%) ~ 350ms 354ms p=0.289 n=6
Req 4 - navto 287ms (± 1.30%) 287ms (± 1.42%) ~ 282ms 294ms p=1.000 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 89ms (± 5.55%) 93ms (± 1.58%) ~ 91ms 95ms p=0.120 n=6
CompilerTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 2,841ms (± 0.80%) 2,849ms (± 0.60%) ~ 2,832ms 2,873ms p=0.298 n=6
Req 2 - geterr 4,678ms (± 0.57%) 4,679ms (± 0.56%) ~ 4,631ms 4,703ms p=1.000 n=6
Req 3 - references 364ms (± 0.33%) 366ms (± 0.41%) ~ 364ms 368ms p=0.219 n=6
Req 4 - navto 282ms (± 0.62%) 284ms (± 0.91%) ~ 279ms 287ms p=0.183 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 68ms (± 1.11%) 68ms (± 0.60%) ~ 68ms 69ms p=0.389 n=6
xstateTSServer - node (v16.17.1, x64)
Req 1 - updateOpen 3,213ms (± 0.41%) 3,238ms (± 0.37%) +24ms (+ 0.76%) 3,225ms 3,256ms p=0.020 n=6
Req 2 - geterr 1,718ms (± 0.53%) 1,721ms (± 0.60%) ~ 1,711ms 1,737ms p=0.688 n=6
Req 3 - references 122ms (± 1.31%) 123ms (± 1.08%) ~ 121ms 124ms p=0.154 n=6
Req 4 - navto 341ms (± 0.76%) 352ms (± 0.83%) +12ms (+ 3.38%) 349ms 356ms p=0.005 n=6
Req 5 - completionInfo count 2,864 (± 0.00%) 2,870 (± 0.00%) +6 (+ 0.21%) 2,870 2,870 p=0.001 n=6
Req 5 - completionInfo 412ms (± 1.03%) 404ms (± 1.10%) -8ms (- 1.90%) 395ms 407ms p=0.005 n=6
Compiler-UnionsTSServer - node (v14.21.3, x64)
Req 1 - updateOpen 2,788ms (± 0.37%) 2,812ms (± 0.40%) +24ms (+ 0.86%) 2,799ms 2,828ms p=0.008 n=6
Req 2 - geterr 6,202ms (± 0.94%) 6,196ms (± 0.78%) ~ 6,135ms 6,245ms p=1.000 n=6
Req 3 - references 372ms (± 5.04%) 364ms (± 0.61%) ~ 361ms 367ms p=0.419 n=6
Req 4 - navto 290ms (± 0.95%) 289ms (± 0.28%) ~ 288ms 290ms p=0.740 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 97ms (± 6.11%) 101ms (± 1.63%) ~ 98ms 103ms p=0.746 n=6
CompilerTSServer - node (v14.21.3, x64)
Req 1 - updateOpen 2,989ms (± 0.34%) 2,982ms (± 0.53%) ~ 2,966ms 3,009ms p=0.297 n=6
Req 2 - geterr 4,554ms (± 0.89%) 4,542ms (± 0.56%) ~ 4,501ms 4,575ms p=0.378 n=6
Req 3 - references 373ms (± 1.03%) 373ms (± 0.71%) ~ 370ms 377ms p=0.935 n=6
Req 4 - navto 298ms (± 0.72%) 298ms (± 0.25%) ~ 297ms 299ms p=0.463 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 (± 2.51%) 77ms (± 3.33%) ~ 75ms 82ms p=0.325 n=6
xstateTSServer - node (v14.21.3, x64)
Req 1 - updateOpen 3,468ms (± 0.91%) 3,456ms (± 1.29%) ~ 3,391ms 3,497ms p=0.936 n=6
Req 2 - geterr 1,835ms (± 0.34%) 1,826ms (± 0.69%) ~ 1,811ms 1,839ms p=0.470 n=6
Req 3 - references 158ms (± 5.55%) 151ms (± 8.56%) ~ 131ms 163ms p=0.196 n=6
Req 4 - navto 407ms (± 2.10%) 396ms (± 2.39%) ~ 385ms 413ms p=0.054 n=6
Req 5 - completionInfo count 2,864 (± 0.00%) 2,870 (± 0.00%) +6 (+ 0.21%) 2,870 2,870 p=0.001 n=6
Req 5 - completionInfo 434ms (± 3.08%) 428ms (± 3.03%) ~ 406ms 439ms p=0.173 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 54725 6
Baseline main 6

Startup

Comparison Report - main..54725
Metric main 54725 Delta Best Worst p-value
tsc-startup - node (v16.17.1, x64)
Execution time 141.48ms (± 0.22%) 141.91ms (± 0.22%) +0.43ms (+ 0.31%) 141.06ms 147.70ms p=0.000 n=600
tsserver-startup - node (v16.17.1, x64)
Execution time 220.54ms (± 0.19%) 221.34ms (± 0.16%) +0.80ms (+ 0.36%) 220.29ms 225.15ms p=0.000 n=600
tsserverlibrary-startup - node (v16.17.1, x64)
Execution time 221.94ms (± 0.21%) 222.59ms (± 0.16%) +0.65ms (+ 0.29%) 221.44ms 225.53ms p=0.000 n=600
typescript-startup - node (v16.17.1, x64)
Execution time 203.90ms (± 0.27%) 204.27ms (± 0.17%) +0.36ms (+ 0.18%) 203.32ms 210.30ms 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 54725 6
Baseline main 6

Developer Information:

Download Benchmark

@typescript-bot
Copy link
Collaborator

@sandersn Here are the results of running the top-repos suite comparing main and refs/pull/54725/merge:

Everything looks good!

@typescript-bot
Copy link
Collaborator

Hey @sandersn, it looks like the DT test run failed. Please check the log for more details.
You can check the log here.

@typescript-bot
Copy link
Collaborator

@sandersn Here are the results of running the top-repos suite comparing main and refs/pull/54725/merge:

Everything looks good!

@sandersn
Copy link
Member Author

Perf looks OK, just a little more memory used than before.

@sandersn sandersn merged commit e69a0b0 into microsoft:main Jun 21, 2023
17 checks passed
@sandersn sandersn deleted the dom-update-2023-06-21 branch June 29, 2023 23:41
@jpzwarte
Copy link

jpzwarte commented Jul 1, 2023

@sandersn this doesn't include the beforetoggle event from popover? https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/beforetoggle_event

@@ -20897,8 +20964,6 @@ interface ScreenOrientation extends EventTarget {
onchange: ((this: ScreenOrientation, ev: Event) => any) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type) */
readonly type: OrientationType;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/lock) */
lock(orientation: OrientationLockType): Promise<void>;

Choose a reason for hiding this comment

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

Is this change correct? It seems like this shouldn't be removed

Choose a reason for hiding this comment

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

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.

lib.d.ts Updates for TypeScript 5.2
5 participants