11 years agoUpdate README tim-20120930-sizeme
Tim Bunce [Fri, 26 Oct 2012 09:15:31 +0000]
Update README

11 years agoAdded ptest target for parallel testing
Tim Bunce [Fri, 26 Oct 2012 09:09:25 +0000]
Added ptest target for parallel testing

11 years agoModernize Makefile.PL and add META info, including repo and bug tracker.
Tim Bunce [Fri, 26 Oct 2012 09:03:38 +0000]
Modernize Makefile.PL and add META info, including repo and bug tracker.

11 years agoBump VERSION to 0.06
Tim Bunce [Wed, 17 Oct 2012 09:48:07 +0000]
Bump VERSION to 0.06

11 years agofix bin/sizeme_graph.pl for older Mojolicious versions RT80195
Tim Bunce [Wed, 17 Oct 2012 09:46:25 +0000]
fix bin/sizeme_graph.pl for older Mojolicious versions RT80195

11 years agofix madprop_size, hopefully (untested)
Tim Bunce [Wed, 17 Oct 2012 09:25:52 +0000]
fix madprop_size, hopefully (untested)

11 years agofix pod NAME
Tim Bunce [Wed, 17 Oct 2012 09:18:41 +0000]
fix pod NAME

11 years agoBump to 0.05
Tim Bunce [Thu, 11 Oct 2012 15:34:50 +0000]
Bump to 0.05

11 years agofix gettimeofday_nv proto
Tim Bunce [Thu, 11 Oct 2012 15:34:09 +0000]
fix gettimeofday_nv proto

11 years agoifdef PL_my_cxt_size
Tim Bunce [Thu, 11 Oct 2012 15:33:33 +0000]
ifdef PL_my_cxt_size

11 years agouse PERL_BCDVERSION for SVt_LAST
Tim Bunce [Thu, 11 Oct 2012 15:17:13 +0000]
use PERL_BCDVERSION for SVt_LAST

11 years agoadd .tar and .bak to .gitignore
Tim Bunce [Thu, 11 Oct 2012 15:06:24 +0000]
add .tar and .bak to .gitignore

11 years agofix compiler warning
Tim Bunce [Thu, 11 Oct 2012 15:05:37 +0000]
fix compiler warning

11 years agoMerge branch 'tim-20120930-sizeme' of github.com:timbunce/devel-sizeme into tim-20120...
Tim Bunce [Thu, 11 Oct 2012 15:00:49 +0000]
Merge branch 'tim-20120930-sizeme' of github.com:timbunce/devel-sizeme into tim-20120930-sizeme

11 years agofix madprop_size declaration
Tim Bunce [Thu, 11 Oct 2012 15:00:16 +0000]
fix madprop_size declaration

11 years agoTweak PERL_BCDVERSION for ps->compcv
Tim Bunce [Thu, 11 Oct 2012 14:54:18 +0000]
Tweak PERL_BCDVERSION for ps->compcv

11 years agoFix thread issues per http://www.cpantesters.org/cpan/report/e0aa7316-118c-11e2-8948...
Tim Bunce [Thu, 11 Oct 2012 14:52:25 +0000]
Fix thread issues per cpantesters.org/cpan/report/e0aa7316-118c-11e2-8948-fc6d58678c7a

11 years agoUse Devel::Dwarn instead of Data::Dump
Tim Bunce [Thu, 11 Oct 2012 14:45:01 +0000]
Use Devel::Dwarn instead of Data::Dump

11 years agoMerge pull request #1 from letolabs/fix_clang_warnings
Tim Bunce [Thu, 11 Oct 2012 14:02:16 +0000]
Merge pull request #1 from letolabs/fix_clang_warnings

Fix compiler warnings from clang 2.1 thanks to leto

11 years agoBump VERSION to 0.04. Tweak a warning message
Tim Bunce [Thu, 11 Oct 2012 14:00:58 +0000]
Bump VERSION to 0.04. Tweak a warning message

11 years agoFix compiler warnings from clang 2.1
Jonathan "Duke" Leto [Wed, 10 Oct 2012 20:23:39 +0000]
Fix compiler warnings from clang 2.1

This fixes the following warnings:

SizeMe.xs:273:44: warning: conversion specifies type 'int' but the argument has type 'I32' (aka 'long')
SizeMe.xs:1133:50: warning: conversion specifies type 'int' but the argument has type 'U32'

11 years agoRemoved Mojolicious::Lite as a prerequisite as it was stoping people installing on 5.8
Tim Bunce [Fri, 5 Oct 2012 16:48:30 +0000]
Removed Mojolicious::Lite as a prerequisite as it was stoping people installing on 5.8

11 years agoAdded CHANGES for 0.03
Tim Bunce [Fri, 5 Oct 2012 16:27:15 +0000]
Added CHANGES for 0.03

11 years agoPolish docs and bump version for 0.03.
Tim Bunce [Fri, 5 Oct 2012 12:39:01 +0000]
Polish docs and bump version for 0.03.

11 years agoSkip nest invalidated by 5.17 change
Tim Bunce [Thu, 4 Oct 2012 17:42:58 +0000]
Skip nest invalidated by 5.17 change

11 years agoBump VERSION to 0.020_082
Tim Bunce [Thu, 4 Oct 2012 09:00:57 +0000]
Bump VERSION to 0.020_082

11 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)

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

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

11 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

11 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)

11 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.

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

11 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

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

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

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

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

11 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.

11 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.

11 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.

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

11 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.

11 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.

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

11 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.

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

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

11 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.

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

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

11 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

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

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

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

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

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

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

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

11 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.

11 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

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

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

11 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

11 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)

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

11 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

11 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.

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

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

11 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.

11 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

11 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.

11 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

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

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

11 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

11 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

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

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

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

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

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

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

11 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.

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

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

11 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

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

11 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)

11 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

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

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

11 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.

11 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