Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of jjore (6662)

Friday April 03, 2009
10:31 PM

perlcritic - the movie

[ #38752 ]

I plugged Runops::Trace+Internals::DumpArenas into a treemap and made a movie out of it.

It's not a very good movie but its the first I've made of the innards of a perl program so I posted it anyway.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I don't understand this. Can you explain what you are doing at a slightly higher level?

    • I found things in memory, colored them by type, and rendered an image each time I executed an entersub or leavesub opcode.

      It seems to work much better for some work servers which are actually full of data and make more interesting pictures.

      • Oh, I see. So this is an animation of memory alloc/dealloc over the lifetime of the app? What are the zones? Does Perl's malloc create arenas or something? Or are the zones different packages of blessed references?

        • Oh, duh... I guess "Internals::DumpArenas" implies pretty clearly that it's a map of arenas.

          • No, it's kind of roughly perl level structures. Like "this stash is really large" or "wow, will you look at the size of that string?!"

  • This is screaming out for some techno/electro music.