Comments (5)
FYI: I have the same issue for https://github.com/zalando/skipper
If you clone repository and do make skipper
, and after that:
% go tool nm -size ./bin/skipper | go-binsize-treemap > binsize.svg master
2022/02/21 16:31:13 error parasing symtab file at line num(0): wrong size field: strconv.Atoi: parsing "1fb80c8": invalid syntax: line: 1fb80c8 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(1): got 3 fields but have non undefined type: line: 400320 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(2): got 3 fields but have non undefined type: line: 400340 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(3): wrong size field: strconv.Atoi: parsing "4003a8": invalid syntax: line: 4003a8 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(4): wrong size field: strconv.Atoi: parsing "47b638": invalid syntax: line: 47b638 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(5): wrong size field: strconv.Atoi: parsing "63ea48": invalid syntax: line: 63ea48 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(6): wrong size field: strconv.Atoi: parsing "8a60be": invalid syntax: line: 8a60be 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(7): wrong size field: strconv.Atoi: parsing "8cba70": invalid syntax: line: 8cba70 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(8): wrong size field: strconv.Atoi: parsing "8cbaf0": invalid syntax: line: 8cbaf0 0 r
...
2022/02/21 16:31:13 error parasing symtab file at line num(30): wrong size field: strconv.Atoi: parsing "1fb9c08": invalid syntax: line: 1fb9c08 0 d
2022/02/21 16:31:13 error parasing symtab file at line num(31): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(32): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(33): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(34): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(35): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(36): got 3 fields but have non undefined type: line: 1837500 0 r
2022/02/21 16:31:13 error parasing symtab file at line num(37): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(38): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(39): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(40): got 3 fields but have non undefined type: line: 0 0 _
2022/02/21 16:31:13 error parasing symtab file at line num(41): wrong size field: strconv.Atoi: parsing "4002e0": invalid syntax: line: 4002e0 0 r
svg is printed but looks a bit wrong to me.
from go-binsize-treemap.
@nikolaydubina good that you ask, yeah binary size is 41M (ls -lh output).
I would think that internal packages should also show up, but does not.
from go-binsize-treemap.
Thanks for reporting. Will check this one too
from go-binsize-treemap.
@szuecs I will check your project too, but could you also tell what you think is odd here with SVG? Does the total size mismatch? Is tree structure wrong? Some big dependencies missing? Just so I get more understanding to improve this
from go-binsize-treemap.
@szuecs including C++ and unknown symbols does not help. There is something off with go tool nm
or generating symbol files. This affects non-c++ projects too. Will debug this later. For now, fixed error logs and counting a bit more symbols (unknown + c++).
from go-binsize-treemap.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-binsize-treemap.