Tag

Performance Profiling

1 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Mar 14, 2025 · Backend Development

Analysis of Java Thread States, Flame Graphs, and Performance Optimizations

The article examines Java thread states—WAITING and TIMED_WAITING—through monitoring screenshots, explains their definitions, trigger conditions, and recovery mechanisms, analyzes real‑world code involving concurrent tasks, and presents flame‑graph based performance optimizations for backend services.

BackendConcurrencyFlame Graph
0 likes · 10 min read
Analysis of Java Thread States, Flame Graphs, and Performance Optimizations
Deepin Linux
Deepin Linux
Dec 27, 2024 · Fundamentals

Comprehensive Guide to Using Valgrind for Memory Debugging and Performance Analysis

This article provides an in‑depth overview of Valgrind, explaining its architecture, the capabilities of its various tools such as Memcheck, Cachegrind, Callgrind, Helgrind and Massif, and offers step‑by‑step installation, configuration, and practical code examples for detecting memory errors, leaks, and performance bottlenecks in C/C++ programs.

C++Leak DetectionMemory Debugging
0 likes · 28 min read
Comprehensive Guide to Using Valgrind for Memory Debugging and Performance Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Nov 5, 2024 · Backend Development

Understanding and Optimizing Go Performance with pprof and trace Tools

The article teaches Go developers how to generate and analyze CPU, heap, allocation, and goroutine profiles with pprof and full‑runtime traces, interpret SVG flame‑graphs, top lists, and source views, and apply concrete optimizations—such as buffering channels and using sync.Pool—to dramatically speed up a Mandelbrot generator.

GoPerformance ProfilingTrace
0 likes · 58 min read
Understanding and Optimizing Go Performance with pprof and trace Tools
DeWu Technology
DeWu Technology
Sep 30, 2024 · Backend Development

Automated Performance Profiling for Go Services with Conan

Conan is an automated profiling solution for Go microservices that embeds an SDK to continuously or adaptively sample CPU, memory and goroutine metrics, detects anomalies via user‑defined rules, uploads data to a Pyroscope server, and reports results through Feishu or Pyroscope, delivering sub‑5 % overhead and faster root‑cause analysis.

AutomationGoPerformance Profiling
0 likes · 16 min read
Automated Performance Profiling for Go Services with Conan
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries

This article introduces core Python concepts—including dictionaries and sets as key‑value and unique collections, file and directory manipulation with the os module, regular expression handling, logging setup, unit testing with unittest, performance profiling via cProfile, and using popular third‑party libraries such as requests and BeautifulSoup.

Performance Profilingfile operationsregular expressions
0 likes · 7 min read
Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries
Sohu Tech Products
Sohu Tech Products
Aug 21, 2024 · Mobile Development

Analyzing and Optimizing Device Overheating Issues Using Trace Data

This article explains how to evaluate device overheating using metrics such as CPU/GPU usage and temperature, collect and visualize Trace data with SmartPerf or DevEco Studio, analyze high‑load threads and frequency scaling, and apply targeted code changes—disabling sensors, releasing Lottie resources, and simplifying components—to reduce heat and restore frame‑rate stability.

CPU optimizationDevEco StudioHarmonyOS
0 likes · 14 min read
Analyzing and Optimizing Device Overheating Issues Using Trace Data
Deepin Linux
Deepin Linux
May 22, 2024 · Operations

Using Linux perf for Performance Profiling and Analysis

This article introduces Linux perf, explains how to install it, demonstrates basic commands such as perf‑list, perf‑stat, perf‑top, perf‑record and perf‑report, and shows how to combine perf with flame‑graphs to locate CPU‑bound hotspots and other performance bottlenecks in applications and the kernel.

CPULinuxPerformance Profiling
0 likes · 16 min read
Using Linux perf for Performance Profiling and Analysis
Tencent Cloud Developer
Tencent Cloud Developer
May 22, 2024 · Backend Development

Comprehensive Guide to Go pprof and trace Tools for Performance Analysis

This comprehensive guide teaches Go developers how to generate CPU, memory, and goroutine profiles with pprof, interpret SVG, top, source, and peek visualizations, understand the runtime’s sampling and allocation internals, use the trace tool to analyze events, and apply these techniques to real‑world optimizations such as speeding up a Mandelbrot image generator.

GoPerformance ProfilingTrace
0 likes · 57 min read
Comprehensive Guide to Go pprof and trace Tools for Performance Analysis
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 12, 2024 · Fundamentals

Stack Unwinding on AArch64: Frame‑Pointer and DWARF .eh_frame/.debug_frame Implementations

The article explains how AArch64 stack unwinding works using both frame‑pointer based methods and DWARF .eh_frame/.debug_frame CFI data, detailing the calling convention, compiler effects, CIE/FDE structures, and their integration into Android’s simpleperf profiler for accurate back‑traces.

Aarch64DWARFPerformance Profiling
0 likes · 12 min read
Stack Unwinding on AArch64: Frame‑Pointer and DWARF .eh_frame/.debug_frame Implementations
php中文网 Courses
php中文网 Courses
Nov 10, 2023 · Backend Development

Effective PHP Debugging: Xdebug, PHPDBG, and Blackfire

This article introduces three powerful PHP debugging and profiling tools—Xdebug, PHPDBG, and Blackfire—explaining their features, configuration steps, and providing concrete code examples to help developers efficiently locate and fix issues while improving performance.

BlackfireDebuggingPHP
0 likes · 4 min read
Effective PHP Debugging: Xdebug, PHPDBG, and Blackfire
JD Retail Technology
JD Retail Technology
Sep 11, 2023 · Backend Development

Diagnosing and Resolving a Java Application Memory Leak During Load Testing

During a load test of a Java 1.6 application on a CentOS server, memory usage climbed from 20% to 100% after an hour of 300‑concurrent requests, prompting a detailed investigation that identified off‑heap leaks caused by GZIP compression in a JimDB client and led to fixes such as upgrading the JDK and avoiding unnecessary compression.

BackendGoogle PerftoolsJDK
0 likes · 7 min read
Diagnosing and Resolving a Java Application Memory Leak During Load Testing
Selected Java Interview Questions
Selected Java Interview Questions
Aug 1, 2023 · Backend Development

Using Arthas to Locate Slow Code Blocks in Java Applications

This article explains how to use the open‑source Java diagnostic tool Arthas to attach to a running JVM, view real‑time metrics, and employ the trace command to pinpoint and analyze time‑consuming methods without inserting manual timing code.

ArthasBackendDebugging
0 likes · 8 min read
Using Arthas to Locate Slow Code Blocks in Java Applications
TAL Education Technology
TAL Education Technology
Jun 8, 2023 · Frontend Development

Diagnosing and Fixing Web Page Memory Leaks with Chrome DevTools

This article explains what web page memory leaks are, identifies common sources such as timers, event listeners, closures, and DOM references, and demonstrates step‑by‑step how to locate and resolve them using Chrome DevTools' Performance and Memory panels.

Chrome DevToolsJavaScriptMemory Management
0 likes · 8 min read
Diagnosing and Fixing Web Page Memory Leaks with Chrome DevTools
Python Programming Learning Circle
Python Programming Learning Circle
Feb 15, 2023 · Fundamentals

Methods for Monitoring Python Code Execution Time and Memory Usage

This article introduces four practical techniques for measuring Python code performance, including the built‑in time module, Jupyter’s %%time magic, line_profiler for per‑line timing, and memory_profiler for detailed memory consumption, complete with example code and interpretation of results.

JupyterPerformance Profilingline_profiler
0 likes · 7 min read
Methods for Monitoring Python Code Execution Time and Memory Usage
Python Programming Learning Circle
Python Programming Learning Circle
Feb 8, 2023 · Fundamentals

Measuring Execution Time and Memory Usage in Python

This article introduces four practical methods for monitoring Python code performance—using the built‑in time module, the %%time IPython magic, line_profiler for per‑line timing, and memory_profiler for detailed memory usage—complete with code examples and interpretation of results.

Performance ProfilingPythonTiming
0 likes · 7 min read
Measuring Execution Time and Memory Usage in Python
DeWu Technology
DeWu Technology
Jan 4, 2023 · Backend Development

Diagnosing and Resolving Go Memory Leak with pprof and Prometheus

The article explains how a sudden Go service memory‑usage alert was traced with go tool pprof to a massive allocation in the quantile.newStream function, uncovered a Prometheus metric‑label explosion caused by the START_POINT label, and resolved the leak by disabling that label, while also reviewing typical Go memory‑leak patterns.

BackendGoMemory Leak
0 likes · 15 min read
Diagnosing and Resolving Go Memory Leak with pprof and Prometheus
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 2, 2022 · Mobile Development

Perfetto Trace Analysis Guide: Android Performance Profiling Tool

This guide explains how to install and use Perfetto, Android’s next‑generation tracing tool, covering trace capture via command line or Traceur, UI navigation, key trace elements, and practical SQL queries for analyzing slices, counters, scheduling, thread states, and lock contention to optimize performance.

Android TracingMobile DevelopmentPerformance Profiling
0 likes · 9 min read
Perfetto Trace Analysis Guide: Android Performance Profiling Tool
Java Architecture Diary
Java Architecture Diary
Aug 16, 2022 · Operations

How to Use Pyroscope for Continuous Performance Profiling in Microservices

This guide explains how to integrate the open‑source Pyroscope platform with Rainbond to continuously profile microservices, detect CPU bottlenecks and memory leaks, and visualize performance data through its UI and various view modes.

Java agentPerformance ProfilingPyroscope
0 likes · 7 min read
How to Use Pyroscope for Continuous Performance Profiling in Microservices
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 1, 2022 · Operations

Linux Kernel Performance Profiling: A Comprehensive Guide to On-CPU and Off-CPU Analysis

This comprehensive guide explains Linux kernel performance profiling—both on‑CPU and off‑CPU—by stressing the need to target the critical 3 % of code, covering throughput, latency and power metrics, scalability laws, flame‑graph visualizations, perf and eBPF tools, lock‑contention analysis, and further reading recommendations.

Flame GraphLinux KernelPerformance Profiling
0 likes · 27 min read
Linux Kernel Performance Profiling: A Comprehensive Guide to On-CPU and Off-CPU Analysis
DataFunTalk
DataFunTalk
Apr 22, 2022 · Artificial Intelligence

Inference Optimization Techniques and GPU Parallel Acceleration for Tencent Intelligent Dialogue Models

This article presents a comprehensive overview of inference optimization methods—including model pruning, quantization, knowledge distillation, caching, instruction‑set acceleration, and operator fusion—and details a GPU‑centric parallel acceleration methodology with CUDA basics, performance‑analysis tools, theoretical limits, and practical case studies, all illustrated with real‑world examples from Tencent's intelligent dialogue products.

GPU AccelerationPerformance Profilingcaching
0 likes · 18 min read
Inference Optimization Techniques and GPU Parallel Acceleration for Tencent Intelligent Dialogue Models