googleapis / googleapis/google-api-nodejs-client
Too slow tsc compilation time with importing just googleapis
- Vorherrschende Sprache
- TypeScript
- Sterne
- 12.2k
- Forks
- 2k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 24
Beschreibung
It takes 10 second to compile with `tsc` just with importing `googleapis`
- macOS 10.15.7
- Node v18.16.1
- npm 9.8.0
- googleapis: "^118.0.0"
tsconfig.json
```json
{
"compilerOptions": {
"strict": true,
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
"moduleResolution": "NodeNext",
"skipLibCheck": true,
"noEmit": true,
"allowJs": true
},
"exclude": [
"node_modules"
]
}
```
Beitragsleitfaden
Rechercherichtung
Reproduce the report using the import, tsconfig.json, and listed TypeScript and Node versions; measure tsc time with googleapis imported versus absent. Trace the compiler inputs involved, and consider the issue done when the cause and a verified compilation-time improvement or documented limitation are established.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- nodejs, typescript
- Bereich
- build-system, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100