Baidu App Technology
Author

Baidu App Technology

Official Baidu App Tech Account

97
Articles
0
Likes
176
Views
0
Comments
Recent Articles

Latest from Baidu App Technology

97 recent articles
Baidu App Technology
Baidu App Technology
Apr 19, 2023 · Mobile Development

Baidu APP iOS Package Size Optimization: Image Optimization Techniques

The article details Baidu APP iOS package size reduction by identifying and removing unused images, converting resources to Asset Catalogs, and leveraging HEIC and appropriate compression, achieving a 9.75 MB saving while outlining scripts, regex extraction methods, and best‑practice recommendations.

Asset CatalogBaidu appHEIC
0 likes · 18 min read
Baidu APP iOS Package Size Optimization: Image Optimization Techniques
Baidu App Technology
Baidu App Technology
Mar 10, 2023 · Mobile Development

How Baidu Cut Its iOS App Size by 50 MB: A Deep Dive into Package Optimization

This article examines why Baidu's super‑app needed a drastic reduction in its iOS package size, outlines the metrics that link bundle size to download conversion, compares the app‑size footprints of major domestic and overseas apps, and details the multi‑layered technical solutions—resource trimming, architecture safeguards, compiler tweaks, image compression, and code slimming—that together saved over 50 MB while preserving functionality.

Compiler Optimizationapp size optimizationiOS
0 likes · 16 min read
How Baidu Cut Its iOS App Size by 50 MB: A Deep Dive into Package Optimization
Baidu App Technology
Baidu App Technology
Feb 20, 2023 · Frontend Development

Chromium Prerender Mechanism: Evolution, Prerender 2.0 Usage, Implementation Flow and Application Scenarios

The article traces Chromium’s prerender evolution from the resource‑heavy Prerender 1.0 to the lightweight, API‑driven Prerender 2.0 built on MPArch, explains its Speculation Rules usage, activation detection, implementation flow, and advises conservative deployment in high‑confidence navigation scenarios to boost perceived load speed.

ChromiumSpeculation Rules APIprerender
0 likes · 14 min read
Chromium Prerender Mechanism: Evolution, Prerender 2.0 Usage, Implementation Flow and Application Scenarios
Baidu App Technology
Baidu App Technology
Feb 2, 2023 · Fundamentals

Inside iOS: How Mach Virtual Memory and Memory Pressure Work

This article explains the architecture of Mach virtual memory in iOS, details its page‑based management, describes the core data structures and kernel APIs, analyzes the Objective‑C alloc implementation, and walks through the memory‑pressure (Jetsam) mechanism that triggers low‑memory warnings.

KernelMachSource code
0 likes · 21 min read
Inside iOS: How Mach Virtual Memory and Memory Pressure Work
Baidu App Technology
Baidu App Technology
Dec 12, 2022 · Mobile Development

How Baidu Shrunk Android App Size by Optimizing Dex Annotations

This article details Baidu's systematic approach to reducing Android APK size by analyzing Dex annotation types, defining removal targets, implementing a Titan‑Dex based optimizer, and automating detection and whitelist management with custom Lint rules, ultimately saving about 1.2 MB of Dex bytecode.

AndroidAnnotation OptimizationDEX
0 likes · 14 min read
How Baidu Shrunk Android App Size by Optimizing Dex Annotations
Baidu App Technology
Baidu App Technology
Oct 24, 2022 · Mobile Development

Understanding SIGKILL Crashes and Capturing Them with MetricKit on iOS

A SIGKILL crash indicates the OS forcibly terminated an iOS app, which cannot be caught directly, but MetricKit (iOS 14+) can automatically collect diagnostic payloads after restart, allowing developers to extract termination reasons, stack traces, understand codes like 0x8badf00d, and address common causes such as main‑thread watchdog timeouts and deadlocks.

Crash AnalysisMetricKitObjective‑C
0 likes · 10 min read
Understanding SIGKILL Crashes and Capturing Them with MetricKit on iOS
Baidu App Technology
Baidu App Technology
Sep 22, 2022 · Mobile Development

Thor Container Framework Introduction

The Thor Container Framework, created by Baidu for its App to meet Hook technology needs, offers standardized Java and Native Hook interfaces through an abstract layer, enabling lightweight, dynamically delivered plugins with hot‑swap capability, cloud‑controlled activation, and robust disaster‑recovery features, supporting use cases such as low‑end optimization, privacy compliance, OOM handling, and pipeline integration.

AndroidDynamic LoadingHook
0 likes · 22 min read
Thor Container Framework Introduction
Baidu App Technology
Baidu App Technology
Sep 5, 2022 · Mobile Development

Automating Android Startup Performance: Perfetto Tracing, Gradle Instrumentation, and Automated Analysis

This article explains how to build a high‑precision Android startup performance pipeline by selecting the right tracing tool, extending Perfetto with custom Gradle instrumentation, handling edge‑case trace mismatches, and using Trace Processor’s Python API for automated wall‑time and CPU‑time regression detection.

AndroidGradleInstrumentation
0 likes · 30 min read
Automating Android Startup Performance: Perfetto Tracing, Gradle Instrumentation, and Automated Analysis