12 years agoNo longer chase CvSTART (dubious before 5.17 and broken with it)
Tim Bunce [Thu, 4 Oct 2012 08:47:35 +0000]
No longer chase CvSTART (dubious before 5.17 and broken with it)

12 years agoFix COPHH for PERL_BCDVERSION < 0x5013007
Tim Bunce [Thu, 4 Oct 2012 08:08:33 +0000]
Fix COPHH for PERL_BCDVERSION < 0x5013007

12 years agobump version
Tim Bunce [Wed, 3 Oct 2012 13:51:40 +0000]
bump version

12 years agoFix for coredumped in t/recurse.t with a non-threaded 5.8.9
Tim Bunce [Wed, 3 Oct 2012 13:50:49 +0000]
Fix for coredumped in t/recurse.t with a non-threaded 5.8.9

12 years agoFix most backcompat issues (tested with 5.8.9)
Tim Bunce [Wed, 3 Oct 2012 13:41:07 +0000]
Fix most backcompat issues (tested with 5.8.9)

12 years agoPL_apiversion PL_ofsgv PL_custom_ops. basecop->cop_stashpv commented out for now.
Tim Bunce [Wed, 3 Oct 2012 12:55:45 +0000]
PL_apiversion PL_ofsgv PL_custom_ops. basecop->cop_stashpv commented out for now.

12 years agoparser compcv vs comppad
Tim Bunce [Wed, 3 Oct 2012 12:41:01 +0000]
parser compcv vs comppad

12 years agoavoid COPHH and define CopHINTHASH_get if not defined
Tim Bunce [Wed, 3 Oct 2012 12:26:50 +0000]
avoid COPHH and define CopHINTHASH_get if not defined

12 years agoFix pod coverage.
Tim Bunce [Wed, 3 Oct 2012 12:10:37 +0000]
Fix pod coverage.

12 years agotweak .gitignore
Tim Bunce [Wed, 3 Oct 2012 11:56:21 +0000]
tweak .gitignore

12 years agoapplied ppport.h recommended patch
Tim Bunce [Wed, 3 Oct 2012 11:31:59 +0000]
applied ppport.h recommended patch

12 years agoupdate ppport.h to 3.20
Tim Bunce [Wed, 3 Oct 2012 11:31:03 +0000]
update ppport.h to 3.20

12 years agoUpdate MANIFEST. Tweak VERSION for dev release.
Tim Bunce [Wed, 3 Oct 2012 11:27:52 +0000]
Update MANIFEST. Tweak VERSION for dev release.

12 years agoFix sizeme_store.pl pod typo. Make -d:SizeMe be special only if it's first module.
Tim Bunce [Tue, 2 Oct 2012 21:40:01 +0000]
Fix sizeme_store.pl pod typo. Make -d:SizeMe be special only if it's first module.

12 years agoMove sizeme_graph.pl to bin and the static files into lib so they're installed.
Tim Bunce [Tue, 2 Oct 2012 21:38:58 +0000]
Move sizeme_graph.pl to bin and the static files into lib so they're installed.

12 years agoPolish sizeme_graph.pl
Tim Bunce [Tue, 2 Oct 2012 20:11:25 +0000]
Polish sizeme_graph.pl

12 years agoOnly set SIZEME for -d mode. Fix assertion when SIZEME env var not set.
Tim Bunce [Tue, 2 Oct 2012 19:54:14 +0000]
Only set SIZEME for -d mode. Fix assertion when SIZEME env var not set.

12 years agoMore docs and other polish for release.
Tim Bunce [Tue, 2 Oct 2012 19:28:35 +0000]
More docs and other polish for release.

12 years agoTweak tooltip.
Tim Bunce [Tue, 2 Oct 2012 19:28:10 +0000]
Tweak tooltip.

12 years agoMerge any node with a single child. Added --showid and more --debug output.
Tim Bunce [Tue, 2 Oct 2012 19:27:16 +0000]
Merge any node with a single child. Added --showid and more --debug output.

12 years agoRemove 'pre attr'. Other minor cleanup.
Tim Bunce [Tue, 2 Oct 2012 16:34:00 +0000]
Remove 'pre attr'. Other minor cleanup.

12 years agorenaming for static/sizeme_graph.pl
Tim Bunce [Tue, 2 Oct 2012 16:27:42 +0000]
renaming for static/sizeme_graph.pl

12 years agoMerge remote-tracking branch 'origin/rafl' into tim-20120930-sizeme
Tim Bunce [Tue, 2 Oct 2012 15:32:54 +0000]
Merge remote-tracking branch 'origin/rafl' into tim-20120930-sizeme

Conflicts:
.gitignore
Makefile.PL
SizeMe.xs

Also added #ifdef PERL_IMPLICIT_CONTEXT around PL_my_cxt_size.

12 years agoRename to Devel::SizeMe
Tim Bunce [Tue, 2 Oct 2012 14:54:31 +0000]
Rename to Devel::SizeMe

12 years agoAssorted minor changes.
Tim Bunce [Tue, 2 Oct 2012 14:11:49 +0000]
Assorted minor changes.

12 years agoCount all stack frames, not just the used ones rafl
Florian Ragwitz [Mon, 1 Oct 2012 09:22:13 +0000]
Count all stack frames, not just the used ones

12 years agoFix a bunch of warnings
Florian Ragwitz [Mon, 1 Oct 2012 09:21:01 +0000]
Fix a bunch of warnings

12 years agoAdd a few more global pointers
Florian Ragwitz [Mon, 1 Oct 2012 06:13:12 +0000]
Add a few more global pointers

12 years agoAdd more interpreter globals
Florian Ragwitz [Mon, 1 Oct 2012 02:51:12 +0000]
Add more interpreter globals

12 years agoCount PerlInterpreter when applicable
Florian Ragwitz [Mon, 1 Oct 2012 02:19:13 +0000]
Count PerlInterpreter when applicable

12 years agoFor PL_compiling, don't count the actual OP
Florian Ragwitz [Mon, 1 Oct 2012 02:04:16 +0000]
For PL_compiling, don't count the actual OP

It's either stored in the data section or in the PerlInterpreter struct, so it
should not be counted or counted as part of struct PerlInterpreter. However, we
do wanna count things referenced from PL_compiling, such as cop_file and the
hints hash, if present.

12 years agoAllow the op structure to not be counted
Florian Ragwitz [Mon, 1 Oct 2012 02:03:22 +0000]
Allow the op structure to not be counted

Depending on how the OP is allocated, you may or may not want to count the size
of the actual OP. However, you'll want to count other data referenced from the
OP.

12 years agoAdd a few more globals
Florian Ragwitz [Mon, 1 Oct 2012 01:49:45 +0000]
Add a few more globals

Some of them were already reached on other paths, others weren't.

12 years agoAlways count PL_compiling as a COP
Florian Ragwitz [Mon, 1 Oct 2012 01:31:38 +0000]
Always count PL_compiling as a COP

It's always allocated as a full COP, never as anything else that could possibly
be smaller. Pass that information along.

12 years agoFactor out op class guessing
Florian Ragwitz [Mon, 1 Oct 2012 01:29:16 +0000]
Factor out op class guessing

Sometimes callers already know what kind of class the op they're dealing with
belongs to. If they do, they can now just pass down that information into
op_size_class, avoiding possibly wrong guesses from cc_opclass based on op_type.

12 years agoAttempt to count PL_compiling
Florian Ragwitz [Mon, 1 Oct 2012 01:27:16 +0000]
Attempt to count PL_compiling

Often, PL_compiling will have an op_type of OP_NULL, making it being counted as
a regular base op. However, it's memory is being allocated within the
PerlInterpreter structure or in a proper global as a full COP, not just a
BASEOP. Therefore it's possible for it to be counted wrong right now.

12 years agoCount lexical hint hashes in COPs
Florian Ragwitz [Mon, 1 Oct 2012 01:09:20 +0000]
Count lexical hint hashes in COPs

12 years agoAdd refcounted_he structs counting
Florian Ragwitz [Mon, 1 Oct 2012 01:07:29 +0000]
Add refcounted_he structs counting

