go-size-analyzer

A tool for analyzing the size of compiled Go binaries, offering cross-platform support, detailed breakdowns, and multiple output formats.

AGPL-3.0 License

Downloads
71
Stars
1.2K

Bot releases are visible (Hide)

go-size-analyzer - v1.3.11

Published by github-actions[bot] 4 months ago

Changelog

  • ec66e5ef90ec4357b7acba1f71fe805214079d3a: feat: selected node reflects in url hash (@Zxilly)
go-size-analyzer - v1.3.10

Published by github-actions[bot] 4 months ago

Changelog

  • 1a254d5d35b6a1156b0027fdd0c162fa43a3afda: build(deps): bump github.com/charmbracelet/bubbletea (@dependabot[bot])
  • 51a7d957f21e51ea39916a764a10ffe22fefbe8f: fix: handle attr inline correctly (@Zxilly)
go-size-analyzer - v1.3.9

Published by github-actions[bot] 4 months ago

Changelog

  • 43da4611f11b6490d18b49816b7a2c6e34ef6e05: build(deps): bump crate-ci/typos from 1.22.7 to 1.22.9 (@dependabot[bot])
  • 23afb1c4e2e268fc2cd61e9478847681922bdc57: build: add pipx to devcontainer (@Zxilly)
  • f4b209c5f56882e4643a688a2d9527ae7c940ab6: build: enable devcontainer (@Zxilly)
  • dc7d53d097915a0975742cae2119601fb33a7a6f: build: use python 3.12 for scripts (@Zxilly)
  • 5a28dd23912dcdf99039b0ad0c4fc5ca0ac71ad4: fix: correct pe section data read (@Zxilly)
go-size-analyzer - v1.3.8

Published by github-actions[bot] 4 months ago

Changelog

  • 147c4475d298e79413cf4bb9bc9a2db51ee11890: fix: embed parse broken by external check (@Zxilly)
go-size-analyzer - v1.3.7

Published by github-actions[bot] 4 months ago

Changelog

  • 2f1ef2153cf689c593f6450cd180b56b82d8aac2: fix: resolve most of the known warning (@Zxilly)
go-size-analyzer - v1.3.6

Published by github-actions[bot] 4 months ago

Changelog

  • 695e93dc157c958a6f3777e4e79464dac400591c: build(deps): bump github.com/charmbracelet/bubbletea (@dependabot[bot])
  • a6cd24dd8f2bf6db9be84c8850d3b532ebe14710: fix: clear hash if no file selected (@Zxilly)
  • 2f78196662159167169fc34af87241aba931ee79: fix: ignore const values for now (@Zxilly)
go-size-analyzer - v1.3.5

Published by github-actions[bot] 4 months ago

Changelog

  • 4235be05d310d51e1a213af93432f37da191eaff: fix: symbol name prefix can be trimmed twice (@Zxilly)
  • 1f0d4a585d06d2f40ecf5c82d093547a43cbf719: refactor: split addr coverage (@Zxilly)
  • a1948edcfd94de6b8cc65b7074bcfdcb42034ef8: refactor: update symbol api (@Zxilly)
  • 9b8b791230486d82d74f751022bf385d847ce880: style: follow linter (@Zxilly)
  • 4a9620b3c26817916f71c338d4980ac34a4cad6a: style: follow linter rules (@Zxilly)
go-size-analyzer - v1.3.4

Published by github-actions[bot] 4 months ago

Changelog

  • 7eecad86922552b68528e53adeec5732467e4155: build(deps): bump actions/attest-build-provenance from 1.3.1 to 1.3.2 (@dependabot[bot])
  • 42d608bbd6c1c0f5b2f8b9cc13848ec44899b236: build(deps): bump psutil from 5.9.8 to 6.0.0 in /scripts (@dependabot[bot])
  • 07ec45422e7889b337b3a611f079b49ea3abe2dc: fix: check all type cast (@Zxilly)
  • a33a7523fa4688f1c2eef86c770fbbe6206a6dcb: fix: dwarf edge case (@Zxilly)
