Tagged articles
12 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Jul 8, 2025 · Backend Development

Mastering Spring and Apache StopWatch: Precise Code Timing in Java

This article explains how to use Spring's org.springframework.util.StopWatch and Apache Commons' org.apache.commons.lang3.time.StopWatch to accurately measure execution time of sequential tasks in Java, covering setup, key methods, practical examples, and important usage considerations.

Apache CommonsCode ProfilingPerformance Timing
0 likes · 9 min read
Mastering Spring and Apache StopWatch: Precise Code Timing in Java
Python Programming Learning Circle
Python Programming Learning Circle
Feb 26, 2025 · Fundamentals

Practical Python Performance Optimization Techniques

This article presents several practical Python performance optimization methods—including __slots__ memory reduction, list comprehensions, lru_cache caching, generators for memory efficiency, and local variable usage—each explained with code examples, benchmark results, and guidance on when to apply them.

Code ProfilingMemory ManagementPerformance Optimization
0 likes · 13 min read
Practical Python Performance Optimization Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Feb 24, 2025 · Fundamentals

Practical Python Performance Optimization Techniques

This article presents several practical Python performance‑optimization methods—including __slots__ for memory reduction, list comprehensions for faster loops, the lru_cache decorator for result caching, generators for low‑memory data processing, and local‑variable usage—to help developers write faster, more efficient code.

Code ProfilingMemory ManagementPerformance Optimization
0 likes · 13 min read
Practical Python Performance Optimization Techniques
Sohu Tech Products
Sohu Tech Products
May 15, 2024 · Backend Development

Essential Skills for Java Programmers: Locating Performance Bottlenecks and Optimizing Interface Response Time

Java developers must master performance optimization by using tools like Skywalking and Arthas, which leverage Java agents, class-loading and bytecode manipulation (via ByteBuddy/ByteKit) to locate bottlenecks, filter data with OGNL, and fine-tune interface response times in real-time.

ArthasCode ProfilingDebugging Tools
0 likes · 14 min read
Essential Skills for Java Programmers: Locating Performance Bottlenecks and Optimizing Interface Response Time
Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2024 · Fundamentals

Simple Techniques to Accelerate Python for‑loops (1.3× to 970× Speedup)

This article presents a collection of practical Python techniques—such as list comprehensions, pre‑computing lengths, using sets, skipping irrelevant iterations, inlining functions, generators, map, memoization, vectorization, filterfalse, and join—that together can boost for‑loop performance anywhere from 1.3‑fold up to nearly a thousand times, with concrete code examples and benchmark results.

Code ProfilingLoop OptimizationPython
0 likes · 16 min read
Simple Techniques to Accelerate Python for‑loops (1.3× to 970× Speedup)
Java Backend Technology
Java Backend Technology
Jul 15, 2022 · Backend Development

Master Java Performance Timing with Spring and Apache StopWatch

This article explains how to use Spring's org.springframework.util.StopWatch and Apache Commons Lang3 StopWatch to accurately measure and analyze Java code execution time, covering setup, basic usage, advanced features, thread‑safety considerations, and practical code examples for both libraries.

Apache CommonsCode ProfilingJava
0 likes · 8 min read
Master Java Performance Timing with Spring and Apache StopWatch
Selected Java Interview Questions
Selected Java Interview Questions
Jun 23, 2022 · Backend Development

Using Spring and Apache Commons StopWatch to Monitor Java Code Execution Time

This article explains how to leverage Spring's org.springframework.util.StopWatch and Apache Commons Lang3 StopWatch for precise Java performance measurement, covering setup, usage examples, source code insights, important considerations, and practical code snippets for both libraries.

Apache CommonsCode ProfilingPerformance Monitoring
0 likes · 9 min read
Using Spring and Apache Commons StopWatch to Monitor Java Code Execution Time
Selected Java Interview Questions
Selected Java Interview Questions
Jan 12, 2021 · Backend Development

Various Methods for Measuring Code Execution Time in Java

This article introduces four approaches—simple time‑difference calculation, StopWatch‑like utilities, functional interfaces, and AutoCloseable—to accurately measure arbitrary code segment durations in Java, providing code examples and discussing their advantages and trade‑offs.

Backend DevelopmentCode ProfilingJava
0 likes · 9 min read
Various Methods for Measuring Code Execution Time in Java
MaGe Linux Operations
MaGe Linux Operations
Apr 7, 2018 · Fundamentals

Boost Python Performance: 20 Proven Tricks to Cut Execution Time

This article presents a comprehensive collection of Python performance‑boosting techniques—from choosing optimal data structures and using copy versus deepcopy, to leveraging generators, join, efficient string formatting, loop optimizations, C‑based modules, parallel programming, and the PyPy JIT—each illustrated with concrete code examples and benchmark results.

Code ProfilingData StructuresParallel Programming
0 likes · 16 min read
Boost Python Performance: 20 Proven Tricks to Cut Execution Time
Efficient Ops
Efficient Ops
Feb 26, 2018 · Fundamentals

Boost Your Python Speed: 20 Proven Tricks to Slash Execution Time

Learn how to dramatically improve Python performance by choosing optimal data structures, minimizing redundant data, using copy wisely, leveraging dict/set lookups, generators, efficient loops, string joining, proper formatting, fast variable swapping, concise comparisons, C extensions, multiprocessing, PyPy, and profiling tools, all backed by real benchmarks.

BenchmarkingC extensionsCode Profiling
0 likes · 16 min read
Boost Your Python Speed: 20 Proven Tricks to Slash Execution Time