Comments (8)
👍
I haven't had time to work on Snakeviz in a while so it hasn't been a priority. But I use Python 3.4 now as my default Python so when I do go work on it Python3-ification would definitely be a first step. Let me see if I can do that soon.
from snakeviz.
Also, using Python 2 to read Python 3 profiles and vice versa is a separate issue, and could be tricky. I'll have to do some research as to what the state of the art is in that. Might end writing a converter for cProfile output to a more cross-compatible format.
from snakeviz.
Cool. Python2 to read Python3 profiles is probably a big task. Doing either that task, or having separate Python 2 and 3 versions would probably be fine. Both might be overkill. : )
Maybe one of us lazy developers can actually help out, too.
from snakeviz.
Don't hold me to it, but I think Python 3 support will be pretty easy. Should give it a try one of these evenings.
from snakeviz.
Consider this patch, I think this should be python2.x compatible, but someone will have to test it. Works for python3.
from snakeviz.
@cblair - It would be great if you could turn your branch into a pull request. (I'd also like to use this on Python 3.)
from snakeviz.
I was able to install snakeviz from git using 2to3 -w .; python setup.py install
. It seems to work with python3 as well as with python2.
from snakeviz.
Think this should be addressed in 6b5c38a. New release coming soon.
from snakeviz.
Related Issues (20)
- charts not adding up HOT 1
- requested an insecure frame HOT 1
- Can I use SnakeViz in Google Colab? HOT 1
- %snakeviz magic lumps everything under builtins.exec HOT 2
- Snakeviz over an ssh-forwarded Jupyter-lab server connection?
- TypeError: 'int' object is not iterable
- How reset sorting? HOT 1
- Profile accuracy HOT 1
- Chart load error
- add info for trending
- chart time problem HOT 1
- Error "not a valid profile" on python 3.8.9 HOT 1
- a question about show message info HOT 2
- Option to write output to html file HOT 1
- An error occurred processing your profile. You can try a lower depth, a larger cutoff, or try profiling a smaller portion of your code. If you continue to have problems you can contact us on GitHub. HOT 1
- Drop support for EOL Pythons HOT 9
- Snakeviz not showing visualization via online jupyterLab HOT 4
- subprocesses HOT 2
- miniconda3 python3.12.1 on Win10 , snakeviz fails to start HOT 2
- Threading breaks SnakeViz Visualisation (Python 3.12.3) HOT 5
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 snakeviz.