Thursday, April 4, 2024
Cloud Profiler GCP Juara GCP

Cloud Profiler: Qwik Start

profiler

“Cloud Profiler: Qwik Start”

Pengantar

Cloud Profiler adalah profiler statistik dengan overhead rendah yang terus mengumpulkan informasi penggunaan CPU dan alokasi memori dari aplikasi produksi Anda. Ini mengaitkan informasi itu dengan kode sumber aplikasi, membantu Anda mengidentifikasi bagian-bagian aplikasi yang paling banyak menggunakan sumber daya, dan sebaliknya menerangi karakteristik kinerja kode.

Praktikum

Task 1. Enable the Stackdriver Profiler API

To enable the Strackriver Profiler API:

  • In the Navigation menu Navigation menu icon
    , click APIs & services > Library.
  • Type “Stackdriver Profiler” in the search box.
  • Click the Stackdriver Profiler API, and then click Enable if it is not Enabled.

Task 2. Get a program to profile

go install github.com/GoogleCloudPlatform/golang-samples/profiler/profiler_quickstart@latest

Task 3. Profile the code

profiler_quickstart

Task 4. Start the Profiler interface

  • In the Console, go to Profiler.
  • From the Navigation menu, in the Operations section, click on Profiler.

Penutup

Sahabat Blog Learning & Doing demikianlah penjelasan mengenai Cloud Profiler: Qwik Start. Semoga Bermanfaat . Sampai ketemu lagi di postingan berikut nya.

(Visited 69 times, 1 visits today)
Baca Juga :  Building a High-throughput VPN

Similar Posts