Extremely slow startup of nearly a minute
See original GitHub issueBefore I start I know this has been discussed in #282 #632 #1044 all of which are showing speed issues in the 1 - 5 seconds range - however I’m experiencing a startup time of almost a minute.
Gulpfile:
console.time("Loading plugins"); //start measuring
var gulp = require("gulp"),
rimraf = require("rimraf"),
concat = require("gulp-concat"),
cssmin = require("gulp-cssmin"),
uglify = require("gulp-uglify"),
autoprefixer = require("gulp-autoprefixer"),
changed = require("gulp-changed"),
sass = require("gulp-sass"),
debug = require('gulp-debug'),
rename = require('gulp-rename');
console.timeEnd('Loading plugins');
gulp.task('default', function () { });
Output:
Loading plugins: 47812ms
[15:27:34] Using gulpfile M:\visual studio 2015\Projects\CustomerPortal\src\Cust
omerPortal\gulpfileSpeedTest.js
[15:27:34] Starting 'default'...
[15:27:34] Finished 'default' after 334 µs
Something is very wrong if it takes ~48 seconds to bring in 10 dependencies all of which my real gulpfile uses.
Gulp version: 3.8.11 CLI Version 1.2.1
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:9 (5 by maintainers)
Top Results From Across the Web
8 Ways to Fix Slow Boot Times in Windows 10 - MakeUseOf
One of the most problematic settings that will cause slow boot times in Windows 10 is the fast startup option. This is enabled...
Read more >Solved: Windows 10/11 Slow Boot - Driver Easy
The first quick and easy method to solve the problem is to disable Fast Startup on your Windows 10 device. Fast Startup is...
Read more >Windows 10 very slow nearly 5 mins boot time
This will help you speed up Windows 10 boot-up time tremendously as the operating system wouldn't have to load up several tasks while...
Read more >What to Do if My Windows Computer Starts Slow
If your computer has a defective piece of hardware, it can cause computer startup problems and other issues. For example, if the power...
Read more >HP Slow Startup: How to Fix HP Laptop Taking Forever to ...
Fast Startup is enabled by default in Windows 10. It is supposed to reduce startup time by pre-loading some boot information before your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have same problem, when run any task, some times (almost every times) it’s take nearly a minute to startup gulp, then tasks running normal. And this happen only in Windows 10 machine (with SSD), in my Macbook everything running ok.
This is an old issue, but for anyone encountering it, I have a similar problem.
Gulp starts up fine, until it has to start a watch task, in which case I was seeing 60 seconds duration over the usual 3 seconds. This happened after a change I made to an unrelated gulp task, so I suspected that it was my fault, however switching to another branch without that change and the long time still persisted.
I investigated and it looks like my SSD is at end of life as it has run out of extra blocks. I ran TRIM to try and remedy it - however it is just a temporary fix. Luckily I know now and can safely get any non backed up data off the disk until it’s eventual demise. Strange I had to find out through gulp though!