GithubHelp home page GithubHelp logo

vicioux / heap-analyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tenderlove/heap-analyzer

0.0 2.0 0.0 890 KB

A heap analyzer for MRI that isn't very good.

License: MIT License

JavaScript 61.79% HTML 38.21%

heap-analyzer's Introduction

Not Very Good MRI Heap Analyzer

This is a Not Very Good heap analyzer for MRI. It is not very good.

You can see the current version here.

The Good Things

It processes MRI heap dumps in your browser.

After you upload your heap dump, it will it will show you a break down of number of objects per type and number of allocations per generation:

uploaded

If you click a slice of the pie, it will show you all allocations for that type in the table below like this:

objects

If you click a row in the table, it will add a new table that lists the objects that point to the object you clicked.

references

Hovering over a row will show you the allocation location (if it's available): allocation location

You can use any heap dumps from ObjectSpace.dump_all, but the index file gives an example of dumping the heap for a Rails app.

The Not Very Good Things

It has bugs, so please send pull requests. It is slow, so please send pull requests. It doesn't look very good, so please send pull requests.

Also, please send pull requests.

TODO

The points in the "objects allocated per generation" graph are not clickable. I would like to make them clickable in order to help find object leaks per generation.

Building the giant table is pretty slow, I would like to speed that up.

When you click a row to view the objects that point to that object, it inserts a new table. Unfortunately that is very slow and doesn't look very good. I'd like to fix both of those problems.

heap-analyzer's People

Contributors

yosiat avatar tenderlove avatar mcarpenter avatar mparramont avatar

Watchers

James Cloos avatar Sergio A. Orozco avatar

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.