Memahami performa dengan Cloud Profiler
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Cloud Profiler adalah profiler statistik dengan overhead rendah yang terus mengumpulkan informasi penggunaan CPU dan alokasi memori dari aplikasi produksi Anda. Cloud Profiler mengatribusikan informasi tersebut ke kode sumber yang menghasilkannya, membantu Anda mengidentifikasi bagian aplikasi yang paling banyak menggunakan resource, dan menunjukkan karakteristik performa aplikasi Anda. Untuk ringkasan mendetail, lihat
Konsep profiling dalam dokumentasi
Cloud Profiler.
Untuk merekam data pembuatan profil untuk runtime Java terbaru yang didukung, lihat
Membuat profil aplikasi Java.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-09-04 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eCloud Profiler is a tool that continuously gathers CPU usage and memory-allocation data from production applications.\u003c/p\u003e\n"],["\u003cp\u003eCloud Profiler attributes performance data to the corresponding source code, helping identify resource-intensive areas.\u003c/p\u003e\n"],["\u003cp\u003eJava 8 runtime does not support \u003ccode\u003eGAE_PROFILER_MODE\u003c/code\u003e, requiring migration to a later version for Profiler agent use.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information on profiling concepts and capturing data for supported Java runtimes is available in the Cloud Profiler documentation.\u003c/p\u003e\n"]]],[],null,["# Understand performance with Cloud Profiler\n\n| **Note:** The Java 8 runtime [doesn't support](/appengine/docs/standard/lifecycle/runtime-lifecycle#end_of_support) `GAE_PROFILER_MODE`. To continue using the Profiler agent, you must [migrate your application](/appengine/migration-center/standard/migrate-to-second-gen/java-differences) to the latest supported version of Java. To configure the Profiler agent for your second-generation Java application, see [Profiling Java applications](/profiler/docs/profiling-java#starting_your_program).\n\nCloud Profiler is a statistical, low-overhead profiler that\ncontinuously gathers CPU usage and memory-allocation information from your\nproduction applications. It attributes that information to the source code\nthat generated it, helping you identify the parts of your application that are\nconsuming the most resources, and otherwise illuminating your applications\nperformance characteristics. For a detailed overview, see\n[Profiling concepts](/profiler/docs/concepts-profiling) in the Cloud Profiler\ndocumentation.\n\nTo capture profiling data for the latest supported Java runtime, see\n[Profiling Java applications](/profiler/docs/profiling-java)."]]