← 输入框|github.com|刷新
Skip to content

Update DOM types - #65487

Open
Jake Bailey (jakebailey) wants to merge 1 commit into
microsoft:mainfrom
jakebailey:update-dom-2026-11-13
Open

Jake Bailey (jakebailey) wants to merge 1 commit into
microsoft:mainfrom
jakebailey:update-dom-2026-11-13

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

This pulls in the latest DOM types.

  • Speech recognition: Adds SpeechRecognition, SpeechRecognitionPhrase, speech grammar interfaces, and local recognition availability and installation APIs.
  • IndexedDB and service workers: Adds IDBIndex.getAllRecords(), IDBObjectStore.getAllRecords(), and service worker static routing via InstallEvent.addRoutes().
  • WebTransport: Adds send groups, writable datagrams, response headers, a draining promise, and stream and datagram options.
  • HTML and accessibility: Adds Document.parseHTML(), ShadowRoot.setHTML(), ariaNotify(), HTMLSelectedContentElement, a typed XHTML createElementNS() overload, and CommandEvent types for command handlers.
  • Graphics and performance: Adds WebGL extensions, WebGPU compilation hints and additional options, typed performance-entry overloads, and service worker resource-timing properties.
  • Other additions: ReadableStream.from(), generic return types for Scheduler.postTask(), SVG hyperlink properties, and additional CSS properties.
  • Potential compatibility changes: MutationObserver.observe() now requires its options argument; ViewTimeline requires an options object with a subject; speech recognition result item() methods can return null; and RTCRtpEncodingParameters.totalEncodedBytesTarget is removed.

Copilot AI balanced review requested due to automatic review settings November 13, 2026 19:06
@github-project-automation github-project-automation Bot moved this to Not started in PR Backlog Nov 13, 2026
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 13, 2026
@jakebailey

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) test it

@typescript-automation

typescript-automation Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Install-event callbacks do not expose addRoutes, and both getAllRecords() declarations lose the known IDBRecord[] result type by returning unparameterized IDBRequest.

No open issues 🎉

What changed in this PR

Updates the native TypeScript compiler’s bundled web-platform declarations and adjusts affected compiler baselines.

Changes:

  • Adds worker API declarations for service-worker routing, IndexedDB records, WebTransport, and graphics features.
  • Refines existing API types and refreshes documentation comments.
  • Updates baselines to reflect new global names and DOM members.
File Description
tsc/​testdata/​baselines/​reference/​conformance/​globalThisBlockscopedProperties.types Records newly available global API names.
tsc/​testdata/​baselines/​reference/​compiler/​mappedTypeRecursiveInference.errors.txt Includes ariaNotify in the expanded DOM diagnostic.
tsc/​internal/​bundled/​libs/​lib.webworker.d.ts Refreshes worker API declarations and documentation.

Review effort: Balanced

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Jake Bailey (@jakebailey), the results of running the DT tests are ready.

There were interesting changes:

Branch only errors: dom-speech-recognition

Package: dom-speech-recognition

Branch error:

Project scope: tsconfig.json

Error: types/dom-speech-recognition/index.d.ts:63:5
TypeScript@local compile error TS2687:
All declarations of 'processLocally' must have identical modifiers.

types/dom-speech-recognition/index.d.ts:63:5
TypeScript@local compile error TS2717:
Subsequent property declarations must have the same type.  Property 'processLocally' must be of type 'boolean | undefined', but here has type 'boolean'.

types/dom-speech-recognition/index.d.ts:142:5
TypeScript@local compile error TS2374:
Duplicate index signature for type 'number'.

types/dom-speech-recognition/dom-speech-recognition-tests.ts:24:7
TypeScript@local compile error TS2741:
Property '[Symbol.iterator]' is missing in type '{ length: number; addFromString: (string: string, weight?: number) => undefined; addFromURI: (src: string, weight?: number) => undefined; item: (index: number) => SpeechGrammar; }' but required in type 'SpeechGrammarList'.

