DEV Community

Discussion on: Optimizing your PHP app speed

Collapse
 
stilldreaming1 profile image
still-dreaming-1

I timed running the entire test suite for the website I work on (not speed tests, functionality tests).

Then I ran some PHP-CS-Fixer rules to add backlashes before native functions and constants throughout our entire codebase. Then I timed the test suite again, and it was basically the same speed (technically it ran slightly slower with the backslashes).

Collapse
 
elabftw profile image
eLabFTW

Yes, I'm pretty sure opcache is making those changes pointless ;)