קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Firebase Performance Monitoring
plat_ios
plat_android
plat_web
plat_flutter
קבלת תובנות לגבי בעיות בביצועים של האפליקציה שלכם.
Firebase Performance Monitoring הוא שירות שעוזר לך לקבל תובנות לגבי
של ביצועי האפליקציות שלכם ל-Apple, ל-Android ולאפליקציות אינטרנט.
נעשה שימוש ב-SDK Performance Monitoring כדי לאסוף נתוני ביצועים מהאפליקציה, ולאחר מכן
לבדוק ולנתח את הנתונים האלה במסוף Firebase. Performance Monitoring עוזר לכם להבין בזמן אמת איפה אפשר לשפר את הביצועים של האפליקציה, כדי שתוכלו להשתמש במידע הזה כדי לפתור בעיות בביצועים.
שנתחיל? בוחרים את הפלטפורמה:
iOS+
Android
אתר
Flutter
יכולות מרכזיות
למדוד באופן אוטומטי את זמן ההפעלה של האפליקציה, בקשות רשת HTTP וגם
הקטגוריה 'עוד' |
כשמשלבים את ה-SDK של Performance Monitoring באפליקציה, לא צריך
לכתוב קוד כלשהו לפני שהאפליקציה מתחילה לעקוב באופן אוטומטי אחרי כמה
היבטים קריטיים של הביצועים.
באפליקציות נייטיב, ערכת ה-SDK מתעדת את זמן ההפעלה, מעבדת את הנתונים לפי מסך, וכן
פעילות בחזית או ברקע. באפליקציות אינטרנט, יומני ה-SDK
היבטים כמו הצגת התוכן הראשון, היכולת של המשתמשים ליצור אינטראקציה
ועוד. |
קבלת תובנות לגבי מצבים שבהם ביצועי האפליקציה יכולים להיות
משופר |
ביצוע אופטימיזציה של ביצועי האפליקציה יכול להיות מאתגר
יודעים בדיוק למה הוא לא עומד בציפיות של המשתמשים. זאת הסיבה
Performance Monitoring מאפשר לך לראות את מדדי הביצועים בחלוקה לפי
מאפיינים, כמו מדינה,
המכשיר, גרסת האפליקציה ורמת מערכת ההפעלה. |
התאמה אישית של המעקב לאפליקציה |
אפשר לנגן בכלי נגינה
מעקבי קוד בהתאמה אישית
כדי לתעד את ביצועי האפליקציה במצבים ספציפיים, כמו
טוענים מסך חדש או מציגים תכונה אינטראקטיבית חדשה. ואפשר גם
ליצור מדדים מותאמים אישית למעקבי קוד בהתאמה אישית כדי לספור אירועים
שהגדרתם (כמו היטים של מטמון) במהלך המעקבים האלה. |
זיהוי שינויים משמעותיים בביצועי האפליקציה |
זיהוי ופתרון בעיות עיקריות בביצועי אפליקציות, כמו רשת
הפסקות זמניות בשירות הוא חיוני להצלחת האפליקציה. מעקב ביצועים מאפשר
שאתם מגדירים ומתאימים אישית התראות
של החלקים הקריטיים ביותר באפליקציה, כדי שתוכלו לראות את התוכן ולהגיב עליו
מלכודות ביצועים - לפני
שהם משפיעים על המשתמשים שלך. |
איך זה עובד?
כשמוסיפים את ה-SDK מסוג Performance Monitoring, מערכת Firebase מתחילה לאסוף באופן אוטומטי
נתונים לכמה תהליכים נפוצים באפליקציה, לדוגמה:
Performance Monitoring משתמש במעקבים כדי לאסוף נתונים על התהליכים האלה. עקבות הוא
דוח שמכיל נתונים שתועדו בין שתי נקודות זמן באפליקציה.
נתוני הביצועים שנאספים בכל מעקב נקראים מדדים ומשתנים
בהתאם לסוג המעקב. לדוגמה, אם מופע של האפליקציה נתקל בבעיות
לבקשת רשת, המעקב אוסף מדדים שחשובים לרשת
מעקב אחרי בקשות, כמו זמן תגובה וגודל המטען הייעודי (payload).
בכל פעם שמופע של האפליקציה מפעיל תהליך מנוטר, נתוני המעקב המשויך
אוסף גם נתוני מאפיינים באופן אוטומטי עבור המופע של האפליקציה. עבור
לדוגמה, אם אפליקציה ל-Android שולחת בקשת רשת, נתוני המעקב אוספת את
של המכשיר, גרסת האפליקציה ומאפיינים אחרים של המופע הספציפי של האפליקציה הזו. שלך
יכול להשתמש במאפיינים האלה כדי לסנן את נתוני הביצועים וללמוד אם הם ספציפיים
יש בעיות בפלחי המשתמשים.
מעקב אחר הפריטים הראשוניים של Performance Monitoring מאפשר לך להתחיל לעקוב אחר
אבל כדי ללמוד על הביצועים של משימות או תהליכים ספציפיים, אפשר לנסות
אינסטרומנטציה של עקבות קוד מותאמים אישית
באפליקציה.
נתיב הטמעה
|
הוספת ה-SDK של Performance Monitoring לאפליקציה
|
אפשר להוסיף את ה-SDK של Performance Monitoring לאפליקציה, יחד עם כל
מוצרי Firebase שבהם רוצים להשתמש באפליקציה.
פלטפורמות של Apple |
Android |
אינטרנט |
בלגן
|
|
(אופציונלי)
מעקב אחר קוד מותאם אישית ומדדים מותאמים אישית באפליקציה
|
באמצעות Performance Monitoring SDK, אפשר להטמיע מעקב אחר קוד בהתאמה אישית ומדדים בהתאמה אישית כדי למדוד היבטים ספציפיים של ביצועי האפליקציה.
|
|
עוקבים אחרי נתוני הביצועים במסוף בזמן אמת
|
במסוף Firebase אפשר לעקוב אחרי נתוני הביצועים של המשתמשים כדי לזהות את המצבים הספציפיים שבהם אפשר לשפר את הביצועים של האפליקציה. אפשר גם
להציג פירוט של נתוני הביצועים לפי
מאפיינים, כמו גרסת האפליקציה,
המדינה, המכשיר או מערכת ההפעלה.
|
נתוני המשתמש
Performance Monitoring לא מאחסן באופן סופי פרטים אישיים מזהים
מידע (כגון שמות, כתובות אימייל או מספרי טלפון). במהלך המעקב אחרי בקשות רשת מסוג HTTP, Performance Monitoring משתמש בכתובות URL (לא כולל פרמטרים של כתובות URL) כדי ליצור דפוסי כתובות URL מצטברים ואנונימיים, שמאוחסנים בסופו של דבר ומוצגים במסוף Firebase.
פרטים נוספים זמינים
דוגמאות למידע שנאסף על ידי
Performance Monitoring
השלבים הבאים
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-24 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-24 (שעון UTC)."],[],[],null,["Firebase Performance Monitoring \nplat_ios plat_android plat_web plat_flutter \nGain insight into your app's performance issues. \nFirebase Performance Monitoring is a service that helps you to gain insight into the performance characteristics of your Apple, Android, and web apps.\n\n\u003cbr /\u003e\n\nYou use the Performance Monitoring SDK to collect performance data from your app, then\nreview and analyze that data in the Firebase console. Performance Monitoring helps you\nto understand in real time where the performance of your app can be improved so\nthat you can use that information to fix performance issues.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/perf-mon/get-started-ios)\n[Android](/docs/perf-mon/get-started-android)\n[Web](/docs/perf-mon/get-started-web)\n[Flutter](/docs/perf-mon/flutter/get-started)\n\nKey capabilities\n\n|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Automatically measure app startup time, HTTP network requests, and more | When you integrate the Performance Monitoring SDK into your app, you don't need to write any code before your app starts automatically monitoring several critical aspects of performance. For native apps, the SDK logs startup time, rendering data by screen, and activity while in the foreground or background. For web apps, the SDK logs aspects like first contentful paint, ability for users to interact with your app, and more. |\n| Gain insight into situations where app performance could be improved | Optimizing the performance of your app can be challenging when you don't know exactly why it is falling short of user expectations. That's why Performance Monitoring lets you see performance metrics broken down by [*attributes*](/docs/perf-mon/attributes), like country, device, app version, and OS level. |\n| Customize monitoring for your app | You can instrument [*custom code traces*](/docs/perf-mon/custom-code-traces) to capture your app's performance in specific situations, like when you load a new screen or display a new interactive feature. And, you can create *custom metrics* on these custom code traces to count events that you define (like cache hits) during those traces. |\n| Identify significant changes in app performance | Identifying and resolving major app performance issues, like network outages, is vital to the success of your app. Performance Monitoring lets you [set up and customize alerts](/docs/perf-mon/alerts) for the most critical parts of your app so you can see and respond to performance pitfalls -- before they affect your users. |\n\nHow does it work?\n\nWhen you add the Performance Monitoring SDK, Firebase *automatically* starts collecting\ndata for several common processes in your app, for example:\n\n|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| | - [App start up time for Apple and Android apps](/docs/perf-mon/app-start-foreground-background-traces) - [Screen rendering for Apple and Android apps](/docs/perf-mon/screen-traces) | - [Page loading for web apps](/docs/perf-mon/page-load-traces) - [Network requests for all types of apps](/docs/perf-mon/network-traces) |\n\nPerformance Monitoring uses ***traces*** to collect data about these processes. A trace is\na report that contains data captured between two points in time in your app.\n\nThe collected performance data for each trace are called ***metrics*** and vary\ndepending on the type of trace. For example, when an instance of your app issues\na network request, the trace collects metrics that are important for network\nrequest monitoring, like response time and payload size.\n\nEach time an instance of your app runs a monitored process, the associated trace\nalso automatically collects ***attributes*** data for that app instance. For\nexample, if an Android app issues a network request, the trace collects the\ndevice, app version, and other attributes for that specific app instance. You\ncan use these attributes to filter your performance data and learn if specific\nuser segments are experiencing issues.\n\nThe out-of-the-box traces from Performance Monitoring get you started with monitoring your\napp, but to learn about the performance of specific tasks or flows, try out\n[instrumenting your own custom traces of code](/docs/perf-mon/custom-code-traces)\nin your app.\n\nImplementation path\n\n|---|---------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Add the Performance Monitoring SDK to your app | You can add the Performance Monitoring SDK to your app, along with any other Firebase products that you want to use in your app. [Apple platforms](/docs/perf-mon/get-started-ios) \\| [Android](/docs/perf-mon/get-started-android) \\| [Web](/docs/perf-mon/get-started-web) \\| [Flutter](/docs/perf-mon/flutter/get-started) |\n| | *(Optional)* Instrument custom code traces and custom metrics in your app | Using the Performance Monitoring SDK, you can instrument [custom code traces and custom metrics](/docs/perf-mon/custom-code-traces) to measure specific aspects of your app's performance. |\n| | Monitor performance data in the console in real time | In the [Firebase console](//console.firebase.google.com/project/_/performance), you can monitor performance data from your users to learn the specific situations where your app's performance could be improved. You can also break down the performance data by [attributes](/docs/perf-mon/attributes), like app version, country, device, or OS. |\n\nUser data\n\nPerformance Monitoring does not permanently store any personally identifiable\ninformation (such as names, email addresses, or phone numbers). While monitoring\nHTTP network requests, Performance Monitoring uses URLs (not including URL parameters)\nto build aggregated and anonymous URL patterns that are eventually persisted\nand shown in the Firebase console.\n\nFor more details, refer to the\n[Examples of information collected by\nPerformance Monitoring](/support/privacy#performance-monitoring-collected-info).\n\nNext steps\n\n- To get started using Performance Monitoring in your app, visit:\n\n - [Get Started with Performance Monitoring for Apple platforms](/docs/perf-mon/get-started-ios)\n - [Get Started with Performance Monitoring for Android](/docs/perf-mon/get-started-android)\n - [Get Started with Performance Monitoring for web](/docs/perf-mon/get-started-web)\n - [Get Started with Performance Monitoring on Flutter](/docs/perf-mon/flutter/get-started)\n- To learn about setting up alerts, see [Set up alerts for performance issues](https://firebase.google.com/docs/perf-mon/alerts)."]]