Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrewdavidmackenzie/5809a9498856f69f0dd815ffe285d3fa to your computer and use it in GitHub Desktop.
Save andrewdavidmackenzie/5809a9498856f69f0dd815ffe285d3fa to your computer and use it in GitHub Desktop.
cargo bloat --release --bin piggui --crates
cargo bloat --release --bin piggui --crates
warning: /Users/andrew/workspace/pigg/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
(in the `plotters` dependency)
Finished `release` profile [optimized] target(s) in 0.36s
Analyzing target/release/piggui
File .text Size Crate
6.9% 12.3% 723.5KiB iroh_net
6.5% 11.7% 689.0KiB std
4.0% 7.2% 421.1KiB wgpu
3.7% 6.7% 393.2KiB naga
3.1% 5.5% 322.7KiB rustls
1.7% 3.1% 182.0KiB rustybuzz
1.5% 2.6% 154.8KiB reqwest
1.3% 2.4% 139.5KiB iroh_quinn_proto
1.3% 2.3% 132.3KiB igd_next
1.2% 2.2% 130.4KiB swash
1.2% 2.2% 128.9KiB wgpu_core
1.2% 2.1% 122.6KiB clap_builder
1.2% 2.1% 121.6KiB tokio
1.0% 1.8% 106.0KiB hickory_proto
0.9% 1.6% 92.8KiB hickory_resolver
0.8% 1.5% 87.2KiB cosmic_text
0.8% 1.5% 86.4KiB ring
0.7% 1.3% 75.8KiB h2
0.7% 1.3% 75.1KiB ttf_parser
0.7% 1.2% 72.4KiB iced_widget
15.8% 28.3% 1.6MiB And 181 more crates. Use -n N to show more.
55.7% 100.0% 5.7MiB .text section size, the file size is 10.3MiB
Note: numbers above are a result of guesswork. They are not 100% correct and never will be.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment