Stop Micro-Optimizing Your PHP Code (Unless You Rely On This)

Publié le: 05 juin 2025
sur la chaîne: Tideways
855
43

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Stop Micro-Optimizing Your PHP Code (Unless You Rely On This) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tideways 05 juin 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 855 fois et il a aimé 43 téléspectateurs. Bon visionnage!