GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  B::SIZE2::TERSE (3)

.ds Aq ’

NAME

B::Size2::Terse - Printing info about ops and their (estimated) size

CONTENTS

SYNOPSIS



    perl -MO=Size2::Terse[,OPTIONS] foo.pl



DESCRIPTION

B::Size2::Terse is a fork of B::TerseSize 0.09.

The B::Size and B::TerseSize modules attempt to measure the size of Perl op codes. The output of <B>B::TerseSizeB> is similar to that of B::Terse, but includes the size of each OP in the tree and the PADLIST (subroutine lexical variables). The module can be run just as other compiler backends or used via Apache::Status (version 2.02 and higher).

If the Apache::Status StatusTerseSize option is enabled, there will be a main menu item added, Memory Usage. Clicking on this link will cause B::TerseSize to produce a summary of package memory usage. This summary can take quite a while to produce, as each package subroutine syntax tree will be walked, adding up the information. This information will be cached, so running httpd in -X (non-forking mode) is a good choice.

When browsing the Apache::Status Symbol Table Dump, a Memory Usage link will be at the bottom of each page. These summaries also include measurements of package global variables.

The Apache::Status symbol table browser will also provide an option to dump a subroutine tree along with the other subroutine options.

CAVEATS

The memory measurements are only an estimate. But, chances are, if a measurement is not accurate, it is smaller than the actual size.

The execution order option under Apache::Status can only be run once unless you are using Perl 5.6.0+ or apply the patches/b_clearsym_60.pat to older Perls.

SEE ALSO

B(3), B::Size(3), B::LexInfo(3), Apache::Status(3)

AUTHORS

Fuji, Goro (gfx) <gfuji@cpan.org>

ORIGINAL AUTHORS

Until 0.09 Maintained by Philip M. Gollucci Previously Developed by Doug MacEachern based in part on B::Terse by Malcolm Beattie
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 B::SIZE2::TERSE (3) 2013-06-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.