ByteDance Terminal Technology
Author

ByteDance Terminal Technology

Official account of ByteDance Terminal Technology, sharing technical insights and team updates.

71
Articles
0
Likes
207
Views
0
Comments
Recent Articles

Latest from ByteDance Terminal Technology

71 recent articles
ByteDance Terminal Technology
ByteDance Terminal Technology
May 11, 2022 · Fundamentals

Common Misconceptions in iOS15 Dynamic Linking and Mach‑O Fixup Chains

This article clarifies three frequent misunderstandings about iOS15+ dynamic linking—namely the encoding of b/bl instructions, the need for rebase/bind in __TEXT segments, and the mismatch between Mach‑O segment VM size and file size—by explaining the underlying ARM64 architecture, PIC concepts, and providing concrete dyld tool examples.

AssemblyMach-Obinary analysis
0 likes · 11 min read
Common Misconceptions in iOS15 Dynamic Linking and Mach‑O Fixup Chains
ByteDance Terminal Technology
ByteDance Terminal Technology
May 9, 2022 · Mobile Development

Optimizing Swift Debugging Performance with a Custom LLDB Toolchain at ByteDance

This article explains how ByteDance's DanceCC team improved debugging speed for large Swift iOS projects by customizing the LLDB toolchain, disabling costly Swift type‑resolution features, fixing static‑framework loading, optimizing external module searches, and introducing shared symbol caches, achieving up to ten‑fold reductions in variable‑view and expression‑evaluation times.

Compiler ToolchainDebuggingLLDB
0 likes · 20 min read
Optimizing Swift Debugging Performance with a Custom LLDB Toolchain at ByteDance
ByteDance Terminal Technology
ByteDance Terminal Technology
Apr 22, 2022 · Mobile Development

MetricKit Overview: iOS Performance and Diagnostic Monitoring

MetricKit, introduced in iOS 13 and expanded in iOS 14, provides a low‑overhead, system‑driven way to collect app performance, power, and crash diagnostics over the last 24 hours, enabling developers to upload, analyze, and optimize their iOS applications without third‑party SDKs.

MetricKitMobile DevelopmentPerformance Monitoring
0 likes · 18 min read
MetricKit Overview: iOS Performance and Diagnostic Monitoring
ByteDance Terminal Technology
ByteDance Terminal Technology
Mar 25, 2022 · Mobile Development

Fastbot Automated Testing: Enhancing iOS App Stability Through Intelligent Testing

Fastbot is an intelligent automated testing service developed by Quality Lab and GIP iOS Platform Architecture Team, utilizing machine learning and reinforcement learning to improve test coverage and stability, achieving over 100% improvement in problem discovery and code coverage compared to traditional Monkey testing.

accessibilityiOS testingstability testing
0 likes · 13 min read
Fastbot Automated Testing: Enhancing iOS App Stability Through Intelligent Testing
ByteDance Terminal Technology
ByteDance Terminal Technology
Mar 15, 2022 · Mobile Development

Understanding Fixup Chain: Apple’s New Dynamic Linking Technique in iOS 15

Fixup chain, introduced in iOS 15, replaces the previous compressed‑byte‑stream rebase/bind format with a linked‑list style structure that stores dynamic‑link information more compactly, improves space locality, reduces binary size, and speeds up app launch by allowing a single pass rebase and bind process.

BINDMach-Odynamic linking
0 likes · 31 min read
Understanding Fixup Chain: Apple’s New Dynamic Linking Technique in iOS 15
ByteDance Terminal Technology
ByteDance Terminal Technology
Mar 8, 2022 · Mobile Development

How We Brought ChartSpace to Flutter Using a Cross‑Platform Canvas

This article explains how a graphics‑grammar‑based chart library called ChartSpace was ported to Flutter by recording Web canvas commands in a mock canvas, replaying them on Flutter's canvas, handling touch interaction conversion, and optimizing performance, while sharing the challenges and solutions encountered.

ChartSpaceCross‑Platform CanvasFlutter
0 likes · 12 min read
How We Brought ChartSpace to Flutter Using a Cross‑Platform Canvas
ByteDance Terminal Technology
ByteDance Terminal Technology
Mar 2, 2022 · Mobile Development

Analyzing and Optimizing Kapt Memory Consumption in Android Projects

This article examines the memory‑intensive behavior of Kotlin's Kapt annotation‑processing tool in large Android builds, explains its internal two‑step stub‑generation and Java‑apt workflow, analyzes OOM root causes with VisualVM, and presents a practical source‑filtering fix that dramatically reduces compile time and memory usage.

Annotation ProcessingKaptKotlin
0 likes · 16 min read
Analyzing and Optimizing Kapt Memory Consumption in Android Projects
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 24, 2022 · Mobile Development

Exploring ByteDance's iOS Automation Testing Driver Tool BDC: Architecture, Features, and Implementation

This article details the background, functional capabilities, development journey, technical architecture, and deployment experience of ByteDance's iOS automation testing driver tool BDC, illustrating how it automates device interaction, app management, UI control, and large‑scale testing on both macOS and Linux environments.

DockerLinuxUI Interaction
0 likes · 13 min read
Exploring ByteDance's iOS Automation Testing Driver Tool BDC: Architecture, Features, and Implementation