types/dom-speech-recognition/dom-speech-recognition-tests.ts:33:7
TypeScript@local compile error TS2739:
Type '{ continuous: true; grammars: SpeechGrammarList; interimResults: false; lang: string; maxAlternatives: number; processLocally: true; onaudioend: null; onaudiostart: null; onend: null; onerror: null; onnomatch: null; ... 11 more ...; removeEventListener: (type: string, listener: EventListenerOrEventListenerObject, op...' is missing the following properties from type 'SpeechRecognition': phrases, unspokenPunctuation

types/dom-speech-recognition/dom-speech-recognition-tests.ts:70:5
TypeScript@local compile error TS2322:
Type '(audioTrack: MediaStreamTrack) => undefined' is not assignable to type '{ (): void; (audioTrack: MediaStreamTrack): void; (audioTrack?: MediaStreamTrack | undefined): void; }'.
  Target signature provides too few arguments. Expected 1 or more, but got 0.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node

Package: node

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/node-tests/perf_hooks.ts:115:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark

types/node/node-tests/perf_hooks.ts:117:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node/v22

Package: node/v22

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/v22/test/perf_hooks.ts:115:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark

types/node/v22/test/perf_hooks.ts:117:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node/v24

Package: node/v24

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/v24/test/perf_hooks.ts:115:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark

types/node/v24/test/perf_hooks.ts:117:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: node/v25

Package: node/v25

Branch error:

Project scope: tsconfig.dom.json, tsconfig.non-dom.json, tsconfig.webworker.json

Error: types/node/v25/node-tests/perf_hooks.ts:115:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark

types/node/v25/node-tests/perf_hooks.ts:117:1
TypeScript@local tsconfig.dom.json, local tsconfig.webworker.json expected type to be:
  PerformanceEntry
got:
  PerformanceMark
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: dom-webcodecs

Package: dom-webcodecs

Branch error:

Project scope: tsconfig.json

Error: types/dom-webcodecs/webcodecs.generated.d.ts:16:5
TypeScript@local compile error TS2717:
Subsequent property declarations must have the same type.  Property 'data' must be of type 'AllowSharedBufferSource', but here has type 'BufferSource'.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)

Full output in the log.

@typescript-automation

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the user tests with tsc comparing baseline and pr:

Everything looks good!

