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

Опубликовано: 05 Июнь 2025
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Stop Micro-Optimizing Your PHP Code (Unless You Rely On This) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Tideways 05 Июнь 2025, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 855 раз и оно понравилось 43 зрителям. Приятного просмотра!