12 years agoAttempt to extract the refcounted_he definition
Florian Ragwitz [Mon, 1 Oct 2012 01:05:32 +0000]
Attempt to extract the refcounted_he definition

Not all perls have this structure, so some compatibility checks will have to be
added later.

We can't easily reuse the definition from hv.h unless we define PERL_CORE, which
will break loads of other code we currently have.

12 years agomake hash keys be a he+hek node that has the value as a child
Tim Bunce [Sun, 30 Sep 2012 09:49:27 +0000]
make hash keys be a he+hek node that has the value as a child

12 years agoMark suspect PERL_SUBVERSION macros
Tim Bunce [Sun, 30 Sep 2012 09:48:07 +0000]
Mark suspect PERL_SUBVERSION macros

12 years agotweak --showid output
Tim Bunce [Sun, 30 Sep 2012 09:16:58 +0000]
tweak --showid output

12 years agoRework AV index labels to avoid using NPattr_PRE_ATTR
Tim Bunce [Sun, 30 Sep 2012 09:09:10 +0000]
Rework AV index labels to avoid using NPattr_PRE_ATTR

12 years agoadd external gz mechanism as experiment (~3 pct)
Tim Bunce [Sun, 30 Sep 2012 08:18:34 +0000]
add external gz mechanism as experiment (~3 pct)

12 years agoShow duration of SizeMe streaming
Tim Bunce [Sun, 30 Sep 2012 08:16:48 +0000]
Show duration of SizeMe streaming

12 years agocope with array index name attr being undef
Tim Bunce [Sun, 30 Sep 2012 08:16:37 +0000]
cope with array index name attr being undef

12 years agoMake sv_size return true if sv not seen before.
Tim Bunce [Sun, 30 Sep 2012 08:14:41 +0000]
Make sv_size return true if sv not seen before.

12 years agoAdd a missing dependency
Florian Ragwitz [Sun, 30 Sep 2012 08:03:12 +0000]
Add a missing dependency

12 years agoAdd S & E tokens, plus timing.
Tim Bunce [Sun, 30 Sep 2012 07:55:37 +0000]
Add S & E tokens, plus timing.

12 years agoMove SvSTASH counting from SVt_PVCV to >= SVt_PVMG
Florian Ragwitz [Sun, 30 Sep 2012 07:50:52 +0000]
Move SvSTASH counting from SVt_PVCV to >= SVt_PVMG

I assume that certain stashes might not be reached using the previous
behaviour. Both objects and CVs (and possibly even others) can have a stash.
For anonymous stashes without CVs in them, I believe SvSTASH would not be
counted if an object blessed in said anonymous stash would be processed.

12 years agoFor non-magical XPVMGs, count OURSTASH for if present
Florian Ragwitz [Sun, 30 Sep 2012 07:50:12 +0000]
For non-magical XPVMGs, count OURSTASH for if present

12 years agoOnly attempt to count magic on magical SVs
Florian Ragwitz [Sun, 30 Sep 2012 07:48:30 +0000]
Only attempt to count magic on magical SVs

XPVMGs might not have a MAGIC* chain attached. SvMAGICAL is the predicate for
that.

12 years agoFix compilation on perls with IMPLICIT_CONTEXT
Florian Ragwitz [Sun, 30 Sep 2012 07:31:33 +0000]
Fix compilation on perls with IMPLICIT_CONTEXT

12 years agoFirst steps migrating to SizeMe
Tim Bunce [Sun, 30 Sep 2012 06:56:27 +0000]
First steps migrating to SizeMe

12 years agoMore prereqs tim-20120929-d-m
Tim Bunce [Fri, 28 Sep 2012 19:19:03 +0000]
More prereqs

12 years agoMerge branch 'tim-20120929-d-m' of git.shadowcat.co.uk:Devel-Size into tim-20120929-d-m
Tim Bunce [Fri, 28 Sep 2012 19:18:06 +0000]
Merge branch 'tim-20120929-d-m' of git.shadowcat.co.uk:Devel-Size into tim-20120929-d-m

