Comments (9)
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.
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:
- What about the tons of
npm
warnings I got? Are they okay? I haven't usednpm
much so I'm unfamiliar with those warnings/errors. - If I want to uninstall via
pip uninstall vprof
, doespip
also take care of the npm install and other dependencies?
Cheers!
from vprof.
Hi,
here are the answers:
- 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). - 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:
- 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.- 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.
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.
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.
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.
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.
pip install vprof
should install most recent version now.
from vprof.
Great - I just got it. Thanks!
from vprof.
Related Issues (20)
- Is it possible to write to a file using `runner`? HOT 1
- ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
- module 'signal' has no attribute 'SIGPROF' HOT 2
- FileNotFoundError path to script has spaces HOT 1
- Configure remote server (host and port value) by setting environment variables
- [Help] How to test twisted code
- Fails with "IndexError: list index out of range" when running with -h (heatmap) HOT 1
- object of type 'int' has no len()
- Profiling command-line based scripts that change terminal settings results in a termios error
- How to use on Windows HOT 1
- Latest `highlight.js` node module breaks the build HOT 1
- Heatmap not always accumulate time spent on the right line
- Private on conda-forge?
- Add timeout option to vprofile? HOT 1
- How to profile long running application ? HOT 2
- heatmap not working in virtualenv python
- astronomic ram usage HOT 1
- Invalid handling of multi-word script argument
- Exception happened during processing of request from ('10.255.0.2', 55477) HOT 4
- Fix simple typo: regulal -> regular
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 vprof.