prof

command
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 4 Imported by: 0

README

Profiling

This is a command-line app that executes the app's directory processing operation for CPU profiling. It takes a directory path and an output filename as positional arguments and generates a CPU profile. The database is purged on each run.

Usage

To get started, first build the profiling program.

go build -o prof.exe ./utils/prof

Then, run the program with a directory path and output filename as arguments.

./prof.exe [DIRECTORY] [OUTPUT_FILE]

Analyze the resulting profile with Go's pprof tool:

go tool pprof -http=:8080 [OUTPUT_FILE]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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