...

/

Investigating Performance

Investigating Performance

This lesson explains the evaluation criteria of the performance of a Go program using Go tools, which includes time and memory utilization.

Time and memory consumption

A handy script to measure memory and consumption on a Unix-like systems is xtime:

#!/bin/sh
/usr/bin/time -f '%Uu %Ss %er %MkB %C' "$@"
...