@typescript-automation

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - native
Errors 41 41 ~ ~ ~ p=1.000 n=40
Symbols 88,466 88,466 ~ ~ ~ p=1.000 n=40
Types 79,606 79,606 ~ ~ ~ p=1.000 n=40
Memory Used 106,419k (± 0.02%) 106,392k (± 0.02%) ~ 106,238k 106,548k p=0.060 n=40
Memory Allocs 1,261,932 (± 0.00%) 1,261,922 (± 0.01%) ~ 1,261,054 1,262,399 p=0.599 n=40
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Parse Time 0.022s (± 1.35%) 0.022s (± 2.13%) ~ 0.018s 0.027s p=0.702 n=40
Bind Time 0.009s (± 6.29%) 0.009s (± 3.28%) ~ 0.007s 0.011s p=0.618 n=40
Check Time 0.209s (± 1.40%) 0.211s (± 1.61%) ~ 0.189s 0.240s p=0.143 n=40
Emit Time 0.138s (± 1.83%) 0.138s (± 1.99%) ~ 0.122s 0.155s p=0.392 n=40
Total Time 0.381s (± 1.43%) 0.384s (± 1.55%) ~ 0.345s 0.432s p=0.244 n=40
angular-1 - native
Errors 63 63 ~ ~ ~ p=1.000 n=40
Symbols 756,637 754,420 -2,217 (- 0.29%) ~ ~ p=0.000 n=40
Types 549,423 547,690 -1,733 (- 0.32%) ~ ~ p=0.000 n=40
Memory Used 643,847k (± 0.01%) 642,933k (± 0.01%) -899k (- 0.14%) 642,352k 643,395k p=0.000 n=40
Memory Allocs 9,555,714 (± 0.06%) 9,540,918 (± 0.03%) -13,548 (- 0.14%) 9,536,005 9,584,617 p=0.000 n=40
Config Time 0.007s (± 2.29%) 0.007s (± 2.23%) 🔻+0.000s (+ 6.90%) 0.006s 0.008s p=0.017 n=40
Parse Time 0.127s (± 3.47%) 0.125s (± 3.64%) ~ 0.105s 0.181s p=0.468 n=40
Bind Time 0.044s (± 6.50%) 0.045s (± 7.40%) ~ 0.034s 0.068s p=0.759 n=40
Check Time 0.646s (± 0.87%) 0.663s (± 1.25%) +0.015s (+ 2.36%) 0.601s 0.736s p=0.002 n=40
Emit Time 0.402s (± 0.79%) 0.408s (± 1.05%) +0.005s (+ 1.20%) 0.377s 0.444s p=0.035 n=40
Total Time 1.241s (± 0.78%) 1.261s (± 0.93%) +0.018s (+ 1.47%) 1.159s 1.337s p=0.001 n=40
arktype - native
Errors 0 0 ~ ~ ~ p=1.000 n=40
Symbols 686,116 686,116 ~ ~ ~ p=1.000 n=40
Types 939,781 939,781 ~ ~ ~ p=1.000 n=40
Memory Used 475,948k (± 0.01%) 475,958k (± 0.01%) ~ 475,740k 476,237k p=0.826 n=40
Memory Allocs 12,064,021 (± 0.01%) 12,063,917 (± 0.01%) ~ 12,060,287 12,084,303 p=0.485 n=40
Config Time 0.001s (± 9.03%) 0.001s (± 0.77%) ~ 0.001s 0.001s p=1.000 n=40
Parse Time 0.041s (± 3.17%) 0.040s (± 2.64%) ~ 0.035s 0.047s p=0.330 n=40
Bind Time 0.014s (± 7.73%) 0.014s (± 6.76%) ~ 0.011s 0.020s p=0.876 n=40
Check Time 0.865s (± 0.90%) 0.861s (± 1.00%) ~ 0.800s 0.917s p=0.765 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 0.949s (± 0.82%) 0.943s (± 0.88%) ~ 0.888s 0.997s p=0.656 n=40
class-transformer - native
Errors 0 0 ~ ~ ~ p=1.000 n=40
Symbols 45,376 45,376 ~ ~ ~ p=1.000 n=40
Types 7,573 7,573 ~ ~ ~ p=1.000 n=40
Memory Used 27,746k (± 0.02%) 27,747k (± 0.02%) ~ 27,712k 27,784k p=0.994 n=40
Memory Allocs 248,535 (± 0.02%) 248,588 (± 0.04%) ~ 248,035 249,604 p=0.485 n=40
Config Time 0.001s (± 9.65%) 0.001s (±12.44%) ~ 0.000s 0.001s p=0.525 n=40
Parse Time 0.011s (± 2.49%) 0.012s (± 3.14%) ~ 0.009s 0.016s p=0.763 n=40
Bind Time 0.003s (± 7.25%) 0.003s (± 6.43%) ~ 0.002s 0.005s p=0.431 n=40
Check Time 0.008s (± 3.63%) 0.008s (± 4.07%) ~ 0.006s 0.010s p=0.381 n=40
Emit Time 0.008s (± 4.76%) 0.008s (± 4.55%) ~ 0.006s 0.010s p=0.227 n=40
Total Time 0.032s (± 1.56%) 0.032s (± 1.97%) ~ 0.027s 0.037s p=0.524 n=40
effect - native
Errors 12 12 ~ ~ ~ p=1.000 n=40
Symbols 1,235,134 1,273,279 +38,145 (+ 3.09%) ~ ~ p=0.000 n=40
Types 893,420 914,106 +20,686 (+ 2.32%) ~ ~ p=0.000 n=40
Memory Used 941,340k (± 0.01%) 954,940k (± 0.01%) +13,610k (+ 1.45%) 954,120k 956,118k p=0.000 n=40
Memory Allocs 12,628,973 (± 0.03%) 12,807,229 (± 0.05%) +175,269 (+ 1.39%) 12,790,835 12,898,426 p=0.000 n=40
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=40
Parse Time 0.149s (± 3.46%) 0.148s (± 1.56%) ~ 0.134s 0.175s p=0.963 n=40
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Check Time 0.871s (± 0.87%) 0.977s (± 0.69%) 🔻+0.104s (+11.99%) 0.924s 1.030s p=0.000 n=40
Emit Time 0.482s (± 1.16%) 0.471s (± 1.13%) -0.011s (- 2.29%) 0.422s 0.505s p=0.007 n=40
Total Time 1.600s (± 0.65%) 1.692s (± 0.58%) 🔻+0.091s (+ 5.68%) 1.611s 1.755s p=0.000 n=40
mui-docs - native
Errors 11,405 11,405 ~ ~ ~ p=1.000 n=40
Symbols 3,782,394 3,729,648 -52,746 (- 1.39%) ~ ~ p=0.000 n=40
Types 1,355,774 1,342,479 -13,295 (- 0.98%) ~ ~ p=0.000 n=40
Memory Used 1,678,441k (± 0.05%) 1,672,231k (± 0.05%) -6,266k (- 0.37%) 1,666,538k 1,678,201k p=0.000 n=40
Memory Allocs 25,591,916 (± 0.04%) 25,675,831 (± 0.07%) +78,873 (+ 0.31%) 25,595,427 25,880,538 p=0.000 n=40
Config Time 0.006s (± 0.80%) 0.006s (± 0.07%) ~ 0.006s 0.006s p=1.000 n=40
Parse Time 0.266s (± 1.24%) 0.268s (± 1.86%) ~ 0.231s 0.336s p=0.590 n=40
Bind Time 0.001s (±13.09%) 0.001s (± 1.13%) ~ 0.001s 0.001s p=1.000 n=40
Check Time 2.794s (± 0.53%) 2.871s (± 0.67%) +0.077s (+ 2.76%) 2.775s 3.049s p=0.000 n=40
Emit Time 0.239s (± 0.99%) 0.239s (± 0.94%) ~ 0.225s 0.256s p=0.670 n=40
Total Time 3.772s (± 0.50%) 3.856s (± 0.58%) +0.083s (+ 2.20%) 3.739s 4.088s p=0.000 n=40
sentry - native
Errors 2 2 ~ ~ ~ p=1.000 n=40
Symbols 4,793,266 4,700,253 -93,013 (- 1.94%) ~ ~ p=0.000 n=40
Types 2,607,044 2,550,782 -56,262 (- 2.16%) ~ ~ p=0.000 n=40
Memory Used 2,798,591k (± 0.02%) 2,745,055k (± 0.02%) -53,500k (- 1.91%) 2,741,915k 2,753,277k p=0.000 n=40
Memory Allocs 74,652,730 (± 0.04%) 71,766,345 (± 0.05%) 🟩-2,882,762 (- 3.86%) 71,495,043 71,994,710 p=0.000 n=40
Config Time 0.018s (± 2.26%) 0.018s (± 2.14%) ~ 0.017s 0.024s p=0.843 n=40
Parse Time 0.471s (± 3.05%) 0.481s (± 3.54%) ~ 0.410s 0.634s p=0.510 n=40
Bind Time 0.152s (± 6.91%) 0.153s (± 6.44%) ~ 0.115s 0.230s p=0.778 n=40
Check Time 6.731s (± 0.52%) 6.668s (± 0.65%) -0.066s (- 0.99%) 6.405s 7.063s p=0.001 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 7.423s (± 0.54%) 7.373s (± 0.72%) -0.063s (- 0.84%) 7.097s 7.851s p=0.008 n=40
social-app - native
Errors 0 0 ~ ~ ~ p=1.000 n=40
Symbols 1,883,060 1,877,956 -5,104 (- 0.27%) ~ ~ p=0.000 n=40
Types 1,158,079 1,176,153 +18,074 (+ 1.56%) ~ ~ p=0.000 n=40
Memory Used 952,242k (± 0.01%) 957,650k (± 0.01%) +5,367k (+ 0.56%) 956,845k 959,138k p=0.000 n=40
Memory Allocs 13,448,867 (± 0.13%) 13,495,391 (± 0.09%) +52,280 (+ 0.39%) 13,444,351 13,596,879 p=0.000 n=40
Config Time 0.006s (± 3.80%) 0.006s (± 5.21%) ~ 0.005s 0.011s p=0.718 n=40
Parse Time 0.157s (± 1.88%) 0.160s (± 3.29%) ~ 0.139s 0.236s p=0.845 n=40
Bind Time 0.046s (± 7.70%) 0.042s (± 5.46%) ~ 0.033s 0.062s p=0.134 n=40
Check Time 1.428s (± 0.81%) 1.394s (± 0.73%) -0.031s (- 2.16%) 1.340s 1.469s p=0.000 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 1.655s (± 0.75%) 1.622s (± 0.78%) -0.034s (- 2.08%) 1.565s 1.768s p=0.000 n=40
strada-build-src - native
Errors 0 0 ~ ~ ~ p=1.000 n=40
Symbols 1,184,972 1,184,972 ~ ~ ~ p=1.000 n=40
Types 438,812 438,812 ~ ~ ~ p=1.000 n=40
Memory Used 1,161,078k (± 0.29%) 1,159,734k (± 0.27%) ~ 1,140,204k 1,179,633k p=0.510 n=40
Memory Allocs 47,892,651 (± 0.09%) 47,891,591 (± 0.08%) ~ 47,663,656 48,157,124 p=0.952 n=40
Config Time 0.002s (±12.75%) 0.002s (±11.60%) ~ 0.000s 0.003s p=0.167 n=40
Parse Time 0.135s (± 1.48%) 0.136s (± 1.17%) ~ 0.123s 0.145s p=0.674 n=40
Bind Time 0.000s (±196.00%) 0.000s (±196.00%) ~ 0.000s 0.001s p=1.000 n=40
Check Time 0.804s (± 0.76%) 0.808s (± 0.84%) ~ 0.762s 0.863s p=0.147 n=40
Emit Time 0.140s (± 1.68%) 0.140s (± 1.51%) ~ 0.125s 0.156s p=0.863 n=40
Total Time 9.385s (± 0.83%) 9.413s (± 0.83%) ~ 8.875s 10.071s p=0.320 n=40
strada-compiler - native
Errors 0 0 ~ ~ ~ p=1.000 n=40
Symbols 263,481 263,481 ~ ~ ~ p=1.000 n=40
Types 196,095 196,095 ~ ~ ~ p=1.000 n=40
Memory Used 221,526k (± 0.01%) 221,504k (± 0.02%) ~ 221,234k 221,758k p=0.265 n=40
Memory Allocs 2,412,258 (± 0.01%) 2,412,259 (± 0.01%) ~ 2,410,656 2,413,785 p=0.765 n=40
Config Time 0.000s 0.000s (±196.00%) ~ 0.000s 0.001s p=0.330 n=40
Parse Time 0.049s (± 2.63%) 0.048s (± 2.28%) ~ 0.042s 0.058s p=0.863 n=40
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Check Time 0.372s (± 0.89%) 0.374s (± 0.88%) ~ 0.353s 0.404s p=0.295 n=40
Emit Time 0.050s (± 4.72%) 0.047s (± 3.49%) ~ 0.042s 0.058s p=0.064 n=40
Total Time 0.498s (± 1.06%) 0.497s (± 0.86%) ~ 0.468s 0.530s p=0.905 n=40
t3code-server - native
Errors 0 0 ~ ~ ~ p=1.000 n=40
Symbols 4,349,937 4,349,937 ~ ~ ~ p=1.000 n=40
Types 3,042,462 3,042,462 ~ ~ ~ p=1.000 n=40
Memory Used 2,394,605k (± 0.02%) 2,394,877k (± 0.02%) ~ 2,392,661k 2,398,887k p=0.405 n=40
Memory Allocs 37,084,138 (± 0.06%) 37,067,606 (± 0.03%) ~ 37,005,252 37,189,998 p=0.320 n=40
Config Time 0.003s (± 7.95%) 0.003s (± 8.17%) ~ 0.002s 0.006s p=0.977 n=40
Parse Time 0.247s (± 1.89%) 0.249s (± 1.71%) ~ 0.213s 0.278s p=0.489 n=40
Bind Time 0.093s (± 6.77%) 0.089s (± 6.35%) ~ 0.074s 0.141s p=0.316 n=40
Check Time 5.923s (± 0.70%) 5.957s (± 0.92%) ~ 5.705s 6.553s p=0.460 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 6.278s (± 0.66%) 6.309s (± 0.88%) ~ 6.042s 6.889s p=0.590 n=40
tanstack-router - native
Errors 1 1 ~ ~ ~ p=1.000 n=40
Symbols 570,149 579,591 +9,442 (+ 1.66%) ~ ~ p=0.000 n=40
Types 396,548 410,082 +13,534 (+ 3.41%) ~ ~ p=0.000 n=40
Memory Used 315,260k (± 0.01%) 321,594k (± 0.01%) +6,335k (+ 2.01%) 321,185k 321,836k p=0.000 n=40
Memory Allocs 4,333,836 (± 0.07%) 4,404,690 (± 0.10%) +69,248 (+ 1.60%) 4,390,881 4,461,772 p=0.000 n=40
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=40
Parse Time 0.040s (± 2.85%) 0.039s (± 2.20%) ~ 0.034s 0.044s p=0.415 n=40
Bind Time 0.012s (± 7.56%) 0.012s (± 7.54%) ~ 0.010s 0.022s p=0.857 n=40
Check Time 0.454s (± 1.04%) 0.503s (± 0.51%) 🔻+0.051s (+11.33%) 0.488s 0.526s p=0.000 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 0.525s (± 1.08%) 0.574s (± 0.51%) 🔻+0.053s (+10.07%) 0.553s 0.591s p=0.000 n=40
ts-pre-modules - native
Errors 87 87 ~ ~ ~ p=1.000 n=40
Symbols 231,607 231,607 ~ ~ ~ p=1.000 n=40
Types 181,149 181,149 ~ ~ ~ p=1.000 n=40
Memory Used 190,852k (± 0.01%) 190,858k (± 0.01%) ~ 190,720k 190,990k p=0.972 n=40
Memory Allocs 1,310,060 (± 0.01%) 1,310,153 (± 0.01%) ~ 1,309,238 1,311,047 p=0.405 n=40
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Parse Time 0.042s (± 2.15%) 0.042s (± 2.26%) ~ 0.037s 0.048s p=0.528 n=40
Bind Time 0.019s (± 3.20%) 0.020s (± 3.46%) ~ 0.017s 0.027s p=0.088 n=40
Check Time 0.291s (± 0.66%) 0.289s (± 0.57%) ~ 0.280s 0.299s p=0.244 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 0.359s (± 0.53%) 0.359s (± 0.47%) ~ 0.346s 0.373s p=0.882 n=40
vscode - native
Errors 0 1 🔻NaN (+ ∞%) ~ ~ p=0.000 n=40
Symbols 8,402,829 8,403,657 +828 (+ 0.01%) ~ ~ p=0.000 n=40
Types 4,890,731 4,891,251 +520 (+ 0.01%) ~ ~ p=0.000 n=40
Memory Used 5,598,642k (± 0.01%) 5,598,797k (± 0.01%) ~ 5,594,885k 5,604,826k p=0.715 n=40
Memory Allocs 62,413,866 (± 0.01%) 62,415,831 (± 0.01%) ~ 62,392,878 62,509,828 p=0.795 n=40
Config Time 0.023s (± 0.59%) 0.023s (± 0.79%) ~ 0.022s 0.025s p=0.308 n=40
Parse Time 0.921s (± 1.34%) 0.932s (± 1.36%) ~ 0.835s 1.063s p=0.265 n=40
Bind Time 0.337s (± 6.06%) 0.326s (± 4.58%) ~ 0.299s 0.531s p=0.754 n=40
Check Time 7.938s (± 0.63%) 7.932s (± 0.52%) ~ 7.661s 8.245s p=0.605 n=40
Emit Time 2.303s (± 5.11%) 2.299s (± 4.29%) ~ 2.009s 3.035s p=0.921 n=40
Total Time 11.584s (± 0.85%) 11.572s (± 0.79%) ~ 11.181s 12.343s p=0.775 n=40
webpack - native
Errors 632 632 ~ ~ ~ p=1.000 n=40
Symbols 912,181 914,233 +2,052 (+ 0.22%) ~ ~ p=0.000 n=40
Types 635,180 636,062 +882 (+ 0.14%) ~ ~ p=0.000 n=40
Memory Used 673,260k (± 0.01%) 673,702k (± 0.01%) +460k (+ 0.07%) 673,294k 674,419k p=0.000 n=40
Memory Allocs 6,245,396 (± 0.15%) 6,256,588 (± 0.12%) +14,197 (+ 0.23%) 6,237,469 6,384,966 p=0.004 n=40
Config Time 0.003s 0.003s ~ ~ ~ p=1.000 n=40
Parse Time 0.127s (± 1.58%) 0.129s (± 2.53%) ~ 0.116s 0.171s p=0.664 n=40
Bind Time 0.040s (± 6.45%) 0.042s (± 6.26%) ~ 0.034s 0.067s p=0.350 n=40
Check Time 1.136s (± 0.45%) 1.054s (± 0.60%) 🟩-0.085s (- 7.45%) 1.025s 1.102s p=0.000 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 1.330s (± 0.32%) 1.252s (± 0.51%) 🟩-0.081s (- 6.11%) 1.223s 1.314s p=0.000 n=40
xstate-main - native
Errors 1 1 ~ ~ ~ p=1.000 n=40
Symbols 3,952,601 3,956,316 +3,715 (+ 0.09%) ~ ~ p=0.000 n=40
Types 3,980,242 3,968,091 -12,151 (- 0.31%) ~ ~ p=0.000 n=40
Memory Used 2,137,537k (± 0.01%) 2,139,325k (± 0.01%) +1,790k (+ 0.08%) 2,138,755k 2,140,412k p=0.000 n=40
Memory Allocs 42,435,279 (± 0.01%) 42,180,778 (± 0.01%) -255,232 (- 0.60%) 42,162,437 42,219,514 p=0.000 n=40
Config Time 0.002s (± 4.68%) 0.002s (± 0.39%) ~ 0.002s 0.002s p=1.000 n=40
Parse Time 0.113s (± 2.12%) 0.113s (± 2.17%) ~ 0.098s 0.135s p=0.765 n=40
Bind Time 0.042s (± 6.70%) 0.042s (± 6.96%) ~ 0.034s 0.065s p=0.844 n=40
Check Time 4.324s (± 1.02%) 4.845s (± 0.84%) 🔻+0.519s (+12.00%) 4.540s 5.095s p=0.000 n=40
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=40
Total Time 4.488s (± 1.00%) 5.010s (± 0.83%) 🔻+0.518s (+11.54%) 4.696s 5.261s p=0.000 n=40
System info unknown
Hosts
  • native
