Skip to content

Update DOM types - #65487

Draft
Jake Bailey (jakebailey) wants to merge 2 commits into
microsoft:mainfrom
jakebailey:update-dom-2026-11-13
Draft

Jake Bailey (jakebailey) wants to merge 2 commits 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, additional CSS and FontFace properties, and WebRTC configuration and encoding options.
  • 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'.

@jakebailey
Jake Bailey (jakebailey) marked this pull request as draft November 18, 2026 16:59
@jakebailey

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) test it

@typescript-automation

typescript-automation Bot commented Nov 18, 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

@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-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)
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/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: 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)

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=20
Symbols 88,381 88,381 ~ ~ ~ p=1.000 n=20
Types 79,508 79,508 ~ ~ ~ p=1.000 n=20
Memory Used 106,301k (± 0.03%) 106,329k (± 0.02%) ~ 106,180k 106,437k p=0.177 n=20
Memory Allocs 1,046,247 (± 0.01%) 1,046,206 (± 0.01%) ~ 1,045,964 1,046,465 p=0.985 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.044s (± 2.30%) 0.044s (± 2.61%) ~ 0.041s 0.049s p=0.507 n=20
Bind Time 0.014s (± 7.01%) 0.015s (± 7.07%) ~ 0.012s 0.019s p=0.201 n=20
Check Time 0.475s (± 0.62%) 0.476s (± 0.73%) ~ 0.463s 0.487s p=0.927 n=20
Emit Time 0.261s (± 0.96%) 0.259s (± 1.15%) ~ 0.250s 0.277s p=0.312 n=20
Total Time 0.802s (± 0.53%) 0.802s (± 0.52%) ~ 0.782s 0.815s p=0.799 n=20
angular-1 - native
Errors 63 63 ~ ~ ~ p=1.000 n=20
Symbols 754,010 749,165 -4,845 (- 0.64%) ~ ~ p=0.000 n=20
Types 548,695 542,508 -6,187 (- 1.13%) ~ ~ p=0.000 n=20
Memory Used 642,755k (± 0.01%) 638,616k (± 0.01%) -4,147k (- 0.65%) 638,366k 638,980k p=0.000 n=20
Memory Allocs 8,320,483 (± 0.10%) 8,282,784 (± 0.04%) -33,436 (- 0.40%) 8,277,235 8,313,687 p=0.000 n=20
Config Time 0.017s (± 1.37%) 0.016s (± 1.40%) -0.000s (- 2.99%) 0.016s 0.017s p=0.007 n=20
Parse Time 0.261s (± 2.03%) 0.259s (± 2.42%) ~ 0.237s 0.289s p=0.490 n=20
Bind Time 0.078s (± 8.98%) 0.079s (±11.14%) ~ 0.064s 0.132s p=1.000 n=20
Check Time 1.344s (± 0.73%) 1.322s (± 0.99%) -0.021s (- 1.60%) 1.285s 1.370s p=0.033 n=20
Emit Time 0.890s (± 0.66%) 0.894s (± 0.88%) ~ 0.871s 0.944s p=0.452 n=20
Total Time 2.613s (± 0.41%) 2.591s (± 0.66%) -0.021s (- 0.80%) 2.537s 2.675s p=0.015 n=20
arktype - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 677,106 677,106 ~ ~ ~ p=1.000 n=20
Types 937,969 937,969 ~ ~ ~ p=1.000 n=20
Memory Used 473,928k (± 0.01%) 473,918k (± 0.01%) ~ 473,652k 474,189k p=0.641 n=20
Memory Allocs 11,790,213 (± 0.01%) 11,791,357 (± 0.01%) ~ 11,788,287 11,801,699 p=0.090 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.067s (± 3.01%) 0.068s (± 3.78%) ~ 0.060s 0.081s p=0.825 n=20
Bind Time 0.019s (± 7.57%) 0.020s (± 7.86%) ~ 0.017s 0.030s p=0.150 n=20
Check Time 1.489s (± 0.82%) 1.491s (± 0.54%) ~ 1.460s 1.527s p=0.860 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.621s (± 0.65%) 1.623s (± 0.53%) ~ 1.590s 1.653s p=0.651 n=20
class-transformer - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 45,378 45,378 ~ ~ ~ p=1.000 n=20
Types 7,573 7,573 ~ ~ ~ p=1.000 n=20
Memory Used 27,695k (± 0.03%) 27,705k (± 0.03%) ~ 27,687k 27,742k p=0.177 n=20
Memory Allocs 231,647 (± 0.06%) 231,697 (± 0.05%) ~ 231,263 232,430 p=0.294 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.020s (± 2.29%) 0.020s (± 2.38%) ~ 0.018s 0.022s p=0.753 n=20
Bind Time 0.007s (± 9.31%) 0.006s (±12.12%) 🟩-0.001s (-15.48%) 0.005s 0.010s p=0.016 n=20
Check Time 0.018s (± 5.28%) 0.019s (± 5.67%) ~ 0.016s 0.022s p=0.181 n=20
Emit Time 0.018s (± 6.44%) 0.017s (± 6.84%) ~ 0.015s 0.022s p=0.271 n=20
Total Time 0.065s (± 1.51%) 0.065s (± 1.27%) ~ 0.062s 0.068s p=0.542 n=20
effect - native
Errors 12 12 ~ ~ ~ p=1.000 n=20
Symbols 1,234,359 1,272,480 +38,121 (+ 3.09%) ~ ~ p=0.000 n=20
Types 893,315 913,998 +20,683 (+ 2.32%) ~ ~ p=0.000 n=20
Memory Used 940,450k (± 0.01%) 954,072k (± 0.01%) +13,613k (+ 1.45%) 953,655k 954,546k p=0.000 n=20
Memory Allocs 11,709,563 (± 0.06%) 11,882,476 (± 0.02%) +176,989 (+ 1.51%) 11,876,930 11,897,439 p=0.000 n=20
Config Time 0.006s 0.006s ~ ~ ~ p=1.000 n=20
Parse Time 0.328s (± 1.48%) 0.330s (± 1.51%) ~ 0.310s 0.348s p=0.388 n=20
Bind Time 0.000s 0.000s (±208.60%) ~ 0.000s 0.001s p=1.000 n=20
Check Time 1.843s (± 0.43%) 2.080s (± 0.38%) 🔻+0.237s (+12.87%) 2.054s 2.113s p=0.000 n=20
Emit Time 0.952s (± 3.13%) 0.907s (± 2.46%) 🟩-0.037s (- 3.92%) 0.808s 0.976s p=0.005 n=20
Total Time 3.297s (± 0.81%) 3.493s (± 0.61%) 🔻+0.202s (+ 6.12%) 3.409s 3.567s p=0.000 n=20
mui-docs - native
Errors 11,405 11,405 ~ ~ ~ p=1.000 n=20
Symbols 3,730,768 3,864,536 +133,768 (+ 3.59%) ~ ~ p=0.000 n=20
Types 1,354,170 1,404,642 +50,472 (+ 3.73%) ~ ~ p=0.000 n=20
Memory Used 1,662,624k (± 0.08%) 1,748,145k (± 0.06%) 🔻+85,841k (+ 5.16%) 1,743,063k 1,754,274k p=0.000 n=20
Memory Allocs 24,376,320 (± 0.09%) 25,527,890 (± 0.06%) 🔻+1,149,585 (+ 4.72%) 25,471,951 25,616,586 p=0.000 n=20
Config Time 0.016s (± 1.54%) 0.016s (± 1.15%) ~ 0.015s 0.017s p=0.439 n=20
Parse Time 0.549s (± 2.16%) 0.556s (± 2.25%) ~ 0.505s 0.609s p=0.293 n=20
Bind Time 0.002s (± 9.53%) 0.002s (± 8.70%) ~ 0.002s 0.003s p=0.097 n=20
Check Time 5.685s (± 0.32%) 6.042s (± 0.46%) 🔻+0.358s (+ 6.29%) 5.911s 6.148s p=0.000 n=20
Emit Time 0.597s (± 5.30%) 0.570s (± 7.70%) ~ 0.500s 0.753s p=0.240 n=20
Total Time 7.796s (± 0.66%) 8.105s (± 0.41%) +0.295s (+ 3.79%) 7.997s 8.289s p=0.000 n=20
sentry - native
Errors 1 1 ~ ~ ~ p=1.000 n=20
Symbols 4,785,582 4,705,836 -79,746 (- 1.67%) ~ ~ p=0.000 n=20
Types 2,593,059 2,560,922 -32,137 (- 1.24%) ~ ~ p=0.000 n=20
Memory Used 2,791,935k (± 0.02%) 2,749,232k (± 0.04%) -42,756k (- 1.53%) 2,746,061k 2,757,078k p=0.000 n=20
Memory Allocs 73,753,701 (± 0.08%) 73,564,905 (± 0.05%) -201,490 (- 0.27%) 73,459,794 73,747,557 p=0.000 n=20
Config Time 0.044s (± 0.78%) 0.044s (± 0.65%) ~ 0.043s 0.045s p=0.944 n=20
Parse Time 0.983s (± 1.83%) 0.984s (± 1.91%) ~ 0.907s 1.051s p=0.841 n=20
Bind Time 0.302s (±12.32%) 0.286s (± 8.58%) ~ 0.248s 0.469s p=0.571 n=20
Check Time 13.425s (± 0.27%) 12.478s (± 0.44%) 🟩-0.936s (- 6.97%) 12.280s 12.618s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 14.821s (± 0.21%) 13.861s (± 0.36%) 🟩-0.954s (- 6.44%) 13.680s 14.030s p=0.000 n=20
social-app - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 1,872,620 1,876,122 +3,502 (+ 0.19%) ~ ~ p=0.000 n=20
Types 1,150,836 1,175,225 +24,389 (+ 2.12%) ~ ~ p=0.000 n=20
Memory Used 948,308k (± 0.01%) 956,646k (± 0.01%) +8,322k (+ 0.88%) 956,268k 957,015k p=0.000 n=20
Memory Allocs 13,350,110 (± 0.11%) 13,430,586 (± 0.09%) +81,381 (+ 0.61%) 13,383,743 13,489,468 p=0.000 n=20
Config Time 0.013s (± 1.71%) 0.013s (± 1.56%) ~ 0.013s 0.014s p=0.718 n=20
Parse Time 0.333s (± 1.42%) 0.335s (± 1.84%) ~ 0.308s 0.359s p=0.541 n=20
Bind Time 0.081s (± 7.54%) 0.084s (±12.22%) ~ 0.066s 0.143s p=0.952 n=20
Check Time 2.972s (± 0.59%) 2.831s (± 0.50%) 🟩-0.142s (- 4.77%) 2.773s 2.871s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.425s (± 0.42%) 3.287s (± 0.26%) 🟩-0.137s (- 4.00%) 3.257s 3.315s p=0.000 n=20
strada-build-src - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 1,183,341 1,183,341 ~ ~ ~ p=1.000 n=20
Types 437,605 437,605 ~ ~ ~ p=1.000 n=20
Memory Used 1,166,863k (± 0.40%) 1,166,484k (± 0.36%) ~ 1,152,613k 1,182,917k p=0.571 n=20
Memory Allocs 39,971,503 (± 0.10%) 39,967,822 (± 0.08%) ~ 39,806,302 40,089,888 p=0.729 n=20
Config Time 0.003s (±10.98%) 0.003s (±10.98%) ~ 0.002s 0.004s p=0.440 n=20
Parse Time 0.234s (± 1.59%) 0.236s (± 1.98%) ~ 0.218s 0.255s p=0.465 n=20
Bind Time 0.001s (±208.60%) 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.440s (± 0.48%) 1.445s (± 0.51%) ~ 1.416s 1.480s p=0.395 n=20
Emit Time 0.250s (± 1.71%) 0.251s (± 1.94%) ~ 0.232s 0.271s p=0.571 n=20
Total Time 17.034s (± 0.31%) 17.050s (± 0.38%) ~ 16.856s 17.369s p=0.784 n=20
strada-compiler - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 262,982 262,982 ~ ~ ~ p=1.000 n=20
Types 195,974 195,974 ~ ~ ~ p=1.000 n=20
Memory Used 221,272k (± 0.02%) 221,280k (± 0.02%) ~ 221,084k 221,444k p=0.898 n=20
Memory Allocs 1,887,156 (± 0.01%) 1,887,329 (± 0.02%) ~ 1,886,130 1,889,040 p=0.546 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.101s (± 2.48%) 0.102s (± 3.55%) ~ 0.093s 0.116s p=0.571 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.842s (± 0.30%) 0.842s (± 0.56%) ~ 0.825s 0.868s p=0.571 n=20
Emit Time 0.089s (± 4.40%) 0.092s (± 3.84%) ~ 0.081s 0.107s p=0.182 n=20
Total Time 1.080s (± 0.56%) 1.088s (± 0.57%) +0.007s (+ 0.65%) 1.060s 1.115s p=0.040 n=20
t3code-server - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 4,345,073 4,345,073 ~ ~ ~ p=1.000 n=20
Types 3,040,936 3,040,936 ~ ~ ~ p=1.000 n=20
Memory Used 2,393,317k (± 0.02%) 2,393,313k (± 0.02%) ~ 2,391,781k 2,395,207k p=0.956 n=20
Memory Allocs 36,916,279 (± 0.05%) 36,899,677 (± 0.03%) ~ 36,858,561 36,957,662 p=0.090 n=20
Config Time 0.005s (± 4.36%) 0.005s (± 4.67%) ~ 0.004s 0.005s p=0.544 n=20
Parse Time 0.440s (± 2.20%) 0.432s (± 2.25%) ~ 0.400s 0.472s p=0.294 n=20
Bind Time 0.118s (±10.74%) 0.124s (±10.51%) ~ 0.106s 0.205s p=0.229 n=20
Check Time 10.351s (± 0.25%) 10.386s (± 0.33%) ~ 10.299s 10.527s p=0.154 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 10.928s (± 0.28%) 10.961s (± 0.35%) ~ 10.875s 11.130s p=0.133 n=20
tanstack-router - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 568,576 576,097 +7,521 (+ 1.32%) ~ ~ p=0.000 n=20
Types 396,130 402,385 +6,255 (+ 1.58%) ~ ~ p=0.000 n=20
Memory Used 314,876k (± 0.02%) 318,779k (± 0.02%) +3,897k (+ 1.24%) 318,601k 319,094k p=0.000 n=20
Memory Allocs 4,151,242 (± 0.04%) 4,191,443 (± 0.09%) +39,227 (+ 0.94%) 4,183,702 4,223,475 p=0.000 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.080s (± 2.77%) 0.080s (± 3.17%) ~ 0.070s 0.090s p=0.751 n=20
Bind Time 0.027s (±12.92%) 0.028s (±12.98%) ~ 0.020s 0.044s p=0.687 n=20
Check Time 1.023s (± 0.58%) 0.966s (± 0.72%) 🟩-0.057s (- 5.57%) 0.938s 0.998s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.159s (± 0.45%) 1.105s (± 0.67%) 🟩-0.054s (- 4.62%) 1.080s 1.140s p=0.000 n=20
ts-pre-modules - native
Errors 87 87 ~ ~ ~ p=1.000 n=20
Symbols 231,158 231,158 ~ ~ ~ p=1.000 n=20
Types 181,003 181,003 ~ ~ ~ p=1.000 n=20
Memory Used 190,630k (± 0.02%) 190,652k (± 0.02%) ~ 190,468k 190,823k p=0.475 n=20
Memory Allocs 1,285,827 (± 0.01%) 1,285,892 (± 0.01%) ~ 1,285,280 1,286,764 p=0.674 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.072s (± 3.30%) 0.069s (± 4.23%) ~ 0.061s 0.083s p=0.112 n=20
Bind Time 0.027s (± 6.27%) 0.029s (± 6.81%) ~ 0.022s 0.038s p=0.095 n=20
Check Time 0.543s (± 0.74%) 0.537s (± 0.67%) -0.007s (- 1.21%) 0.527s 0.555s p=0.019 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.654s (± 0.65%) 0.646s (± 0.60%) -0.008s (- 1.21%) 0.634s 0.665s p=0.031 n=20
vscode - native
Errors 0 1 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 8,572,787 8,573,336 +549 (+ 0.01%) ~ ~ p=0.000 n=20
Types 4,982,412 4,982,918 +506 (+ 0.01%) ~ ~ p=0.000 n=20
Memory Used 5,711,377k (± 0.02%) 5,712,052k (± 0.01%) ~ 5,710,049k 5,716,501k p=0.133 n=20
Memory Allocs 63,448,409 (± 0.02%) 63,454,679 (± 0.02%) ~ 63,432,067 63,522,622 p=0.294 n=20
Config Time 0.058s (± 0.67%) 0.057s (± 0.55%) ~ 0.056s 0.059s p=0.584 n=20
Parse Time 2.094s (± 1.82%) 2.093s (± 2.28%) ~ 1.945s 2.262s p=0.756 n=20
Bind Time 0.692s (±10.91%) 0.726s (±12.42%) ~ 0.570s 1.095s p=0.622 n=20
Check Time 17.027s (± 0.42%) 17.029s (± 0.43%) ~ 16.549s 17.180s p=0.985 n=20
Emit Time 5.269s (± 7.60%) 5.343s (± 7.98%) ~ 4.348s 6.431s p=0.812 n=20
Total Time 25.222s (± 1.69%) 25.333s (± 1.81%) ~ 24.271s 26.709s p=0.674 n=20
webpack - native
Errors 638 638 ~ ~ ~ p=1.000 n=20
Symbols 920,567 921,835 +1,268 (+ 0.14%) ~ ~ p=0.000 n=20
Types 643,284 646,732 +3,448 (+ 0.54%) ~ ~ p=0.000 n=20
Memory Used 737,889k (± 0.01%) 740,757k (± 0.01%) +2,861k (+ 0.39%) 740,401k 741,160k p=0.000 n=20
Memory Allocs 6,364,676 (± 0.06%) 6,387,942 (± 0.11%) +20,960 (+ 0.33%) 6,375,989 6,438,954 p=0.000 n=20
Config Time 0.008s (± 1.77%) 0.008s (± 1.77%) ~ 0.008s 0.009s p=1.000 n=20
Parse Time 0.299s (± 1.86%) 0.303s (± 2.51%) ~ 0.275s 0.335s p=0.622 n=20
Bind Time 0.074s (± 7.56%) 0.078s (±11.98%) ~ 0.063s 0.137s p=0.794 n=20
Check Time 3.521s (± 0.38%) 3.410s (± 0.46%) 🟩-0.109s (- 3.11%) 3.360s 3.474s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.944s (± 0.46%) 3.841s (± 0.50%) -0.101s (- 2.56%) 3.776s 3.913s p=0.000 n=20
xstate-main - native
Errors 1 1 ~ ~ ~ p=1.000 n=20
Symbols 4,048,049 4,035,770 -12,279 (- 0.30%) ~ ~ p=0.000 n=20
Types 4,184,629 4,148,525 -36,104 (- 0.86%) ~ ~ p=0.000 n=20
Memory Used 2,227,299k (± 0.01%) 2,212,270k (± 0.01%) -15,051k (- 0.68%) 2,211,624k 2,212,734k p=0.000 n=20
Memory Allocs 44,941,459 (± 0.02%) 44,579,910 (± 0.01%) -359,683 (- 0.80%) 44,569,191 44,603,428 p=0.000 n=20
Config Time 0.005s (± 3.99%) 0.005s (± 2.11%) ~ 0.004s 0.005s p=0.090 n=20
Parse Time 0.239s (± 1.86%) 0.242s (± 1.75%) ~ 0.227s 0.254s p=0.210 n=20
Bind Time 0.079s (±11.90%) 0.072s (± 5.46%) ~ 0.064s 0.090s p=0.641 n=20
Check Time 9.269s (± 0.24%) 13.175s (± 0.36%) 🔻+3.901s (+42.08%) 13.020s 13.339s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 9.601s (± 0.27%) 13.503s (± 0.35%) 🔻+3.897s (+40.60%) 13.351s 13.669s p=0.000 n=20
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