Tag

LTO

0 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
May 22, 2024 · Mobile Development

Optimizing Rust Android Dynamic Library Size: Strategies and Results

This article details how the author reduced the size of a Rust‑based Android JNI dynamic library from 495 KB to 95 KB by adjusting compiler optimization levels, enabling LTO, switching panic handling to abort, removing unused strings, applying panic_immediate_abort, and crafting a custom linker script, while providing code snippets and size comparison tables.

AndroidBinary Size OptimizationLTO
0 likes · 11 min read
Optimizing Rust Android Dynamic Library Size: Strategies and Results
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
May 7, 2024 · Mobile Development

iOS App Size Reduction at Tongcheng Travel: Methodology, Analysis, Detection Scripts, and Optimization Techniques

This article details Tongcheng Travel's comprehensive iOS app slimming process, covering background importance, size‑reduction techniques, multi‑dimensional analysis, Python‑based detection scripts, compiler LTO optimization, resource governance, platform automation, and the resulting 29% package size decrease that boosted download conversion.

App Size OptimizationLTOPython Scripts
0 likes · 16 min read
iOS App Size Reduction at Tongcheng Travel: Methodology, Analysis, Detection Scripts, and Optimization Techniques
Baidu Geek Talk
Baidu Geek Talk
Dec 4, 2023 · Mobile Development

Compiler Optimization

The article details Baidu APP’s comprehensive compiler‑optimization strategy, including GCC‑Oz size reduction, Swift‑Osize with whole‑module optimization, link‑time optimization, symbol stripping, dead‑code removal, asset catalog compression, minimizing C++ virtual functions, slimming third‑party SDKs, dropping unused ARM architectures, Xcode 14 binary‑size tweaks, and eliminating built‑in Swift libraries by raising the minimum iOS version.

Compiler OptimizationLTOPerformance Tuning
0 likes · 16 min read
Compiler Optimization
Baidu Geek Talk
Baidu Geek Talk
May 25, 2022 · Backend Development

Large-Scale C/C++ Service Compilation Performance Optimization and Platformization (OMAX)

The article details OMAX’s end‑to‑end platform for large‑scale C/C++ service compilation, covering optimization flags, profile‑guided and link‑time techniques, Facebook BOLT post‑link tuning, and real‑world results that cut CPU use, latency and deployment time while shrinking binary size.

BOLTC++Cloud Services
0 likes · 24 min read
Large-Scale C/C++ Service Compilation Performance Optimization and Platformization (OMAX)