command
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Aug 9, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
webpprofile runs a single "ours" encoder repeatedly under CPU/mem profiling.
Pure Go, no cgo, so it profiles only this library's hot paths.
go run ./cmd/webpprofile -img testdata/photos/Lena_512.png -mode lossy-slow -n 3 -cpu cpu.prof
go tool pprof -http=:0 cpu.prof
Source Files
¶
Click to show internal directories.
Click to hide internal directories.