Skip to content

artlebedev/parser3-erusage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Erusage

Installation

Add to your parsekit.json file new dependency:

{
    "require": {
        "artlebedev/parser3-erusage": "~1.5.0"
    }
}

Update your project dependencies:

$ parsekit update

And just add use statement

@USE
artlebedev/parser3-erusage/Erusage.p
# or
^use[artlebedev/parser3-erusage/Erusage.p]

Usage

First call(can be omitted):

^Erusage:init[$.iLimit(2048)]

Others calls:

^Erusage:compact[]

Real ^memory:compact[] will be called if used more then $iLimit KB since last compact or if $.bForce(1) option is specified.

At the end (in @postprocess for ex.) you can analyze statistics or call ^Erusage:log[] or ^Erusage:print[].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published