From a74ea8c8e404bca6fa90975dfafee82622128db6 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 24 Feb 2023 14:27:58 +0100 Subject: [PATCH] run.go: add a way to profile program's cpu usage set the flag `cpuprofile` to a file where the cpu profiling output should be saved. the output can then be read using: `go tool pprof math-optim