Giter Club home page Giter Club logo

Comments (9)

nvdv avatar nvdv commented on May 17, 2024

Hi,
it should spinning until you launch profiler.run() function. Then it will display obtained stats.
I will update README with clearer description and add more profiling examples.
Thanks for reporting!

from vprof.

alichaudry avatar alichaudry commented on May 17, 2024

Ah! Got it. I'll try again. The function I was testing takes 40 minutes to run (I know...) so I didn't want to wait for that to finish and find out the profiler isn't working. I'll give it another shot.

I have another two related questions:

  1. What about the tons of npm warnings I got? Are they okay? I haven't used npm much so I'm unfamiliar with those warnings/errors.
  2. If I want to uninstall via pip uninstall vprof, does pip also take care of the npm install and other dependencies?

Cheers!

from vprof.

nvdv avatar nvdv commented on May 17, 2024

Hi,
here are the answers:

  1. I am not a big fan of npm, but it shouldn't give you any warnings (at
    least I have none when I am building it).
  2. When you do pip install vprof , you don't need npm and other stuff, UI
    is already built and uploaded to PyPI. npm is needed when you want to build
    UI from sources.
    Also pip does not install npm and other Node packages.

I think I will clarify this in README.md.

Thanks for reporting!
On May 20, 2016 6:47 PM, "alichaudry" [email protected] wrote:

Ah! Got it. I'll try again. The function I was testing takes 40 minutes to
run (I know...) so I didn't want to wait for that to finish and find out
the profiler isn't working. I'll give it another shot.

I have another two related questions:

  1. What about the tons of npm warnings I got? Are they okay? I haven't
    used npm much so I'm unfamiliar with those warnings/errors.
  2. If I want to uninstall via pip uninstall vprof, does pip also take
    care of the npm install and other dependencies?

Cheers!


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#35 (comment)

from vprof.

alichaudry avatar alichaudry commented on May 17, 2024

Yup, I wasn't doing pip install because the version on pip doesn't have the cool remote profiler as in v0.3. Actually, are you planning on updating the pip repo/PyPI any time soon? Because if yes, then I'll just install via pip, which, IMO, is much cleaner. conda might be even better, because it's binaries and I don't have to worry about compilation on the local machine!

The reason I ask is because when I do the local build, it runs npm and looks like it changes more stuff than pip does. I know when I install via pip, it's easy enough to remove via pip uninstall. But doing the local build is touching npm and all this other stuff, so I wasn't sure how the uninstall process works when doing a local build outside of pip.

TL;DR: When installing via pip, uninstalling is super-easy pip uninstall yada-yada. But when doing a local build from the repo, what are the uninstall instructions?

from vprof.

nvdv avatar nvdv commented on May 17, 2024

Sorry about that,
current workaround is to explicitly specify vprof version:
pip install vprof==0.3
Since I am on the road, I will update PyPI version as soon as I will get
back to my laptop, which might happen in 2-3 days.
On May 20, 2016 23:29, "alichaudry" [email protected] wrote:

Yup, I wasn't doing pip install because the version on pip doesn't have
the cool remote profiler as in v0.3. Actually, are you planning on updating
the pip repo/PyPI any time soon? Because if yes, then I'll just install
via pip, which, IMO, is much cleaner. conda might be even better, because
it's binaries and I don't have to worry about compilation on the local
machine!

The reason I ask is because when I do the local build, it runs npm and
looks like it changes more stuff than pip does. I know when I install via
pip, it's easy enough to remove via pip uninstall. But doing the local
build is touching npm and all this other stuff, so I wasn't sure how the
uninstall process works when doing a local build outside of pip.

TL;DR: When installing via pip, uninstalling is super-easy pip uninstall
yada-yada. But when doing a local build from the repo, what are the
uninstall instructions?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#35 (comment)

from vprof.

nvdv avatar nvdv commented on May 17, 2024

To uninstall local version you can uninstall it via pip and remove
repository directory. npm puts stuff in .node_modules sub directory
If you don't need npm, you can uninstall it manually.

from vprof.

alichaudry avatar alichaudry commented on May 17, 2024

Ah. That makes sense. Thanks!

Just to confirm, vprof 0.3 lives on PyPI but the version needs to be called explicitly (via pip install). And the local build uninstall process is to remove the repo directory, uninstall via pip, and revert npm changes. Cheers!

from vprof.

nvdv avatar nvdv commented on May 17, 2024

pip install vprof should install most recent version now.

from vprof.

alichaudry avatar alichaudry commented on May 17, 2024

Great - I just got it. Thanks!

from vprof.

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.