Benchmarking - A matter of perspective
A critical look at benchmarking in .NET, emphasizing the importance of context and real-world performance over isolated micro-optimizations.
A critical look at benchmarking in .NET, emphasizing the importance of context and real-world performance over isolated micro-optimizations.
Compares performance of C# collection types like List<T>, ReadOnlyCollection<T>, ImmutableArray<T>, and ImmutableList<T> in iteration benchmarks.
Benchmarking Go string comparison methods: empty check vs strings.EqualFold vs length check.
Explains Python dictionary comprehension, compares its performance with for loops and dict() function, and provides benchmark results.
Benchmarking performance of error creation and integer conversion functions in Go.
Compares performance of dict() vs {} for creating dictionaries in Python, showing {} is significantly faster due to bytecode differences.
Debunks the myth that StringBuilder is always faster in C#, showing scenarios where simple concatenation or List<string> is better.
A guide to benchmarking Python code, comparing tools like timeit and Docker for objective performance measurement.
Performance analysis comparing different methods for equality checks on C# enums, revealing the significant speed advantage of the == operator.
An analysis of the world's fastest FizzBuzz implementation, written in Assembler and optimized for AVX2, achieving 56 GB/s output.
Real-world performance benchmarks comparing PHP 8.1 to PHP 8.0, showing a 5-8% speed improvement.
The author argues that measurement and data analysis are undervalued but high-ROI activities, using the impact of Jepsen tests as a key example.
A technical exploration of multiple ways to access a single element from a 1x1 array in Julia, including performance benchmarks.
A benchmark comparison of switch statements versus map lookups in Go, revealing performance differences and implementation details.
Explains a surprising heap allocation in a Go benchmark when sorting strings, diving into interface internals and compiler behavior.
A Python tutorial comparing methods to remove duplicates from a list, focusing on performance and code clarity.
A developer compares JavaScript's performance.now and Date.now for measuring raw computing speed, sharing test methods and findings.
Compares Python's type() and isinstance() functions, explaining their differences, performance, and when to use each.
Explains Python membership testing using 'in' operator vs. for loops, with benchmarks showing performance differences.
A technical comparison of Python's list.sort() and sorted() functions, analyzing their performance with benchmarks and correcting common testing mistakes.