wrgl profile
Profile data of one or more commits.
wrgl profile COMMIT [--refresh [--ancestors] [--silent]] [flags]
Flags
--ancestors
when this flag is set together with --refresh, reprofile data for all ancestor
-h, --help
help for profile
--refresh
recalculate data profile
--silent
when this flag is set together with --refresh, don't show data profile after refreshing
Inherited flags
--badger-log
set Badger log level, valid options are "error", "warning", "debug", and "info" (defaults to "error")
--cpuprofile
write cpu profile to file
--heapprofile
write heap profile to file
--log-file
output logs to specified file
--log-verbosity
log verbosity. Higher value means more log
--no-progress
don't display progress bar
--wrgl-dir
parent directory of repo, default to current working directory.
Examples
# show data profile for branch main
wrgl profile main
# reprofile data before showing up-to-date data profile
wrgl profile 092ca64be141ec601fbadc73e4697836 --refresh
# reprofile data for main branch and all ancestor commits
wrgl profile main --refresh --ancestors
# reprofile data but don't show data profile afterward
wrgl profile main --refresh --silent