12 years agoDon't "open -a Graphviz $opt_dot" unless on OSX
Tim Bunce [Fri, 28 Sep 2012 19:16:53 +0000]
Don't "open -a Graphviz $opt_dot" unless on OSX

12 years agotweak .gitignore
Tim Bunce [Fri, 28 Sep 2012 19:16:22 +0000]
tweak .gitignore

12 years agoadd some PREREQ_PM
Tim Bunce [Fri, 28 Sep 2012 19:14:56 +0000]
add some PREREQ_PM

12 years agoFix mstats scope
timbo [Fri, 28 Sep 2012 18:57:04 +0000]
Fix mstats scope

12 years agomstats() isn't very portable
Tim Bunce [Fri, 28 Sep 2012 18:54:39 +0000]
mstats() isn't very portable

12 years agoMega rename to Devel::Memory commit
Tim Bunce [Fri, 28 Sep 2012 18:31:11 +0000]
Mega rename to Devel::Memory commit

12 years agoadd TODO
Tim Bunce [Fri, 28 Sep 2012 16:09:57 +0000]
add TODO

12 years agoSplit out a new heap_size() function. Add TODO. Special case PL_strtab HeVAL's.
Tim Bunce [Fri, 28 Sep 2012 16:08:08 +0000]
Split out a new heap_size() function. Add TODO. Special case PL_strtab HeVAL's.

12 years agotweak Children tooltip
Tim Bunce [Fri, 28 Sep 2012 07:35:26 +0000]
tweak Children tooltip

12 years agoAdd "->" to link names for --text.
Tim Bunce [Fri, 28 Sep 2012 07:30:53 +0000]
Add "->" to link names for --text.

12 years agoAdd logarea param via referer. add bytesToSize. Polish formatting of tooltip
Tim Bunce [Fri, 28 Sep 2012 01:51:20 +0000]
Add logarea param via referer. add bytesToSize. Polish formatting of tooltip

12 years agoupdate notes.txt
Tim Bunce [Thu, 27 Sep 2012 16:09:47 +0000]
update notes.txt

12 years agoHack to enable log scale for treemap nodes (disabled)
Tim Bunce [Thu, 27 Sep 2012 15:27:24 +0000]
Hack to enable log scale for treemap nodes (disabled)

12 years agoFix for scalar attr and assorted clenups
Tim Bunce [Thu, 27 Sep 2012 15:24:21 +0000]
Fix for scalar attr and assorted clenups

12 years agocheck for AVelem, remove Dwarn
Tim Bunce [Thu, 27 Sep 2012 15:13:11 +0000]
check for AVelem, remove Dwarn

12 years agotweaks
Tim Bunce [Thu, 27 Sep 2012 15:12:43 +0000]
tweaks

12 years agoAdd PRE_ATTR and use it for array indices.
Tim Bunce [Wed, 26 Sep 2012 17:14:32 +0000]
Add PRE_ATTR and use it for array indices.

12 years agoApply SOME_RECURSION to CvOUTSIDE for now
Tim Bunce [Wed, 26 Sep 2012 17:09:07 +0000]
Apply SOME_RECURSION to CvOUTSIDE for now

12 years agoAdd 'ADD_PRE_ATTR' mechanism so we can output attrs for the next node.
Tim Bunce [Wed, 26 Sep 2012 17:08:58 +0000]
Add 'ADD_PRE_ATTR' mechanism so we can output attrs for the next node.

12 years agoUsing check_new doesn't work for padlist_size. Mark weakrefs in link name.
Tim Bunce [Wed, 26 Sep 2012 16:06:06 +0000]
Using check_new doesn't work for padlist_size. Mark weakrefs in link name.

12 years agoUse check_new in padlist_size.
Tim Bunce [Wed, 26 Sep 2012 15:09:52 +0000]
Use check_new in padlist_size.

12 years agoPad names almost working. Some asorted code cleanup.
Tim Bunce [Wed, 26 Sep 2012 15:09:12 +0000]
Pad names almost working. Some asorted code cleanup.

