Changes between Initial Version and Version 1 of Ticket #58206, comment 24
- Timestamp:
- 06/21/2023 07:37:35 PM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58206, comment 24
initial v1 5 5 I would advise that we make a decision decoupled from the performance & benchmarking comversation, simply because the difference is so little that due to variance sometimes it will ''seem'' it's faster while other times it will ''seem'' that it's slower. To me, the main discussion point is the tradeoff between using modern PHP best practices vs avoiding refactoring that is not critical. 6 6 7 From a performance perspective, it's fair to say that,just conceptually, I assume that sites on PHP 8+ will be faster when using the new functions while sites on PHP <8 will either see no difference or be slightly slower (due to using the polyfill). But again, I'd say we shouldn't focus on this point as much.7 From a performance perspective, just conceptually, I assume that sites on PHP 8+ will be faster when using the new functions while sites on PHP <8 will either see no difference or be slightly slower (due to using the polyfill). But again, I'd say we shouldn't focus on this point as much. 8 8 9 9 I personally don't have a strong opinion in either direction, though I'd argue that in the long term we should probably use the modern PHP functions natively available. But most importantly, I wanted to chime in so that we can hopefully avoid deep diving into a performance discussion on these tickets, which per the above is pretty much a moot point.