TikTok が Android のツールでユーザー エクスペリエンスを最適化
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
TikTok は、世界中のコミュニティ主導のエンターテインメント スポットです。10 億人を超える人々が世界中から集まり、お気に入りのコンテンツを発見、制作、共有しています。
多様なユーザーベースには多様なネットワーク条件やデバイスの仕様が必要であり、すべてのユーザーが、使用するデバイスに関係なくシームレスで応答性の高いアプリ エクスペリエンスを実現したいと考えています。
TikTok の読み込みが遅くなったり、再生が途中で止まったりすると、ユーザーは不満を感じ、TikTok アプリの利用をやめることになります。これを避けるため、TikTok はデータ モニタリング、類似アプリの比較、ユーザー アンケートを利用して、アプリの全体的なパフォーマンスを追跡している。また、UI ジャンク、再生ラグ、ネットワークの問題を減らすために、Systrace や Simpleperf などのプロファイリング ツールも導入しました。これはうまく機能していましたが、エンジニアリング チームは、さらに一歩進めてパフォーマンスに影響を与える根本的な要因を明らかにし、定量化可能なパフォーマンス指標を使用して最適化計画を策定したいと考えていました。
実現手法
TikTok の目標は、起動を高速化し、よりシームレスな再生とユーザー エクスペリエンスを確保することでした。チームはこれらの目標を達成するため、Android 開発ツールを使用して改善の余地がある領域を見つけ、改良しました。
TikTok の起動時間を短縮するため、チームは Android Jetpack の App Startup ライブラリをベースに起動フレームワークをリファクタリングしました。
ユーザー インターフェースをスムーズにするために、チームは Andriod Studio の Layout Inspector を使用してビュー階層を簡素化し、過剰なコンテンツを削除しています。TikTok は、アプリの実行中に一貫したフレームレートを確保するために、複雑なタスクをさまざまなフレームに分散する戦略を開発しました。
動画再生は TikTok のアプリ エクスペリエンスの中核をなす機能です。チームはプレーヤー インスタンスを再利用し、プリロード/プリレンダリングを利用して、ある動画を視聴してから別の動画に切り替える迅速かつシームレスな移行を実現しました。
結果
TikTok チームは、1 年以上にわたって Android パフォーマンス ツールを使用して、すべてのパフォーマンス要素を追跡、定量化、最適化してきました。次のようなアプリのパフォーマンス インジケーターの多くに大幅な改善が見られました。
- アプリの起動時間が 45% 短縮された
- ユーザー エクスペリエンスにおけるジャンク、フレーム落ち、フリーズが 49% 減少 - 動画再生時の最初のフレームが 41% 速く表示され、動画の遅延が 27% 減少しました
ユーザー エクスペリエンスの向上により、TikTok のユーザーも増えています。セッション継続時間が長くなり、ユーザーがアプリをアクティブに保つ可能性が向上しました。30 日間におけるユーザーあたりのアクティブ日数は 1% 増えました。また、ユーザー アンケートやアプリの評価からも、全体的なユーザー満足度が大幅に向上していることがわかっています。
Android App Excellence の達成に重点を置き、最新のプラットフォーム リリースである Android 13 をターゲットにすることで、チームは継続的にユーザー エクスペリエンスを向上させ、より多くの人がコンテンツを共有、消費できるようにしています。
現在、世界中で 2 億 5, 000 万台以上の大画面 Android デバイスが使用されています。チームは、近い将来、より没入感の高い TikTok 体験をユーザーに提供するために、大画面デバイスの導入を拡大することにも注力しています。
使ってみる
TikTok チームがパフォーマンス データに基づいてアプリを最適化し、Android のツールを使用してアプリの全体的なエクスペリエンスを向上させた手法について詳しくは、デベロッパー向けの技術事例紹介をご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-27 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# TikTok Optimizes User Experience with Android Tools\n\n[TikTok](https://play.google.com/store/apps/details?id=com.zhiliaoapp.musically), the world's community-driven entertainment destination, brings over 1 billion people together from around the world to discover, create and share content they love.\n\nA diverse user base requires various network conditions and device specifications, and all users want a seamless, responsive app experience regardless of which device they use.\n\nIf TikTok is slow to load, or playbacks get stuck, users will get frustrated and abandon the app altogether. To avoid this, TikTok relies on data monitoring, peer app comparison and user surveys to track the overall app performance. The team also adopted profiling tools like [Systrace](https://developer.android.com/topic/performance/tracing) and [Simpleperf](https://developer.android.com/ndk/guides/simpleperf), to reduce UI jank, playback lags and network issues. While this has been working well, the engineering team was looking to take it one step further and uncover the underlying factors affecting the performance and develop an optimization plan with quantifiable performance indicators.\n\nHow they did it\n---------------\n\nTikTok's goal was to achieve a faster startup speed and ensure a more seamless playback and user experience. To meet these goals, the team used Android development tools to find areas of improvement and refine them.\n\nTo reduce TikTok's startup time, the team refactored the startup framework based on Android [Jetpack's App Startup library](https://developer.android.com/topic/libraries/app-startup).\n\nTo ensure a smoother user interface, the team used the [Layout Inspector](https://developer.android.com/studio/debug/layout-inspector) in [Andriod Studio](https://developer.android.com/studio) to simplify their View hierarchy and remove excessive content. TikTok developed a strategy to spread complex tasks across different frames to ensure consistent frame rates while the app is running.\n\nVideo playback is at the core of TikTok's app experience. The team reused player instances and utilized preloading/pre-rendering to create quick and seamless transitions from watching one video then switching to another.\n\nResults\n-------\n\nThe TikTok team has been using [Android performance tools](https://developer.android.com/topic/performance) for over a year to track, quantify, and optimize all of their performance factors. Many of the app's performance indicators have seen significant improvement, including:\n\n- The app startup time was reduced by 45%\n- A 49% decrease in jank, dropped or frozen frames in user experience - the first frame when playing a video now appears 41% faster and video lag has been reduced by 27%\n\nWith an improved user experience, more people are now using TikTok. Session duration has gone up and users are more likely to stay active in the app with the active days per user in 30 days increasing by 1%. User surveys and app ratings have also pointed to a significant increase in overall user satisfaction.\n\nBy shifting their focus on achieving [Android App Excellence](https://developer.android.com/quality) and targeting the latest platform release, Android 13, the team continuously improves the user experience, leading more people to share and consume content.\n\nWith more than 250 million large screen Android devices currently in use globally, the team is also focusing on growing their large-screen device adoption to bring a more immersive TikTok experience for users in the near future.\n\nGet Started\n-----------\n\nTo learn more about how the TikTok team optimized their app based on performance data and improved the overall app experience using Android tools, please read our [technical case study](https://android-developers.googleblog.com/2022/08/precise-improvements-how-tiktok-enhanced-its-social-experience-on-android.html) for developers."]]