Documentation ¶
Overview ¶
Package runtime provides observability helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallerFunc ¶
CallerFunc returns trimmed path and name of parent function.
func StableHeapInUse ¶
func StableHeapInUse() uint64
StableHeapInUse measures heap and triggers GC until HeapInUse stabilizes with 100 KB precision.
This function can be useful to benchmark memory efficiency of particular data layouts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.