←back to thread

105 points robbyrussell | 5 comments | | HN request time: 1.162s | source
Show context
phplovesong ◴[] No.45075453[source]
Laravel is using a outdated MVC model, its slow as hell and finally its purpose is basically to put lipstick on what is php.
replies(1): >>45077211 #
1. hu3 ◴[] No.45077211[source]
Laravel is slow. But it's mostly because of all the monkey patching it allows.

A quick hack to solve current issue often becomes a maintenance nightmare for large systems.

replies(1): >>45080360 #
2. N2yhWNXQN3k9 ◴[] No.45080360[source]
Laravel is slow because it uses reflection like it is free, and it doesn't even need reflection really. Its just a marketing gimmick, IMO.
replies(1): >>45080877 #
3. stefanfisk ◴[] No.45080877[source]
Could you expand on how it uses reflection in a manner that incurs a performance hit?
replies(1): >>45083852 #
4. ebcode ◴[] No.45083852{3}[source]
Reflection by itself is a performance hit.
replies(1): >>45090566 #
5. stefanfisk ◴[] No.45090566{4}[source]
Sure, that doesn't imply that every complex piece of code that uses reflection is slower than the competition. When profiling Laravel app's my experience is not that reflection is taking up any significant part of the request duration.