Devel::MAT::Tool::Count(3pm)

Devel::MAT::Tool::Count3pm

Count the various kinds of sv

Overview

This "Devel::MAT" tool counts the different kinds of SV in the heap.

Commands

count

   pmat> count
     Kind       Count (blessed)        Bytes (blessed)
     ARRAY        170         0     15.1 KiB          
     CODE         166         0     20.8 KiB

Prints a summary of the count of each type of object.

Takes the following named options:

--blessed, -b

Additionally classify blessed references per package

--scalars, -S

Additionally classify SCALAR SVs according to which fields they have present

--struct

Use the structural size to sum byte counts

--owned

Use the owned size to sum byte counts

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Paul Evans <[email protected]>

From libdevel-mat-perl 0.53-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.