Tag: performance
-
Polars Lazy vs Eager: 50M Row Memory & Speed Benchmark
Lazy evaluation cut memory by 73% on 50M rows. Real benchmark with sensor data shows when lazy mode wins โ and when it doesn't.
-
list.append vs Comprehension vs deque: 100k Benchmark
Benchmark reveals why list comprehensions beat append() by 15% in Pythonโbut there's an even faster method for large datasets you should know.
-
Python 3.12 vs 3.13 JIT: 16% Faster or 2x Slower?
Python 3.13 JIT promises 16% speed gains, but real-world benchmarks reveal surprising slowdowns. Compare actual performance impacts here.
-
Polars vs Pandas: When Pandas Wins on Real Data
Polars vs Pandas comparison reveals surprising performance gaps on real datasets. Learn when each library wins and why speed isn't everything.
-
Git Merge vs Rebase: 10K Commit Performance Test Results
Git merge vs rebase performance tested on 10K commits. Surprising results on speed, conflict resolution, and when each strategy wins.
-
.pyi vs beartype vs typeguard: 43% Runtime Overhead
Compare .pyi stub files, beartype, and typeguard for Python type checking. Discover which approach adds 43% runtime overhead and when to use each.
-
Python list vs tuple vs set: Read/Write Speed Benchmark
Compare Python list, tuple, and set performance with benchmarks revealing read/write speeds and when each data structure shines in real code.
-
Pandas Time Series Resample: OHLC 14x Faster Than Custom
Pandas resample OHLC beats custom groupby 14x faster for time series aggregation. Discover why built-in wins and when to use which method.