Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrewdavidmackenzie/ced0d4fbe650c5a883d8d3c4cdd4c298 to your computer and use it in GitHub Desktop.
Save andrewdavidmackenzie/ced0d4fbe650c5a883d8d3c4cdd4c298 to your computer and use it in GitHub Desktop.
cargo bloat --release --bin piggui --crates -n 100
cargo bloat --release --bin piggui --crates -n 100
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.37s
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
0.7% 1.2% 70.0KiB iced_winit
0.7% 1.2% 68.9KiB winit
0.6% 1.2% 68.6KiB piggui
0.6% 1.1% 66.1KiB skrifa
0.6% 1.0% 59.1KiB hyper_util
0.5% 0.9% 53.9KiB wgpu_hal
0.5% 0.9% 53.8KiB iroh_quinn
0.5% 0.9% 52.0KiB iced_wgpu
0.5% 0.8% 49.8KiB lyon_tessellation
0.5% 0.8% 49.0KiB x509_parser
0.4% 0.8% 45.5KiB zeno
0.4% 0.7% 43.6KiB hyper
0.4% 0.7% 43.2KiB xml
0.4% 0.7% 40.5KiB data_encoding
0.4% 0.7% 39.9KiB tracing
0.4% 0.6% 37.7KiB futures_util
0.3% 0.5% 32.3KiB http
0.3% 0.5% 31.8KiB rcgen
0.3% 0.5% 31.3KiB url
0.3% 0.5% 27.8KiB [Unknown]
0.2% 0.4% 25.5KiB iced_core
0.2% 0.4% 22.7KiB idna
0.2% 0.4% 22.6KiB quoted_string_parser
0.2% 0.4% 22.1KiB iroh_base
0.2% 0.4% 21.0KiB wgpu_types
0.2% 0.3% 19.8KiB iced_aw
0.2% 0.3% 19.5KiB webpki
0.2% 0.3% 18.4KiB async_io
0.2% 0.3% 16.7KiB netdev
0.2% 0.3% 16.2KiB iced_graphics
0.2% 0.3% 16.0KiB read_fonts
0.2% 0.3% 15.9KiB async_global_executor
0.1% 0.3% 15.1KiB hashbrown
0.1% 0.2% 14.5KiB stun_rs
0.1% 0.2% 14.5KiB serde_json
0.1% 0.2% 13.6KiB iced
0.1% 0.2% 13.5KiB codespan_reporting
0.1% 0.2% 12.3KiB rayon_core
0.1% 0.2% 12.1KiB surge_ping
0.1% 0.2% 12.0KiB yazi
0.1% 0.2% 11.5KiB curve25519_dalek
0.1% 0.2% 11.2KiB iced_futures
0.1% 0.2% 11.0KiB plotters
0.1% 0.2% 10.5KiB tokio_tungstenite_wasm
0.1% 0.2% 10.1KiB futures_channel
0.1% 0.2% 10.1KiB anyhow
0.1% 0.2% 10.1KiB iced_runtime
0.1% 0.2% 9.7KiB once_cell
0.1% 0.2% 9.6KiB tungstenite
0.1% 0.2% 9.3KiB sha2
0.1% 0.2% 9.1KiB precis_core
0.1% 0.1% 8.6KiB fontdb
0.1% 0.1% 8.6KiB parking_lot
0.1% 0.1% 8.3KiB rand_core
0.1% 0.1% 8.0KiB iced_glyphon
0.1% 0.1% 7.7KiB async_std
0.1% 0.1% 7.6KiB security_framework
0.1% 0.1% 7.4KiB rfd
0.1% 0.1% 6.8KiB der_parser
0.1% 0.1% 6.6KiB bytes
0.1% 0.1% 6.6KiB unicode_normalization
0.1% 0.1% 6.4KiB asn1_rs
0.1% 0.1% 5.8KiB polling
0.1% 0.1% 5.7KiB dispatch
0.1% 0.1% 5.6KiB async_executor
0.1% 0.1% 5.4KiB tokio_util
0.0% 0.1% 5.1KiB plotters_iced
0.0% 0.1% 4.9KiB rand
0.0% 0.1% 4.7KiB metal
0.0% 0.1% 4.1KiB sha1
0.0% 0.1% 4.0KiB rustls_pki_types
0.0% 0.1% 4.0KiB rand_chacha
0.0% 0.1% 3.9KiB postcard
0.0% 0.1% 3.8KiB unicode_segmentation
0.0% 0.1% 3.7KiB objc2
0.0% 0.1% 3.4KiB httparse
0.0% 0.1% 3.4KiB der
0.0% 0.1% 3.4KiB hyper_rustls
0.0% 0.1% 3.0KiB hmac_sha256
0.0% 0.0% 2.9KiB parking_lot_core
0.8% 1.4% 83.3KiB And 101 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