class - php namespace benchmark -


Does using the namespaces make the site faster or slower? That's what I want to know.

If it helps improve the performance of the site, then I would like to start using it right now. But if it gets reduced, I do not want to use it at all - even a little bit of performance in my project makes a big difference.

Do anyone have a benchmark on this? What are your thoughts

PHP namespace is largely irrelevant to your site's performance. They help you write contemporary and structured code well - that is why you should not be afraid to use them, at least if your project reaches a certain complexity.

If you are concerned about actually performance, you should first profile and check what lies in your real obstacles.

Comments