Skip to content

Detailed memory benchmarks (memory profiling) #369

Description

@ok-nick

I've been using dhat-rs for memory profiling my Rust code. It shows exact stack traces of where allocations occur which has been extremely useful for optimizing my code. You can find more details about the output here. There's even a tool to generate flamegraphs from its output. Are there plans to add this type of functionality to Codspeed?

Activity

  1. art049 commented on May 24, 2026

    @art049
    Member

    Yes definitely this is planned. At the moment, we have the memory instrument tracking allocations: https://codspeed.io/docs/instruments/memory
    But having the call stack information of each allocation is definitely on the roadmap as it will also significantly helps agents optimize memory consumption

  2. changed the title [-]`dhat` for detailed memory benchmarks[/-] [+]Detailed memory benchmarks (memory profiling)[/+] on May 24, 2026
  3. jlucaso1 commented on Jun 19, 2026

    @jlucaso1

    This will be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions