Skip to content

Go binary size regression #26232

Description

@howardjohn

Agent:
master: 110m
1.6: 74m
1.5: 68m
1.4: 38m

Pilot:
master: 108m
1.6: 90m
1.5: 84m
1.4: 65m

Measured with

for tag in master 1.6.0 1.5.0 1.4.0; do
    echo $tag
    git checkout $tag
    go build -o /tmp/agent ./pilot/cmd/pilot-discovery
    ll /tmp/agent
    echo
done

My theory is the 1.4 -> 1.5 regression in agent is for gateway SDS (pulls in k8s) and then 1.6 -> master regression is google.golang.org/api/compute/v1

cc @rshriram @kyessenov

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions