Skip to content

Commit e295a93

Browse files
committed
Update acmd to v0.3.0
1 parent 44e19e2 commit e295a93

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/cristaloleg/go-perftuner
22

33
go 1.10
44

5-
require github.com/cristalhq/acmd v0.1.5
5+
require github.com/cristalhq/acmd v0.3.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/cristalhq/acmd v0.1.5 h1:sQJ4hfJsGyMa0opX8uqNNnH9Bvf5wL2Png5F1yuIX+A=
2-
github.com/cristalhq/acmd v0.1.5/go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ=
1+
github.com/cristalhq/acmd v0.3.0 h1:P9/h5Mn5OlRCEu1+b7bFWMBPenC6LORwc76vpf/GK0E=
2+
github.com/cristalhq/acmd v0.3.0/go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ=

perftune.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,24 @@ func main() {
3131

3232
var cmds = []acmd.Command{
3333
{
34-
Name: "inl",
34+
Name: "almostInlined",
35+
Alias: "inl",
3536
Description: "find functions that cross inlining threshold just barely",
3637
Do: func(_ context.Context, _ []string) error {
3738
return run(&almostInlinedRunner{})
3839
},
3940
},
4041
{
41-
Name: "esc",
42+
Name: "escapedVariables",
43+
Alias: "esc",
4244
Description: "find variables that are escaped to the heap",
4345
Do: func(_ context.Context, _ []string) error {
4446
return run(&escapeAnalysisRunner{})
4547
},
4648
},
4749
{
48-
Name: "bce",
50+
Name: "boundChecks",
51+
Alias: "bce",
4952
Description: "find slice/array that has bound check",
5053
Do: func(_ context.Context, _ []string) error {
5154
return run(&boundCheckRunner{})

0 commit comments

Comments
 (0)