Subscribe to my newsletter for PHP performance content: https://tideways.com/newsletter?utm_s...
Try our PHP Profiler: https://tideways.com/profiler/feature...
In this video I talk about micro-optimizing PHP, how they are not worth their time in 95% of all cases, but how there is a next level where they make an impact.
Along the way I talk about:
Hyperfine for Benchmarking: https://tideways.com/profiler/blog/ho...
Compiler Optimized Functions: https://tideways.com/profiler/blog/co...
sprintf Optimization in PHP 8.4 https://tideways.com/profiler/blog/ne...
Add OPcode specialization for === [] https://github.com/php/php-src/pull/1...
00:00 Introduction
00:48 micro-benchmark, or not?
02:49 Empty Array Micro Benchmark
07:20 Optimizing in the PHP Engine
15:32 My thoughts
On this page of the site you can watch the video online Stop Micro-Optimizing Your PHP Code (Unless You Rely On This) with a duration of hours minute second in good quality, which was uploaded by the user Tideways 05 June 2025, share the link with friends and acquaintances, this video has already been watched 855 times on youtube and it was liked by 43 viewers. Enjoy your viewing!