Tagged articles

TaskPool

3 articles · Page 1 of 1
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Aug 28, 2026 · Mobile Development

HarmonyOS Cold Start Optimization: 4-Step Pipeline from Icon Tap to Interactive

This article details a four-step HarmonyOS cold start optimization methodology: baseline measurement, deferred non-critical parsing, taskpool concurrency for heavy parsing, and skeleton screens with in-process caching to decouple first-frame and interactive metrics, validated via dual-track measurement on a sample 'Morning Brief' page.

ArkUIHarmonyOSPerformance Optimization
0 likes · 36 min read
HarmonyOS Cold Start Optimization: 4-Step Pipeline from Icon Tap to Interactive
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Feb 25, 2026 · Mobile Development

Mastering HarmonyOS Concurrency: TaskPool, Worker & TaskGroup in AI Photo App

Through an AI ID photo tool case study, this article demonstrates HarmonyOS concurrency patterns: TaskPool for short preprocessing, Worker for long AI inference, TaskGroup for parallel batch generation, SequenceRunner for dependent tasks, SharedArrayBuffer for zero-copy sharing, Sendable for thread-safe singletons, and producer-consumer queues for real-time previews, with before/after performance metrics.

HarmonyOSSendableSequenceRunner
0 likes · 29 min read
Mastering HarmonyOS Concurrency: TaskPool, Worker & TaskGroup in AI Photo App