

See how your code actually executes with Stackdriver Profiler, now GA
source link: https://chinagdg.org/2019/06/see-how-your-code-actually-executes-with-stackdriver-profiler-now-ga/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


See how your code actually executes with Stackdriver Profiler, now GA
Source: See how your code actually executes with Stackdriver Profiler, now GA from Google Cloud
We’re happy to announce that Stackdriver Profiler is now generally available. This is an important piece of our Stackdriver monitoring and logging tool for Google Cloud Platform (GCP) services. It brings continuous CPU and heap profiling, so you can improve the performance of your cloud services and cut costs.
Stackdriver Profiler shows you how your code actually executes in production. You can see how functions are called and which functions are consuming the most CPU and memory, with no noticeable performance impact. Profiler is free to use and supports Java, Go, Node.js, and Python applications running on Google Kubernetes Engine (GKE), Google Compute Engine, containers, VMs, or physical machines running anywhere. Here’s what it looks like:

Profiler is useful for optimizing the performance of your code, tracking down the sources of memory leaks, and reducing your costs. It provides insight about production performance that isn’t available anywhere else.
Using Profiler in production
Many of our largest customers are having great success with Profiler. We’ll let them describe the impact that it’s had on their businesses:
“Using Stackdriver Profiler, the back-end team at Outfit7 was able to analyze the memory usage pattern in our batch processing Java jobs running in App Engine Standard, identify the bottlenecks and fix them, reducing the number of OOMs [out-of-memory] errors from a few per day to almost zero,” says Anže Sodja, senior software engineer at Outfit7 Group (Ekipa2 subsidiary). “Stackdriver Profiler helped us to identify issues fast, as well as significantly reducing debugging time by enabling us to profile our application directly in the cloud without setting up a local testing environment.”
In addition, Snap Inc. has found great success using Profiler. “We used Stackdriver Profiler as part of an effort to improve the scalability of our services,” says Evan Yin, software engineer at Snap Inc. “It helped us to pinpoint areas we can optimize and reduce CPU time, which means a lot to us at our scale.”
Making Profiler continually better
We’re always working to add useful new functionality to Profiler. We recently added weight filtering and a table showing the aggregate cost of each function, and we’ve added even more features in the past few months:
-
Full support for Python applications running on containers and VMs
-
New optional coloring modes for the flame graph, which highlights functions based on their consumption, exposed via the new “color mode” filter in the filter bar
-
Tool tips for filters, accessible through the question mark button to the right of the filter bar
-
The focus table now works with the comparison feature and adds additional comparison columns when two sets of profiles are being compared
We’re really excited that Profiler is now generally available, and we hope that you are too. In the coming months and quarters we’ll keep focusing on ways to make this product even better. If you haven’t yet used Stackdriver Profiler, get started here.
Recommend
-
162
Professionals | Community Groups Programs | Google Developers
-
48
除非特别声明,此文章内容采用知识共享署名 3.0许可,代码示例采用Apache 2.0许可。更多细节请查看我们的服务条款。
-
71
README.md DLR DLR is a stand-alone, light-weight and portable runtime for CNN and decicion-tree models. Built on top of TVM
-
46
Stackdriver Profiler adds more languages and new analysis features
-
27
Privacy-oriented cryptocurrency Grin has just executed its first backward-incompatible upgrade, also called a hard fork. Today’splanned upgrade introduces key changes to the nearly $60-million network that will op...
-
7
Apple executes New Year's Eve apps purge in ChinaBy Leo KelionTechnology desk editorPublishedduration5 hours agoimage copyrightGetty ImagesApple k...
-
6
The "default" option Django 1.8 only executes the external function once advertisements I am trying to add a UUID field to an exi...
-
3
Wasm3 on Twitter: "Ok, so here #Wasm3 compiles itself (using #Clang compiled to #WebAssembly), and executes another #WASI app in self-hosting mode. 😁 Execution time includes the build time, obviously! https://t.co/NttJ9l7KXh"Don’t miss what...
-
8
How Spark Internally Executes A Program Reading Time: 3 minutesHello everyone! In my previous blog, I explained the difference between RDD, DF, and DS you can f...
-
11
How JavaScript Code Gets Executed: Synchronous vs. Asynchronous
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK