Coder Social home page Coder Social logo

Comments (3)

milostosic avatar milostosic commented on May 9, 2024

Yes, that's exactly the case.
I agree it's not pretty but the motivation was performance - profiling applications that have tens of millions of allocations tends to result in slow population of stack tree and related structures if symbol resolution is involved. I'll think about this one...

from mtuner.

milianw avatar milianw commented on May 9, 2024

The merging can happen at analysis time, and the resolution of the instruction pointer address to symbol name can be cached. Furthermore, properly merging can actually result in a reduction in overhead since the tree will be smaller, which can bring considerable memory reductions (I've seen this in heaptrack).

from mtuner.

milostosic avatar milostosic commented on May 9, 2024

I was wrong here... return address isn't used but a 'symbol ID' which is just a symbol offset.
Just fixed symbol ID enumeration so this should be working in the next release.

from mtuner.

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.