Skip to content

Conversation

@rjmansfield
Copy link
Contributor

Implements the 'archs' data source to break down universal binaries by architecture.

This allows users to:

  • View file size breakdown by architecture: bloaty -d archs
  • Filter to specific architecture: bloaty -d archs,segments --source-filter=arm64
  • Hierarchical breakdown: bloaty -d archs,segments

This was proposed in #153 (comment) to show the breakdown per architecture using the --source-filter= option.

Note: this has the current limitation which shows incorrect VM sizes because both architectures have overlapping VM addresses, so the workaround would be --source-filter=, or to only use --domain=file. The overlapping VM addresses requires separate address spaces are used. e.g. #480

Implements the 'archs' data source to break down universal binaries
by architecture.

This allows users to:

- View file size breakdown by architecture: bloaty -d archs
- Filter to specific architecture: bloaty -d archs,segments --source-filter=arm64
- Hierarchical breakdown: bloaty -d archs,segments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant