You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 534f3d4
Browse filesBrowse the repository at this point in the historyBrowse files
Most signatures have no type parameters, explicit this parameter,
predicate, composite constituents, or isolated-type cache. Reserving
this state for every instantiated signature wastes memory and GC
scanning. Negative predicate results need no pointer at all.
Signature shrinks from 128 to 80 bytes on amd64. Checker-owned cold
storage preserves slice aliasing and independent clone caches; a
private, non-propagating flag retains the recursive no-predicate guard.
A full VS Code field census found 648637 signatures and only 84956
requiring cold storage (13.1%). Six fresh-process interleaved
comparisons against the parent commit, with normal GC, save 0.65%
retained bytes, 0.73% scan bytes, and 0.49% allocated bytes. Allocation
events and instructions are not statistically different. This is
incremental, not a CPU breakthrough.
Production diagnostics and semantic counts match exactly.
goos: linux
goarch: amd64
pkg: github.com/microsoft/TypeScript/tsc/internal/checker
cpu: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
│ vscode-signature-before.txt │ vscode-signature.txt │
│ retained-B │ retained-B vs base │
ExternalProgram-20 3.848Gi ± 0% 3.823Gi ± 0% -0.65% (p=0.002 n=6)
│ vscode-signature-before.txt │ vscode-signature.txt │
│ scan-B │ scan-B vs base │
ExternalProgram-20 3.443Gi ± 0% 3.418Gi ± 0% -0.73% (p=0.002 n=6)
│ vscode-signature-before.txt │ vscode-signature.txt │
│ B/op │ B/op vs base │
ExternalProgram-20 5.468Gi ± 0% 5.441Gi ± 0% -0.49% (p=0.002 n=6)
│ vscode-signature-before.txt │ vscode-signature.txt │
│ allocs/op │ allocs/op vs base │
ExternalProgram-20 27.36M ± 0% 27.36M ± 0% ~ (p=0.589 n=6)
│ signature-before-instructions.txt │ signature-instructions.txt │
│ instructions/op │ instructions/op vs base │
ExternalInstructions-20 297.9G ± 3% 296.1G ± 3% ~ (p=0.699 n=6)
0 commit comments