Ionic CLI 1.5.2 update running really really slow! CPU at 90%+

@mhartington I just updated to ionic 1.5.2 and node.exe for ionic serve process is running at 90%+ cpu. Is it just me or is this happening for others also? My previous version was 1.5.0.

Could you paste in the output from ionic info

I ended up reinstalling 1.5.0 and here is the info for it. Let me know if you want me to reinstall 1.5.2 and i’ll redo it when I’m done coding for the day.

Cordova CLI: 5.1.1
Ionic Version: 1.0.0-rc.1
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
OS: Windows 7 SP1
Node Version: v0.12.0

same issue here with 1.5.2. (but node running around 20% instead of 80%). Colleague has around 10% constantly. upgraded to 1.5.4 and same issue.

Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.4
Ionic App Lib Version: 0.2.1
OS: Windows 8.1
Node Version: v0.12.4

after downgrade to ionic CLI 1.5.0 cpu is around 0 to 5%

@mhartington 1.5.5 is running node at 50%

@mhartington I have the same problem. See my issue logged at: https://github.com/driftyco/ionic-cli/issues/497
I works now, after downgrading to 1.5.0. I also tried 1.5.2, but with the same problems.

Hmm alright. Interesting, I just tried ionic serve with 1.5.5 of the cli and my cpu was running around 20%, which isn’t bad.
Will continue this on the issue thread

In my mac cpu usage at 65% when i run ionic serve/emulate.

System info

Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.11
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.5.5
Ionic App Lib Version: 0.2.2
ios-deploy version: 1.7.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.2
Xcode version: Xcode 6.3.2 Build version 6D2105

Disabling livereload fixes the CPU usages:

ionic serve --verbose --nolivereload

Looks like opening the livereload makes the CPU go crazy. We even tried downgrading to node v0.10.36, but that doesn’t help either. Changing the livereload port also doesn’t matter.

1 Like

I’m also experiencing very slow interactions with ionic, this is how long it took to just return info:

$ time ionic info

Your system information:

Cordova CLI: 4.2.0
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.6.1
Ionic App Lib Version: 0.3.3
ios-deploy version: 1.7.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.6
Xcode version: Xcode 6.3.1 Build version 6D1002



real	0m35.826s
user	0m5.47
sys	0m2.008s

This has severely slowed my development. Running ionic serve takes extremely long times to start up and refresh. Anyone have any idea why?

Downgraded to ionic@1.5.0 and saw improvement to commands like ionic info, but ionic serve is still very very slow. Sometimes it never loads. Desperate for help here, development at a stand still.

i have same issue

Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.6
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS: Windows 8.1
Node Version: v4.4.4

I also encountered same issue. And when i in ionic serve status, service rebuild JS/CSS very slow.

JS changed:   www/build/main.js
JS changed:   www/build/main.js
[17:07:21]  bundle dev update finished in 12.98 s
[17:07:21]  sass started ...
[17:07:23]  sass finished in 2.18 s

Also my ionic info is:
➜ ionic-conference-app git:(master) ✗ time ionic info

Your system information:

Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.7.0
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 7.3.1 Build version 7D1014


ionic info  7.93s user 4.84s system 119% cpu 10.697 total