프로젝트
GitHub에서 보기
jondot/goweight
소개
Go 바이너리 크기를 분석하고 문제를 파악하는 도구입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
goweight
A tool to analyze and troubleshoot a Go binary size.
For more, see this blog post
✅ Get a breakdown of all modules inside a binary
✅ Supports Go 1.11 modules
✅ Output as JSON for tracking and/or monitoring as part of CI
Quick Start
With Go Modules - Go 1.11 or higher
$ go get github.com/jondot/goweight
$ cd current-project
$ goweight
Without Go Modules - Before Go 1.11
$ git clone https://github.com/jondot/goweight
$ cd goweight
$ go install
$ cd current-project
$ goweight
As an example, here's what goweight has to say about itself:
$ ./goweight
3.0 MB runtime
1.6 MB net
1.4 MB reflect
1.3 MB gopkg.in/alecthomas/kingpin.v2
870 kB math/big
668 kB github.com/alecthomas/template
628 kB syscall
626 kB text/template
550 kB go/ast
546 kB encoding/json
509 kB text/template/parse
495 kB github.com/alecthomas/template/parse
424 kB time
402 kB regexp/syntax
395 kB golang_org/x/net/dns/dnsmessage
388 kB fmt
Thanks:
To all Contributors - you make this happen, thanks!
Copyright
Copyright (c) 2018 @jondot. See LICENSE for further details.
관련 프로젝트 살펴보기
불러오는 중…