Comments (9)
@diist I get the same percentage of cpu with older versions of stackup. It hits 97% cpu eventually no matter what version of stackup is being used.
➜ ~ time stackup --version
stackup v1.3.1
stackup --version 0.86s user 0.52s system 87% cpu 1.573 total
** Ran it again **
➜ ~ time stackup --version
stackup v1.3.1
stackup --version 0.78s user 0.44s system 97% cpu 1.252 total
** One more time **
➜ ~ time stackup --version
stackup v1.3.1
stackup --version 0.78s user 0.44s system 97% cpu 1.252 total
** Uninstalled 1.3.1 **
➜ ~ gem uninstall stackup
Successfully uninstalled stackup-1.3.1
** Installed 1.3.0 **
➜ ~ gem install stackup -v "1.3.0"
➜ ~ time stackup --version
stackup v1.3.0
stackup --version 0.48s user 0.15s system 90% cpu 0.693 total
** Ran it again **
➜ ~ time stackup --version
stackup v1.3.0
stackup --version 0.42s user 0.12s system 97% cpu 0.552 total
** Uninstalled 1.3.0 **
➜ ~ gem uninstall stackup
Successfully uninstalled stackup-1.3.0
** Installed version 1.2.0 **
➜ ~ gem install stackup -v "1.2.0"
➜ ~ time stackup --version
stackup v1.2.0
stackup --version 0.42s user 0.12s system 97% cpu 0.555 total
from stackup.
Oh I wasn't referring to the CPU usage returned by time
. What I meant is during the 26.254s it takes to load I can see a ruby thread going nuts using top
in another terminal. You don't seem to have that issue even though 1.3.1
seems to take twice as long to load for you.
from stackup.
G'day @diist - can you share what version of ruby you have, and what OS you are on?
from stackup.
Currently I'm experiencing the issue with Ruby 2.3.1p112 on macOS Sierra 10.12.6
from stackup.
I wonder if this might be related?
from stackup.
That's probably it, a gem uninstall --all --force
"fixed" it! I'm down to 0.5s now.
Surely stackup
doesn't need all of the 150 aws-sdk-*
gems?
from stackup.
Yeah, I'd be a good idea to get more specific about the gems stackup uses:
from stackup.
Could you release a new version? The issue is back for me and uninstalling all the gems doesn't do the trick anymore 😢 . Note that my hard drive is super slow and might be dying.
from stackup.
I've released 1.4.0
, @diist.
from stackup.
Related Issues (20)
- Applying change-set to create stack fails HOT 5
- Create and Update functions should not mutate the options parameter HOT 2
- stackup -p errors out when file is not found HOT 7
- Support CAPABILITY_AUTO_EXPAND HOT 2
- allow CAPABILITY_NAMED_IAM through the cli HOT 1
- Enable use of service role ARN when using change sets
- Why does stackup transform YAML templates into JSON before uploading? HOT 2
- Rake tasks broken after 1.4.3 release HOT 1
- The recent release are not created HOT 2
- Feature request: do not normalise to JSON before invoking Cloudformation API's HOT 3
- Tags as AWS style array of hashes doesn't seem to work for me HOT 3
- "Rate exceeded" with default retry limit
- Does stackup support cloudformation stackset? HOT 2
- [Question] dose stackup support cfn changeset type 'IMPORT' HOT 1
- Add support for S3 source when using "diff"
- Mismatch between env variable in readme file and what stackup expects HOT 1
- Spurious "update failed" message when applying an IMPORT change set
- support --profile option
- `!Condition` for nested conditions is not handled correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stackup.