Scenarios
  • Compiler-Unions - native
  • angular-1 - native
  • arktype - native
  • class-transformer - native
  • effect - native
  • mui-docs - native
  • sentry - native
  • social-app - native
  • strada-build-src - native
  • strada-compiler - native
  • t3code-server - native
  • tanstack-router - native
  • ts-pre-modules - native
  • vscode - native
  • webpack - native
  • xstate-main - native
Benchmark Name Iterations
Current pr 20
Baseline baseline 20

Developer Information:

Download Benchmarks

@typescript-automation

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the top 400 repos with tsc comparing baseline and pr:

Something interesting changed - please have a look.

Details

microsoft/vscode

25 of 113 projects failed to build with the old tsc and were ignored

src/tsconfig.defineClassFields.json

  • error TS2345: Argument of type 'MutationObserverInit | undefined' is not assignable to parameter of type 'MutationObserverInit'.

src/tsconfig.json

  • error TS2345: Argument of type 'MutationObserverInit | undefined' is not assignable to parameter of type 'MutationObserverInit'.

src/tsconfig.monaco.json

  • error TS2345: Argument of type 'MutationObserverInit | undefined' is not assignable to parameter of type 'MutationObserverInit'.

src/tsconfig.tsec.json

  • error TS2345: Argument of type 'MutationObserverInit | undefined' is not assignable to parameter of type 'MutationObserverInit'.

build/checker/tsconfig.electron-browser.json

  • error TS2345: Argument of type 'MutationObserverInit | undefined' is not assignable to parameter of type 'MutationObserverInit'.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Status: Not started

Development

Successfully merging this pull request may close these issues.

2 participants