Git Product home page Git Product logo

Comments (9)

mbelekar avatar mbelekar commented on June 15, 2024

@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.

diist avatar diist commented on June 15, 2024

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.

tigris avatar tigris commented on June 15, 2024

G'day @diist - can you share what version of ruby you have, and what OS you are on?

from stackup.

diist avatar diist commented on June 15, 2024

Currently I'm experiencing the issue with Ruby 2.3.1p112 on macOS Sierra 10.12.6

from stackup.

tigris avatar tigris commented on June 15, 2024

I wonder if this might be related?

aws/aws-sdk-ruby#1811

from stackup.

diist avatar diist commented on June 15, 2024

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.

mdub avatar mdub commented on June 15, 2024

Yeah, I'd be a good idea to get more specific about the gems stackup uses:

from stackup.

diist avatar diist commented on June 15, 2024

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.

mdub avatar mdub commented on June 15, 2024

I've released 1.4.0, @diist.

from stackup.

Related Issues (20)

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.