Performance
10 posts
Into the C: Making PyGeoHash Decode Twice as Fast
Last time I optimized the Python wrapper around PyGeoHash. This time I went into the C extension and found it was building objects it immediately threw away.
Optimizing PyGeoHash Without Touching the C
A few days after benchmarking PyGeoHash against the field, I closed most of the gap to the C++ library without writing any C. Here is how.
Benchmarking PyGeoHash: Where It Lands Against the Field
I benchmarked PyGeoHash against six Python geohash libraries with pytest-benchmark. It trails the Rust and C++ options and beats pure Python by a mile.
The Passive Resistance Problem: When Good Employees Go Quiet
How to recognize and address the subtle but devastating pattern when long-term employees comply with directives but stop delivering meaningful results.
PyGeoHash v3.0.0: Faster, Freer, and More Pythonic
Deep dive into PyGeoHash v3.0.0: a major release with a pure CPython rewrite, MIT relicensing, and dramatic performance gains. Faster & freer geohashing!
Where Did All the RAM Go? Memory Profiling with Memray
High CPU isn''t the only performance issue. Learn how Memray helps track memory leaks and excessive allocation in your Python library to optimize usage.
Finding the Slowdown: Profiling Python Code with Pyinstrument
Your benchmark says a function is slow, but why? Profilers like Pyinstrument help you pinpoint exactly where your Python code is spending its time.
How Fast Is It? Benchmarking Your Code with Pytest-Benchmark
Performance matters! Easily measure Python library speed with pytest-benchmark. Track performance, find regressions, and optimize effectively with benchmarks.
git-pandas Caching: Faster Analysis
Boost git repository analysis speed! Learn how git-pandas now uses caching to dramatically improve performance for repeated queries on large codebases.
Parallelizing cumulative blame in git-pandas with joblib
Boost git-pandas cumulative blame analysis performance with joblib. Parallel processing via multithreading speeds up this costly operation.