Skip to content

[FEAT] Reduce binary size #237

@Equationzhao

Description

@Equationzhao

g v0.3.0 takes up 16.7 MiB, it is insane even given that it's statically compiled with -s -w flags.

Comparison with other Go-based apps:

$ g -1 --size
 3.8 MiB age.exe
 9.4 MiB dnscrypt-proxy.exe
11.8 MiB doggo.exe
 6.7 MiB f2.exe
 3.0 MiB goawk.exe

Originally posted by @sergeevabc in #172 (reply in thread)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions