GithubHelp home page GithubHelp logo

tsc-test's Introduction

tsc -b vs tsc -p in watch mode

Comparison of the tsc diagnostics:

  1. tsc -b api/tsconfig.json -w --preserveWatchOutput (or run npm run dev:api:b) Much slower.
Files:                         412
Lines of Library:             8664
Lines of Definitions:       577202
Lines of TypeScript:            34
Lines of JavaScript:             0
Lines of JSON:                   0
Lines of Other:                  0
Nodes of Library:            23282
Nodes of Definitions:      1689642
Nodes of TypeScript:           137
Nodes of JavaScript:             0
Nodes of JSON:                   0
Nodes of Other:                  0
Identifiers:                626998
Symbols:                    367869
Types:                         261
Instantiations:                276
Memory used:               512906K
Assignability cache size:       29
Identity cache size:             1
Subtype cache size:             10
Strict subtype cache size:       0
I/O Read time:               0.24s
Parse time:                  2.67s
ResolveModule time:          0.09s
ResolveTypeReference time:   0.00s
Program time:                3.18s
Bind time:                   0.93s
Check time:                  0.04s
transformTime time:          0.02s
commentTime time:            0.00s
printTime time:              0.04s
Emit time:                   0.04s
Source Map time:             0.00s
I/O Write time:              0.00s
Total time:                  4.20s
  1. tsc -p api/tsconfig.json -w --preserveWatchOutput (or run npm run dev:api:p) Much faster.
Files:                         412
Lines of Library:             8664
Lines of Definitions:       577202
Lines of TypeScript:            34
Lines of JavaScript:             0
Lines of JSON:                   0
Lines of Other:                  0
Nodes of Library:            23282
Nodes of Definitions:      1689642
Nodes of TypeScript:           137
Nodes of JavaScript:             0
Nodes of JSON:                   0
Nodes of Other:                  0
Identifiers:                626998
Symbols:                    367869
Types:                         261
Instantiations:                276
Memory used:               513037K
Assignability cache size:       29
Identity cache size:             1
Subtype cache size:             10
Strict subtype cache size:       0
I/O Read time:               0.00s
Parse time:                  0.00s
ResolveModule time:          0.00s
Program time:                0.01s
Bind time:                   0.00s
Check time:                  0.05s
transformTime time:          0.02s
commentTime time:            0.00s
printTime time:              0.05s
Emit time:                   0.05s
Source Map time:             0.00s
I/O Write time:              0.00s
Total time:                  0.11s

tsc-test's People

Contributors

zofiag avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.