Skip to content

Commit

Permalink
chore: remove -s -w ldflags from debug build (#5867)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored Apr 14, 2024
1 parent ef635db commit 84d65a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ _build.template.debug:
go build -o bin/manager-debug \
-trimpath \
-gcflags=all="-N -l" \
-ldflags "-s -w $(LDFLAGS_METADATA)" \
-ldflags "$(LDFLAGS_METADATA)" \
${MAIN}

.PHONY: fmt
Expand Down

1 comment on commit 84d65a1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Go Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 84d65a1 Previous: 73ee99b Ratio
BenchmarkListHTTPRoutes/100 9596 ns/op 2688 B/op 2 allocs/op 3287 ns/op 2688 B/op 2 allocs/op 2.92
BenchmarkListHTTPRoutes/100 - ns/op 9596 ns/op 3287 ns/op 2.92

This comment was automatically generated by workflow using github-action-benchmark.

CC: @Kong/k8s-maintainers

Please sign in to comment.