go-size-analyzer - v1.3.3

Published by github-actions[bot] 4 months ago

Changelog

  • a6ace685505ca616c6e28292c39b440b94e4a3fa: perf: prevent duplicate call to js (@Zxilly)
go-size-analyzer - v1.3.2

Published by Zxilly 4 months ago

Changelog

  • 2f29c5b262e3a303602fb0dd6f93a5690eac7167: feat: add strict type check for dwarf struct field (@Zxilly)
  • 61d92f04bca771a62e18258b994178fde1948518: fix: use same logic for all bss section check (@Zxilly)
go-size-analyzer - v1.3.1

Published by github-actions[bot] 4 months ago

Fixed out-of-bounds reading on macOS platform binary

Changelog

  • 3464736ae9fbf880d600c7ef2009ecc4d580789f: fix: also check flag S_GB_ZEROFILL (@Zxilly)
  • c85abcd6b6c6d493cac5633d245ffbf5cf47ba77: fix: follow linter suggestion (@Zxilly)
  • 942b600ec1fc22add983281b8bf1e7f146e40a5c: fix: ignore bss section on macho binary (@Zxilly)
  • 81f8ca78846e0eae718cda713f9e218564b78f65: fix: split checkField (@Zxilly)
go-size-analyzer - v1.3.0

Published by github-actions[bot] 4 months ago

Contains an initial support for //go:embed parse

Changelog

  • c940692715dc9b18c6e370e4a39d466a712a45dd: build(deps): bump actions/attest-build-provenance from 1.3.0 to 1.3.1 (@dependabot[bot])
  • 3a85e28c0777fe7763acc2913a1ac694490ca7c0: build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (@dependabot[bot])
  • f7de28f1791ee410b2f8d58725ff88a000b0ef21: build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 (@dependabot[bot])
  • c06bd3e157cbf24527bad80b02acfce55dd409a7: build(deps): bump github/codeql-action from 3.25.9 to 3.25.10 (@dependabot[bot])
  • 76ceca7dc5dddf3221741304c7034a42fda44480: feat: support parse embed content (@Zxilly)
go-size-analyzer - v1.2.3

Published by github-actions[bot] 4 months ago

From this version, you can verify the source of the following binaries at https://github.com/Zxilly/go-size-analyzer/attestations

Changelog

  • 5253c3c9cc37c3a8ca3970ea1727729c2af2be0b: [StepSecurity] ci: Harden GitHub Actions (@step-security-bot)
  • 31a79e395306db746fd9a03d865f367d4ab1a153: build(deps): bump actions/checkout from 3.6.0 to 4.1.6 (@dependabot[bot])
  • c5956d9243061712124878344a2a28ba30088457: build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (@dependabot[bot])
  • 5b7770e5374fa80d721b2a0b5a7ca0bb19772d64: build(deps): bump actions/dependency-review-action from 2.5.1 to 4.3.3 (@dependabot[bot])
  • f6b8efb99cffe796b6b366937050d0a0905554af: build(deps): bump crate-ci/typos from 1.22.3 to 1.22.4 (@dependabot[bot])
  • 3685a60a63e070e85a69e3b21aad5d213a0528e4: build(deps): bump crate-ci/typos from 1.22.4 to 1.22.7 (@dependabot[bot])
  • be8ae6f06e08d3e2b2ec1f17bba19f67f4954bc9: build(deps): bump github/codeql-action from 3.25.8 to 3.25.9 (@dependabot[bot])
  • a6e08413d5a6791ef37e0d8a42f5e068b0deb4ce: feat: Create CODE_OF_CONDUCT.md (@Zxilly)
  • 4f70a9b7fa9d9ec4661734d3db69394f39fe37b7: feat: [StepSecurity] Apply security best practices (@step-security-bot)
  • 233b18c1a2a023b8f19c2e30c8a40d6328f5fcd3: feat: create SECURITY policy (@Zxilly)
  • 5910fd718c910ae8aa131b445af13d60fbcfcb73: revert: "ci: add trigger for wasm build" (@Zxilly)
  • 2c20a8c31e057d03165e07784d14340aa71f81b8: revert: "ci: prevent duplicate wasm build" (@Zxilly)
