tests

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MemoryUsage

func MemoryUsage(f func()) uint64

MemoryUsage returns memory usage in bytes.

func MemoryUsageFormatted

func MemoryUsageFormatted(f func()) string

MemoryUsageFormatted returns memory usage in highest possible unit as string. 10015 bytes will be returned as "10 kb"

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL