Tagged articles
Code Profiling
12 articles · Page 1 of 1
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

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.
Best PracticesCode Profilingmemory management
0 likes · 13 min read

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.
Best PracticesCode Profilingmemory management
0 likes · 13 min read

This article walks through diagnosing slow API responses, using Pfinder for tracing, refactoring Java collection handling with Sets, and applying JSF asynchronous calls to dramatically cut latency, offering a step‑by‑step guide to backend performance optimization.
API performanceCode ProfilingJSF async
0 likes · 6 min read

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

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

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

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

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.
Code ProfilingJavabackend development
0 likes · 9 min read

This article explains how to dramatically speed up Python programs by improving algorithms, choosing the right data structures, optimizing loops, leveraging lazy evaluation, using efficient string operations, list comprehensions, profiling tools, and advanced accelerators such as PyPy and Cython.
Code ProfilingCythonPyPy
0 likes · 23 min read

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 ProfilingParallel ProgrammingPython
0 likes · 16 min read

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.
C extensionsCode ProfilingPython
0 likes · 16 min read