go-size-analyzer - v1.2.2

Published by Zxilly 5 months ago

go-size-analyzer - v1.2.1

Published by github-actions[bot] 5 months ago

Fix ui build on homebrew.

Changelog

  • 0c976b8ab4537c8a420c267af114c1715f58f6e2: build(deps): bump crate-ci/typos from 1.22.1 to 1.22.3 (@dependabot[bot])
  • 995e0bbdacc1e982e270b987bea57aa36a0495b4: build: allow build ui without git info (@Zxilly)
  • 8e2a40952c3304d6ef849d97cf7584be3359bc6d: build: use goreleaser v2 config (@Zxilly)
  • 38a672021b569642f4fea86e7dfb8719740ac91e: fix: should ignore DW_AT_specification (@Zxilly)
go-size-analyzer - v1.2.0

Published by github-actions[bot] 5 months ago

This version adds a basic cgo dependency analysis support. Only works if the binary contains dwarf debugging information.

Changelog

  • f773c13b58f92ca622e522c2bf38bf29cb3faf21: Update README.md (@nikolaydubina)
  • c8aa2e3e2e9a2f4d49c59978c6a66e35aa1592eb: build(deps): bump crate-ci/typos from 1.21.0 to 1.22.0 (@dependabot[bot])
  • dc03df70cc4844c5825c779ad75e772eb6df5f41: build(deps): bump crate-ci/typos from 1.22.0 to 1.22.1 (@dependabot[bot])
  • d7ff25f72b22314da1e8975db05c4e043d24d624: build(deps): bump github.com/charmbracelet/bubbletea (@dependabot[bot])
  • 81db0fc3e1f444e236039ba06b9e8a8af5ef34d4: build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 (@dependabot[bot])
  • b72a2afde9f66f033d72fee9ab10ecfc493e574c: build(deps): bump goreleaser/goreleaser-action from 5 to 6 (@dependabot[bot])
  • 1cc43e5c77efa30d7f1fc7abb73f8d4f2505fb3b: build: add more info for ui build (@Zxilly)
  • 71c16213362f5f0ac4d292c376b4828c738deb74: build: fix getSha for version embed (@Zxilly)
  • 152f235c5b07b03a4e78421dfe8188230e8f8dce: build: fix html version (@Zxilly)
  • 8fd2996f76b2e4f66a0fabda939555edefd51963: build: fix insecure tempfile (@Zxilly)
  • 3f89811dc4738f4e0fbfd656eeb3cdf60d62c8d9: build: fix wasm type (@Zxilly)
  • db333bcd533b7e0247c64ad39a670983c90a9a8c: build: inject html directly (@Zxilly)
  • d38322742eae3026911f0571ab68ba0fd9864db4: build: use tempdir instead (@Zxilly)
  • 0b8f52e8ef2763ecbda6c251d608d7d756b62e5c: feat: enable telemetry (@Zxilly)
  • ab67de9bcfe2aefe2c76bfe48417c5919ec0edc7: feat: implement dwarf extraction (@Zxilly)
  • 2949aeb55649cdc28fe5497a8edbab0717dcdf82: fix: add config to tsconfig (@Zxilly)
  • 728967a1b1ee5d6f007f788bc7ce5bfa9690aef0: fix: update code follow linter suggestion (@Zxilly)
  • be98b8bf6f82ceb6cf801e5e1d12a814888470c4: perf: prevent duplicate allocation (@Zxilly)
  • ac6347a73ef2600c958170f22b750d80d2819ac7: perf: remove debug console.log (@Zxilly)
  • be0f2e364c161d052a35fe061b73c8bdf538bf3f: perf: remove unnecessary json encode from wasm (@Zxilly)
  • 427be5674afda0e4624d151020c2e515b4bfad02: refactor: move known info files (@Zxilly)
  • 0afea0229d7115fb4a41e8a8b3867798941feddc: refactor: rewrite entry for test (@Zxilly)
  • 5618c4dcdad98e5653c74c29c58db964147704ee: style: no error will throw for marshaler (@Zxilly)
  • 6d644a5f87ce3eb2a13d0082b591896e9ded85c7: style: sort import for file (@Zxilly)
