Skip to content

Instantly share code, notes, and snippets.

View AllanM007's full-sized avatar
🎯
Buidling

0xAllan AllanM007

🎯
Buidling
View GitHub Profile
@AllanM007
AllanM007 / profile.go
Created October 6, 2024 11:17
Utilizing pprof golang utility to monitor program behaviour(execution time, memory usage, goroutines e.t.c) to understand time and resource utilization better
package main
import (
"log"
"os"
"runtime/pprof"
"time"
)
func main(){