Liking cljdoc? Tell your friends :D
Clojure only.

clj-memory-meter.core


measureclj

(measure object & {:keys [debug shallow bytes meter]})

Measure the memory usage of the object. Return a human-readable string.

:debug - if true, print the object layout tree to stdout. Can also be set to a number to limit the nesting level being printed. :shallow - if true, count only the object header and its fields, don't follow object references :bytes - if true, return a number of bytes instead of a string :meter - custom org.github.jamm.MemoryMeter object

Measure the memory usage of the `object`. Return a human-readable string.

:debug   - if true, print the object layout tree to stdout. Can also be set to
           a number to limit the nesting level being printed.
:shallow - if true, count only the object header and its fields, don't follow
           object references
:bytes   - if true, return a number of bytes instead of a string
:meter   - custom org.github.jamm.MemoryMeter object
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close