What is Python Optimization? Python is a popular programming language used for web development, machine learning, and many other applications. Its main advantage is that it is easy to learn, easy to use, and highly versatile, supporting developer productivity. However, Python is also notoriously slow. Programs written in languages such as C++, Node.js, and Go […]
Performance is one of the most common and important metrics of any serious application, and Python code bases are no exception. Performance directly affects user experience and maintenance costs, influencing revenue. Testing and profiling Python code before deployment helps to reveal obvious flaws, whereas investigating incidents after they happen is just firefighting. But how can […]
CPU profiling is not a new concept and has been around for decades. However, with advancements in profiling techniques and a push towards observability, profiling is today seeing a steady rise in adoption. Profiling helps you understand code-level performance and optimize the resource-consuming parts of your code. You can also profile your application to perform […]
This is a transcript of The Scale Trap: How We Reduced Our CPU Utilization from 80% to 15% from DeveloperWeek Cloud. You can find the full video here. Hey everyone, and thanks for joining my session. My name is Ezequiel Nulman, and I’m the R&D Team Lead here at Granulate. Happy to connect with you […]
Profiling identifies the piece of code that is creating problems, the duration of a certain job, the frequency with which a line of code is being called, its source, and the time spent executing the code at any given moment. This article will illustrate the concept of continuous profiling and showcase different tools to execute it for Python-based applications.
Application code profiling tools help you determine which code areas are consuming the most resources in production, which allows you to find ways to adjust the number of infrastructure resources by resolving performance bottlenecks. In addition, code profilers drive the engineering effort needed to fix the performance issues that actually matter in most cases.
Continuous Application Profiling: An Overview More often than not, developers need to investigate performance bottlenecks in their production applications and attempt to identify the root cause of the issue. To do this, they need actionable insights, which they typically start collecting via logs and code instrumentations. Unfortunately, this approach can be time-consuming and doesn’t provide […]