smallnest / 1m-go-tcp-server

benchmarks for implementation of servers which support 1 million connections
1.89k stars 353 forks source link

Add memory usage measurement too #2

Open kokizzu opened 5 years ago

kokizzu commented 5 years ago

It would be nice if there's also highest RAM usage

kokizzu commented 5 years ago

I usually use this alias for measuring real application max memory usage:

time='/usr/bin/time -f "\nCPU: %Us\tReal: %es\tRAM: %MKB"'