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
Friday April 03, 2009
10:31 PM
perlcritic - the movie
I plugged Runops::Trace+Internals::DumpArenas into a treemap and made a movie out of it.
http://www.youtube.com/watch?v=etYau_Xf9AM
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.
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Huh? (Score:1)
I don't understand this. Can you explain what you are doing at a slightly higher level?
Re: (Score:1)
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.
Re: (Score:1)
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?
Re: (Score:1)
Oh, duh... I guess "Internals::DumpArenas" implies pretty clearly that it's a map of arenas.
Re: (Score:1)
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?!"
music (Score:0)