googleapis / googleapis/google-api-nodejs-client
Too slow tsc compilation time with importing just googleapis
- Lingua principale
- TypeScript
- Stelle
- 12.2k
- Fork
- 2k
- Merge medio
- 1g 9h
- PR unite (30g)
- 24
Descrizione
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"
]
}
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- nodejs, typescript
- Ambito
- build-system, performance
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100