go-size-analyzer - v1.1.0

Published by github-actions[bot] 5 months ago

This version introduces no new features, but mainly implements wasm support.
You can try the new browser analyser at https://gsa.zxilly.dev.

Changelog

  • 1f231eca783750d7e9f42146c719271dcf5f1c96: build(deps): bump github.com/charmbracelet/bubbletea (@dependabot[bot])
  • ac1e4f494d332765bd98e07ec0a5b0c9d3311bc4: build(deps): bump github.com/charmbracelet/lipgloss (@dependabot[bot])
  • 7984b90cc96784c319c9ce4ea083a5da17074879: build: ignore examples dir (@Zxilly)
  • 0f0431c4111ac21fc72d0d253695700e380ca317: build: ignore pycache dir (@Zxilly)
  • e2fcca7655544c4214b47cb92116874360d47ff6: build: update lockfile (@Zxilly)
  • a2b74b819de5f8c13740b750a61f3eba78a5c00c: feat: add a link to project (@Zxilly)
  • 14ccba3e1d452fc09a439149eae334f71eed15fa: feat: add size warning dialog (@Zxilly)
  • a41b9d383cce73e26c9544bb83c934a5d5c13d9b: feat: add wasm support (@Zxilly)
  • 925319272f0334895b59f169fbd246192d281c29: feat: disable disasm in wasm build (@Zxilly)
  • dda38f6e001012c54d64fb4f1792f729321487ff: feat: make star img clickable (@Zxilly)
  • 0b3d2281791a8057094d2d40f1149fc694b555d1: feat: wasm analyzer implemented (@Zxilly)
  • f87615a3b74a7c5f3a8b5b372270b346c7697040: fix: fix explorer bundle (@Zxilly)
  • 619700bc5171bdb8a5d0553e95f7d8b6b858bc6c: fix: fix linter and ts types (@Zxilly)
  • 50433b372d2e73decb2e00f5d01bd6eb515939b4: fix: fix tests and move wasm (@Zxilly)
  • fced95dd48254a94841697d5a896ffebb15bfd47: perf: optimize wasm with binaryen (@Zxilly)
  • 129562bbf45cfac4abda5abd90a7d7f9a665cb48: refactor: use material ui (@Zxilly)
  • 64c751c2ca32282cec7023a241e18bd7dce96c5d: style: remove duplicate fatal (@Zxilly)
go-size-analyzer - v1.0.13

Published by Zxilly 5 months ago

Changelog

  • 00d20eaac813f800a2fb8d20b510fcb616335758: fix: print test detail if failed (@Zxilly)
  • 0de303be1622c64820216614a32c6c413dac4a92: fix: set initial screen size for tui (@Zxilly)
  • 06f1998a09d070574bd0a5b7f0f9053635d0fb49: fix: update size on demand (@Zxilly)
go-size-analyzer - v1.0.12

Published by Zxilly 5 months ago

Changelog

  • 00ddd350bef057342e6fd4439970685b564cbc6c: build: mention contributor if possible (@Zxilly)
  • 1dc8adb3327c0261c3219aca12b2bf3133647df9: feat: use different color for item has children (@Zxilly)
go-size-analyzer - v1.0.11

Published by Zxilly 5 months ago

Changelog

  • 57337cc updated-dependencies
  • 6c6f4d6 fix: fix embed build
  • 42af187 perf: remove mapset
  • 0687e97 refactor: replace go-json with jsonv2