panuhorsmalahti / gulp-tslint

TypeScript linter plugin for Gulp
MIT License
118 stars 44 forks source link

Initial load performance, related to plugin? #9

Closed raDiesle closed 8 years ago

raDiesle commented 9 years ago

Hi,

as I can see with spy.js, gulp-tslint takes 1500 ms to initialize with require("gulp-tslint") this is the most out of all gulp and node requires

npm tslint itself takes 250ms and gulp-util 283ms = 530ms there must be something in the index.js being slow.

any idea ?

panuhorsmalahti commented 9 years ago

That's weird, for me it's instant. Can you share a spy.js snippet to test this?

raDiesle commented 9 years ago

See code below in gulpfile.js

var gulp = require("gulp"); require("gulp-tslint");

spy.js says:

-gulpfile : 1585 ms