ztcl::gc

ztcl::gc subcommand

Gives the counts of the collector of the heap of the interpreter tree: the pauses, the time of the marks and the sweeps, the bytes of the heap, the bytes that the program allocated, and the resident set of the process. The counts of time depend on the host.

Subcommands

Synopsis What it does
ztcl::gc stats A dict of the counts: collections, gc_ns, mark_ns, sweep_ns, pause_p50_ns, pause_p99_ns, pause_max_ns, heap_bytes, heap_peak, live_bytes, used_bytes, threshold, allocated, freed, alloc_rate, uptime_ns, rss, rss_peak, returned, and retained.
ztcl::gc collect Runs a collection now, where the build can collect.
ztcl::gc reset Starts the counts again.

Examples

Errors

Facts