Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Aug 17, 2016
1 parent fe755c6 commit a1a7a8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/antibody/main.go
Expand Up @@ -10,12 +10,6 @@ import (
var version = "master"

func main() {
// defer profile.Start(
// profile.MemProfile,
// profile.CPUProfile,
// profile.NoShutdownHook,
// profile.ProfilePath("."),
// ).Stop()
app := cli.NewApp()
app.Name = "antibody"
app.Usage = "A faster and simpler antigen written in Golang"
Expand Down
7 changes: 7 additions & 0 deletions scripts/profiling/work.sh
Expand Up @@ -6,6 +6,13 @@ open_pdfs() {
done
}

# TODO fix this
# defer profile.Start(
# profile.MemProfile,
# profile.CPUProfile,
# profile.NoShutdownHook,
# profile.ProfilePath("."),
# ).Stop()
# git apply "./scripts/profiling/patch.patch"
go build -ldflags="-s -w -X main.version=profiling" -o antibody ./cmd/antibody
export ANTIBODY_HOME="$(mktemp -d)"
Expand Down

0 comments on commit a1a7a8c

Please sign in to comment.