12 years agoChange env var name
Tim Bunce [Wed, 26 Sep 2012 13:35:37 +0000]
Change env var name

12 years agoRecurse into CvPADLISTs
Tim Bunce [Wed, 26 Sep 2012 13:35:24 +0000]
Recurse into CvPADLISTs

12 years agoNote need to treat HEs as nodes. Warn on suspect HeVAL
Tim Bunce [Wed, 26 Sep 2012 13:34:42 +0000]
Note need to treat HEs as nodes. Warn on suspect HeVAL

12 years agoDon't chase magic unless SvMAGICAL
Tim Bunce [Tue, 25 Sep 2012 16:11:25 +0000]
Don't chase magic unless SvMAGICAL

12 years agoTweak node naming (remove + )
Tim Bunce [Tue, 25 Sep 2012 14:39:36 +0000]
Tweak node naming (remove + )

12 years agoFaster transitions
Tim Bunce [Tue, 25 Sep 2012 14:39:15 +0000]
Faster transitions

12 years agoFix for single node.
Tim Bunce [Tue, 25 Sep 2012 13:14:27 +0000]
Fix for single node.

12 years agoChase cop_stash only if refcnt==1. Move MG to end of sv_size().
Tim Bunce [Tue, 25 Sep 2012 13:12:34 +0000]
Chase cop_stash only if refcnt==1. Move MG to end of sv_size().

12 years agoLarger label font. workaround jit bug where old tooltip is still shown
Tim Bunce [Tue, 25 Sep 2012 12:53:23 +0000]
Larger label font. workaround jit bug where old tooltip is still shown

12 years agono longer size CvSTASH perl RT79366
Tim Bunce [Tue, 25 Sep 2012 10:02:43 +0000]
no longer size CvSTASH perl RT79366

12 years agoDrop json out. Write dot to file. Add 'text' tree mode.
Tim Bunce [Tue, 25 Sep 2012 09:53:43 +0000]
Drop json out. Write dot to file. Add 'text' tree mode.

12 years agoUnused svhead arena space. Scan arenas for unseen SVs. malloc info. Write to pipe.
Tim Bunce [Tue, 25 Sep 2012 09:51:59 +0000]
Unused svhead arena space. Scan arenas for unseen SVs. malloc info. Write to pipe.

12 years agoNote that the mouse-over doesn't work with Label:{}. Need to find out why.
Tim Bunce [Tue, 25 Sep 2012 02:56:38 +0000]
Note that the mouse-over doesn't work with Label:{}. Need to find out why.

12 years agoAdded local jquery-1.8.1-min.js so internet isn't needed
Tim Bunce [Sun, 23 Sep 2012 13:22:50 +0000]
Added local jquery-1.8.1-min.js so internet isn't needed

12 years agoFixed stringification ot root node. Fix handling of link nodes.
Tim Bunce [Sun, 23 Sep 2012 13:20:32 +0000]
Fixed stringification ot root node. Fix handling of link nodes.

12 years agoAdded node type to db. Added showid option.
Tim Bunce [Sun, 23 Sep 2012 13:19:42 +0000]
Added node type to db. Added showid option.

12 years agoMake levelsToShow more variable
Tim Bunce [Sun, 23 Sep 2012 12:57:13 +0000]
Make levelsToShow more variable

12 years agoFix NPathPushNode not (re)setting seqn, not perl_size "others" works.
Tim Bunce [Sun, 23 Sep 2012 12:45:25 +0000]
Fix NPathPushNode not (re)setting seqn, not perl_size "others" works.

12 years agoAdd more items to perl_size()
Tim Bunce [Sun, 23 Sep 2012 11:54:41 +0000]
Add more items to perl_size()

12 years agoPolish up dot output, incl adding sizes
Tim Bunce [Sat, 22 Sep 2012 17:35:59 +0000]
Polish up dot output, incl adding sizes

12 years agofix name escaping
Tim Bunce [Sat, 22 Sep 2012 15:02:20 +0000]
fix name escaping

12 years agoUse link nodes to label links.
Tim Bunce [Sat, 22 Sep 2012 14:41:56 +0000]
Use link nodes to label links.