periphery
bloaty
Our great sponsors
periphery | bloaty | |
---|---|---|
6 | 15 | |
4,848 | 4,541 | |
2.7% | 1.0% | |
8.7 | 5.3 | |
8 days ago | about 1 month ago | |
Swift | C++ | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
periphery
-
Ask HN: What's You Life's Work?
While I’m unsure I’ll be using Swift for the rest of my life, I’ll continue to work on my little tool to detect unused code for as long as I can. It’s my most popular open-source contribution, and it brings me joy knowing others find it useful.
https://github.com/peripheryapp/periphery
-
A Library To Remove Unused Image Assets Which Generated By R.swift
It is not that hard. Just generate constants from all assets and use https://github.com/peripheryapp/periphery to detect unused variables
-
Do you usually use periphery (or other code optimization tools) so that your final built release app is fast/ small?
I was wondering, do you usually use tool like periphery (https://github.com/peripheryapp/periphery), to ensure your release built app is optimized?
-
Periphery with github CI fails
I also asked this here but I want to get it working ASAP so I was wondering if one of you got it working: https://github.com/peripheryapp/periphery/issues/502.
- Any way to find uncalled functions?
-
Is there a way to run this Swift Package inside a Script everytime i Build the Project ?
There is a nice Package: https://github.com/peripheryapp/periphery#how-to-use that can find dead code in a Project. You can install it via SPM or Homebrew or Pods. Is there a way to run the scan every time i build the Project on its own ?
bloaty
-
ESP32-C3 Wireless Adventure: A Comprehensive Guide to IoT [pdf]
ESP32s aren't really ‘lower level’ in the sense that anyone is likely to write assembly code for them (compared to, say, 8051 or PIC), other than maybe some driver author at Espressif. The big win from using RISC-V, other than name recognition, is mainstream compiler support (which is nothing to sneeze at, especially when it's largely funded by someone else).
When I worked on Matter¹, the Xtensa and RISC-V versions were basically fungible from the software point of view. (And really, so were other vendors' various ARMs.) We did find that Bloaty McBloatface² didn't support Xtensa, so I had to write an alternative.
¹ https://github.com/project-chip/connectedhomeip/
² https://github.com/google/bloaty
-
How to make smaller C and C++ binaries
I’ve gotten good insight into what takes up space in binaries by profiling with Bloaty (https://github.com/google/bloaty). My last profiling session showed that clang’s ThinLTO was inlining too aggressively in some cases, causing functions that should be tiny to be 75 kB+.
-
Reducing Tailscale’s binary size on macOS
I'm surprised they didn't go for the binary size analysis tools like
https://github.com/google/bloaty
Or goweight.
- C extension making everything bigger
- Template code bloat - how to measure, and what does that even mean?
-
Do you usually use periphery (or other code optimization tools) so that your final built release app is fast/ small?
I was able to shave a few % off our app binary with Bloaty. It’s pretty hard to use but once you figure out how to make regular expressions to properly classify things from your codebase, you can really visually analyze what your binary is composed of.
- how to compare two .so(shared lib) files for size
-
Debugging/optimizing/diagnostic tools for C++
Bloaty
- Bloaty McBloatface: a size profiler for binaries
- Bloaty McBloatface
What are some alternatives?
Xcode-Guide - Xcode Guide.
Clipboard - 😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager
iCepa - iOS system-wide VPN based Tor client
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
xcodes - The best command-line tool to install and switch between multiple versions of Xcode.
protozero - Minimalist protocol buffer decoder and encoder in C++
AOperation - A Wrapper on NSOperation, which Makes using of NSOperation More Efficient
capstone - Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), BPF, Ethereum VM, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
SundeedQLite - Easiest local storage library in Swift
espthernet - ESP8266 10-Base-T Ethernet Driver
appstoreconnect-cli - An easy to use command-line tool for interacting with the Apple AppStore Connect API
prometheus-cpp - Prometheus Client Library for Modern C++