-
Notifications
You must be signed in to change notification settings - Fork 684
Open
Labels
Description
TypeScript-Go (tsgo
) is performing much slower than expected — only about 28% faster than tsc
(57s vs. 79s), whereas the promise was a 10x improvement (~7.9s). This is significantly below expectations.
Performance Results
Tool | Duration | Improvement |
---|---|---|
tsc | 79s | – |
tsgo | 57s | ~28% faster |
Environment
-
CI Platform: GitHub Actions (
ubuntu-latest
, x86_64) -
Node.js: v20.15.0
-
Memory: Standard runner allocation
-
Project: Large React Native (Expo bare)
-
Lines of Code: ~322K
-
TypeScript: 5.8.3
-
TypeScript-Go:
@typescript/native-preview@7.0.0-dev.20250802.1
TypeScript Configuration
-
Strict Mode with multiple strict flags
-
Path Mapping: (
@kojo/*
,@graphql/*
, etc.) -
Target: ES2023, JSX: react-jsx
-
Incremental Compilation: Enabled
-
Skip Lib Check: Enabled
Command Setup
{
"lint:typecheck": "node --max-old-space-size=8192 ./node_modules/.bin/tsc --noEmit",
"lint:typecheck:tsgo": "tsgo --noEmit"
}
Any ideas or suggestions?
hypeartist