Skip to content

Commit

Permalink
remove benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidesu committed Oct 27, 2023
1 parent 6697b3d commit cc5d2c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 114 deletions.
104 changes: 0 additions & 104 deletions cmd/benchmark.go

This file was deleted.

13 changes: 3 additions & 10 deletions cmd/ghost.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ import (
)

var (
flagHelp bool
flagVersion bool
flagBenchmark bool
flagTime bool
flagHelp bool
flagVersion bool
flagTime bool
)

func init() {
Expand All @@ -33,7 +32,6 @@ func init() {

flag.BoolVar(&flagHelp, "h", false, "display help information")
flag.BoolVar(&flagVersion, "v", false, "display version information")
flag.BoolVar(&flagBenchmark, "b", false, "run benchmark tests against Ghost and Go")
flag.BoolVar(&flagTime, "t", false, "display how long the program ran for")
}

Expand All @@ -50,11 +48,6 @@ func main() {
os.Exit(0)
}

if flagBenchmark {
benchmarkCommand()
os.Exit(0)
}

args := flag.Args()

if len(args) == 0 {
Expand Down

0 comments on commit cc5d2c7

Please sign in to comment.