GithubHelp home page GithubHelp logo

Support for Py3.x about hprof2flamegraph HOT 2 CLOSED

cykl avatar cykl commented on July 30, 2024
Support for Py3.x

from hprof2flamegraph.

Comments (2)

cykl avatar cykl commented on July 30, 2024

Does supporting Python >= 2.7 mean that I can run this tool for Py3.6?

Yes, it should. Travis CI is configured to run the test suite with Python 3.2 .. 3.5.

This is purely py2 --> py3 encoding problem.

I assumed that hprof ASCII output was... ASCII. However, it is not. It seems to be... UTF-8 encoded. (I played LC_ALL and LANG and always got an UTF-8 encoded file but I am not fully confident that the file will always be UTF-8 encoded).

I will push a fix tomorrow.

However, I am a bit puzzled by position 87. 87 should be in the header part which is pure ASCII. Would you mind sharing your hprof file?

from hprof2flamegraph.

dizcza avatar dizcza commented on July 30, 2024

Sorry, I can't upload this snapshot - it's 500 Mb and I don't know what sensitive information could be there. I created it with Pycharm --> Tools --> Create Memory Snapshot, you can try to do it yourself. It's a tool for addressing Pycharm memory issues, so it's probably not meant to be used with third party packages like yours.

from hprof2flamegraph.

Related Issues (4)

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.