Baidu App Technology
Author

Baidu App Technology

Official Baidu App Tech Account

98
Articles
0
Likes
239
Views
0
Comments
Recent Articles

Latest from Baidu App Technology

98 recent articles
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
Baidu App Technology
Baidu App Technology
Aug 19, 2022 · Mobile Development

Baidu App Low-End Device Startup Performance Optimization: A Comprehensive Guide

Baidu’s comprehensive low‑end device startup optimization—using a scoring‑based observation system, TTI metrics, automated degradation prevention, high‑performance tools such as UniKV and ABTest lock fixes, and an intelligent scheduling framework—cut cold‑start TTI by over 40% on Android and 30%‑plus on iOS.

Android optimizationTask Schedulingdegradation prevention
0 likes · 19 min read
Baidu App Low-End Device Startup Performance Optimization: A Comprehensive Guide
Baidu App Technology
Baidu App Technology
Aug 11, 2022 · Information Security

How Baidu’s bdtls Protocol Secures Mini‑Programs with TLS 1.3‑Inspired Design

This article explains Baidu’s custom bdtls security communication protocol for mini‑programs, detailing its TLS 1.3‑based architecture, DHE‑RSA key exchange, AES‑GCM encryption, implementation on both server and client sides, and the strategies used to achieve strong security, low latency, high availability, and extensibility.

Information SecurityTLSbdtls
0 likes · 23 min read
How Baidu’s bdtls Protocol Secures Mini‑Programs with TLS 1.3‑Inspired Design
Baidu App Technology
Baidu App Technology
Aug 2, 2022 · Mobile Development

Baidu App Android APK Resource Optimization Practices

The article details Baidu App’s third‑stage Android APK size reduction, explaining the res/ and assets structure, reviewing AGP’s OptimizeResources, ShrinkResources and new flags, and describing a custom AAPT2‑based tool that shortens paths and filenames, removes extensions, collapses names, uses sparse encoding, integrates third‑party guards and image‑compression techniques to significantly shrink the package.

AAPT2APKAndroid
0 likes · 19 min read
Baidu App Android APK Resource Optimization Practices
Baidu App Technology
Baidu App Technology
Jul 12, 2022 · Mobile Development

Large Memory Allocation Monitoring Solution for iOS Applications

A low‑overhead monitoring solution for iOS apps resets the global malloc_logger to capture every allocation, filters large allocations exceeding a configurable threshold, records lightweight stack traces using dyld image maps, and sends address‑only data for offline symbolication, enabling developers to identify and fix memory‑heavy code, reducing OOM crashes.

Memory MonitoringMobile DevelopmentOOM
0 likes · 14 min read
Large Memory Allocation Monitoring Solution for iOS Applications
Baidu App Technology
Baidu App Technology
May 12, 2022 · Operations

How Baidu’s Tekes Actions Turns Pipelines into Code for Scalable CI/CD

This article explains Baidu's journey from traditional CI pipelines to a fully automated Pipeline‑as‑Code system called Tekes Actions, compares Jenkins and GitHub Actions DSLs, and details the architecture, runner, and workflow orchestration that enable customizable, reusable pipelines across product lines.

DevOpsGitHub ActionsJenkins
0 likes · 17 min read
How Baidu’s Tekes Actions Turns Pipelines into Code for Scalable CI/CD
Baidu App Technology
Baidu App Technology
Mar 28, 2022 · Mobile Development

Dex DebugInfo Line Number Optimization in Android Applications

The article explains how Baidu’s Dex line-number optimization replaces original line numbers with compact PC-based mappings, unifies debug_info_items, and uses a server-side mapping file to shrink DebugInfo by roughly 8% of the Dex size while keeping stack-trace line numbers fully recoverable.

AndroidDEXDebugInfo
0 likes · 25 min read
Dex DebugInfo Line Number Optimization in Android Applications
Baidu App Technology
Baidu App Technology
Mar 17, 2022 · Mobile Development

Baidu App APK Size Optimization: Principles, Tools, and Implementation

The Baidu App team applied a systematic, sustainable approach—combining Dex, resource, and native‑library optimizations with tools such as R8, ProGuard, AndResGuard, and custom compression pipelines—to shrink the APK by several megabytes, improve download conversion, and establish reusable mechanisms for future builds.

APKAndroidDEX
0 likes · 20 min read
Baidu App APK Size Optimization: Principles, Tools, and Implementation